Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 98.64 kB / 16.5 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 194.5 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1742/0.1742, allocations: 38.04 MB / 329.3 MB, free: 9.07 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 62.45 kB / 398.1 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 58.07 MB / 456.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008266/0.1242, allocations: 7.626 MB / 463.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.1309, allocations: 4.502 MB / 468.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005672/0.1316, allocations: 15.94 kB / 468.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.1342, allocations: 0.9722 MB / 469.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.137, allocations: 1.145 MB / 470.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.138, allocations: 287.3 kB / 470.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.1405, allocations: 2.58 MB / 473.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.1416, allocations: 0.6567 MB / 473.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009741/0.1426, allocations: 0.5133 MB / 474.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.1435, allocations: 0.7322 MB / 475.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.338e-05/0.1436, allocations: 51.94 kB / 475.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.1462, allocations: 1.609 MB / 476.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.1467, allocations: 470.9 kB / 477.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004674/0.1471, allocations: 425.9 kB / 477.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.1492, allocations: 1.527 MB / 479.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1492, allocations: 0 / 479.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1492, allocations: 0 / 479.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1492, allocations: 0 / 479.2 MB, free: 1.363 MB / 350.1 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.001852/0.1511, allocations: 1.128 MB / 480.4 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1511, allocations: 8.031 kB / 480.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.1544, allocations: 387.4 kB / 480.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.1551, allocations: 474.7 kB / 481.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.1551, allocations: 54.36 kB / 481.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.1553, allocations: 68.36 kB / 481.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.1571, allocations: 1.18 MB / 482.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1571, allocations: 3.906 kB / 482.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.1572, allocations: 31.98 kB / 482.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-05/0.1573, allocations: 73.95 kB / 482.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.1591, allocations: 1.245 MB / 483.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/0.1643, allocations: 3.507 MB / 487.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1659, allocations: 1.073 MB / 488.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008514/0.1667, allocations: 0.6527 MB / 489.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.464e-05/0.1668, allocations: 20.97 kB / 489.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1668, allocations: 47.56 kB / 489.2 MB, free: 7.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.916e-06/0.1669, allocations: 0 / 489.2 MB, free: 7.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006529/0.1734, allocations: 3.087 MB / 492.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1735, allocations: 86.11 kB / 492.3 MB, free: 3.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.1739, allocations: 369.5 kB / 492.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.174, allocations: 37.7 kB / 492.7 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.1742, allocations: 316.2 kB / 493.1 MB, free: 3.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.1744, allocations: 311.4 kB / 493.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.1747, allocations: 162.5 kB / 493.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1749, allocations: 366.8 kB / 493.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.1755, allocations: 469.7 kB / 494.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/0.1763, allocations: 0.5696 MB / 494.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.1778, allocations: 1.113 MB / 496 MB, free: 200 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1778, allocations: 4 kB / 496 MB, free: 196 kB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002498/0.1803, allocations: 1.477 MB / 497.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1804, allocations: 4 kB / 497.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.1804, allocations: 4 kB / 497.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.1814, allocations: 334.4 kB / 497.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.1821, allocations: 191.7 kB / 498 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.1876, allocations: 3.862 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.1883, allocations: 43.95 kB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.1884, allocations: 39.97 kB / 0.4902 GB, free: 10.07 MB / 382.1 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.0006397/0.1891, allocations: 302.4 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.1892, allocations: 55.34 kB / 0.4905 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.192, allocations: 1.563 MB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.192, allocations: 12 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.192, allocations: 4 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.192, allocations: 7.969 kB / 0.4921 GB, free: 8.117 MB / 382.1 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.005009/0.1971, allocations: 3.032 MB / 0.495 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.1971, allocations: 4 kB / 0.4951 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.1978, allocations: 167.7 kB / 0.4952 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008911/0.1987, allocations: 292.9 kB / 0.4955 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.1987, allocations: 23.98 kB / 0.4955 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.2038, allocations: 3.591 MB / 0.499 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.2038, allocations: 4 kB / 0.499 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2797/0.4835, allocations: 1.589 MB / 0.5006 GB, free: 56.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.4838, allocations: 148.1 kB / 0.5007 GB, free: 55.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.4839, allocations: 26.03 kB / 0.5007 GB, free: 55.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.4843, allocations: 41.41 kB / 0.5008 GB, free: 55.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.4845, allocations: 83.45 kB / 0.5009 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.4846, allocations: 36.75 kB / 0.5009 GB, free: 55.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.485, allocations: 257.1 kB / 0.5011 GB, free: 55.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.485, allocations: 1.312 kB / 0.5011 GB, free: 55.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001018/0.486, allocations: 305 kB / 0.5014 GB, free: 55.87 MB / 382.1 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.0001723/0.4862, allocations: 128.1 kB / 0.5016 GB, free: 55.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.4883, allocations: 1.392 MB / 0.5029 GB, free: 55.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4884, allocations: 0 / 0.5029 GB, free: 55.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.4896, allocations: 0.8493 MB / 0.5037 GB, free: 55.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.4903, allocations: 105.8 kB / 0.5038 GB, free: 55.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.4932, allocations: 2.15 MB / 0.5059 GB, free: 54.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.4939, allocations: 1.068 MB / 0.507 GB, free: 53.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004975/0.4944, allocations: 180.8 kB / 0.5072 GB, free: 53.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.4946, allocations: 60.98 kB / 0.5072 GB, free: 53.31 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4946, allocations: 1.875 kB / 0.5072 GB, free: 53.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01801/0.5126, allocations: 9.576 MB / 0.5166 GB, free: 51.42 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches