Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009933/0.0009934, allocations: 178.4 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.0007759, allocations: 91.41 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2688/0.2688, allocations: 38.18 MB / 383.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.000276, allocations: 8 kB / 453.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2639, allocations: 59.14 MB / 0.5007 GB, free: 39.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005726/0.2697, allocations: 6.915 MB / 0.5074 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.275, allocations: 9.021 MB / 0.5162 GB, free: 28.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005233/0.2755, allocations: 15.72 kB / 0.5163 GB, free: 28.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.2759, allocations: 130.9 kB / 0.5164 GB, free: 28.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.2785, allocations: 1.147 MB / 0.5175 GB, free: 27.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.2794, allocations: 283.8 kB / 0.5178 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.2817, allocations: 2.577 MB / 0.5203 GB, free: 26.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.2839, allocations: 2.151 MB / 0.5224 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009914/0.2849, allocations: 492.2 kB / 0.5229 GB, free: 24.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009652/0.2859, allocations: 0.6638 MB / 0.5235 GB, free: 24.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2861, allocations: 32.22 kB / 0.5235 GB, free: 24.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.2881, allocations: 1.526 MB / 0.525 GB, free: 23.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004032/0.2886, allocations: 440.5 kB / 0.5255 GB, free: 23.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.289, allocations: 411.5 kB / 0.5258 GB, free: 23.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.2908, allocations: 1.497 MB / 0.5273 GB, free: 23.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2908, allocations: 0 / 0.5273 GB, free: 23.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2908, allocations: 0 / 0.5273 GB, free: 23.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.2908, allocations: 3.938 kB / 0.5273 GB, free: 23.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001278/0.2921, allocations: 0.9861 MB / 0.5283 GB, free: 22.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2922, allocations: 11.84 kB / 0.5283 GB, free: 22.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.2948, allocations: 390.5 kB / 0.5287 GB, free: 22.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.2954, allocations: 481.7 kB / 0.5291 GB, free: 22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.2955, allocations: 59.45 kB / 0.5292 GB, free: 21.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.2956, allocations: 78.7 kB / 0.5292 GB, free: 21.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.297, allocations: 1.163 MB / 0.5304 GB, free: 21.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.297, allocations: 7.281 kB / 0.5304 GB, free: 21.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.2971, allocations: 27.36 kB / 0.5304 GB, free: 21.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.11e-05/0.2972, allocations: 80.95 kB / 0.5305 GB, free: 21.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.2986, allocations: 1.229 MB / 0.5317 GB, free: 21.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.3027, allocations: 3.53 MB / 0.5351 GB, free: 19.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3039, allocations: 1.058 MB / 0.5362 GB, free: 18.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.3046, allocations: 0.6547 MB / 0.5368 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.432e-05/0.3047, allocations: 13.42 kB / 0.5368 GB, free: 18.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3047, allocations: 52.31 kB / 0.5369 GB, free: 18.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.274e-06/0.3047, allocations: 3.938 kB / 0.5369 GB, free: 18.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.005279/0.31, allocations: 3.085 MB / 0.5399 GB, free: 17.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.31, allocations: 91.95 kB / 0.54 GB, free: 17.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.3103, allocations: 362.2 kB / 0.5403 GB, free: 17.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.3104, allocations: 40.86 kB / 0.5404 GB, free: 17.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3105, allocations: 314.7 kB / 0.5407 GB, free: 16.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3107, allocations: 315.1 kB / 0.541 GB, free: 16.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.3107, allocations: 15.06 kB / 0.541 GB, free: 16.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.3108, allocations: 367.3 kB / 0.5413 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.3114, allocations: 468.9 kB / 0.5418 GB, free: 16.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.312, allocations: 0.5726 MB / 0.5423 GB, free: 15.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.3132, allocations: 1.103 MB / 0.5434 GB, free: 15.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3132, allocations: 0 / 0.5434 GB, free: 15.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001988/0.3152, allocations: 1.474 MB / 0.5449 GB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3152, allocations: 6.344 kB / 0.5449 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3153, allocations: 4 kB / 0.5449 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/0.3161, allocations: 333.9 kB / 0.5452 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.3168, allocations: 182.2 kB / 0.5454 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/0.3212, allocations: 3.871 MB / 0.5491 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.3217, allocations: 44.42 kB / 0.5492 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.3218, allocations: 38.67 kB / 0.5492 GB, free: 12.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00037/0.3221, allocations: 302.3 kB / 0.5495 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.3223, allocations: 56.41 kB / 0.5496 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.3248, allocations: 1.564 MB / 0.5511 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3248, allocations: 10.97 kB / 0.5511 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3248, allocations: 5.094 kB / 0.5511 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3248, allocations: 5.25 kB / 0.5511 GB, free: 11.36 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.3294, allocations: 3.025 MB / 0.5541 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3294, allocations: 4.641 kB / 0.5541 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.33, allocations: 167.2 kB / 0.5542 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007845/0.3308, allocations: 284.7 kB / 0.5545 GB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.3309, allocations: 33.47 kB / 0.5545 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/0.3351, allocations: 3.606 MB / 0.558 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3351, allocations: 12.88 kB / 0.5581 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.3374, allocations: 1.588 MB / 0.5596 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.3376, allocations: 145.5 kB / 0.5598 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.3377, allocations: 21.61 kB / 0.5598 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.3381, allocations: 39.31 kB / 0.5598 GB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.3383, allocations: 84.78 kB / 0.5599 GB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/0.3384, allocations: 38.17 kB / 0.5599 GB, free: 6.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.3386, allocations: 256.4 kB / 0.5602 GB, free: 6.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3386, allocations: 0 / 0.5602 GB, free: 6.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009747/0.3396, allocations: 305.6 kB / 0.5605 GB, free: 6.445 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.3398, allocations: 133.3 kB / 0.5606 GB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.3417, allocations: 1.386 MB / 0.5619 GB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3417, allocations: 1.375 kB / 0.5619 GB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3428, allocations: 0.8423 MB / 0.5628 GB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.3436, allocations: 112.8 kB / 0.5629 GB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3461, allocations: 2.16 MB / 0.565 GB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.3466, allocations: 1.068 MB / 0.566 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.347, allocations: 180.6 kB / 0.5662 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.3472, allocations: 75.33 kB / 0.5663 GB, free: 2.195 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3472, allocations: 0 / 0.5663 GB, free: 2.195 MB / 378.7 MB Notification: Performance of Templates: time 0.01466/0.3619, allocations: 9.313 MB / 0.5754 GB, free: 8.875 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches