Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.001136/0.001136, allocations: 190.5 kB / 17.43 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1772/0.1772, allocations: 38.04 MB / 329.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 68.48 kB / 398.1 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.114, allocations: 58.06 MB / 456.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01008/0.1241, allocations: 7.751 MB / 463.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005707/0.1299, allocations: 4.249 MB / 468.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.1306, allocations: 15.94 kB / 468.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.1332, allocations: 0.9751 MB / 469.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.136, allocations: 1.059 MB / 470.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008674/0.1369, allocations: 267.4 kB / 470.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.1394, allocations: 2.549 MB / 473 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006533/0.1401, allocations: 284.7 kB / 473.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.1413, allocations: 465.6 kB / 473.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.1425, allocations: 0.6228 MB / 474.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1426, allocations: 24 kB / 474.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.145, allocations: 1.243 MB / 475.6 MB, free: 5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.1455, allocations: 259.4 kB / 475.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.146, allocations: 238.8 kB / 476.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.148, allocations: 0.8918 MB / 477 MB, free: 3.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.148, allocations: 0 / 477 MB, free: 3.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.148, allocations: 0 / 477 MB, free: 3.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.1481, allocations: 0 / 477 MB, free: 3.617 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001354/0.1494, allocations: 0.8038 MB / 477.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1495, allocations: 12.03 kB / 477.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.1511, allocations: 128.3 kB / 478 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.1517, allocations: 322.4 kB / 478.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.1517, allocations: 37.36 kB / 478.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.1518, allocations: 40.34 kB / 478.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.1528, allocations: 0.5869 MB / 478.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.1528, allocations: 4 kB / 478.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.1529, allocations: 19.98 kB / 479 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-05/0.1529, allocations: 32.64 kB / 479 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.1536, allocations: 386.1 kB / 479.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.1563, allocations: 2.607 MB / 482 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.157, allocations: 430.2 kB / 482.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.1573, allocations: 205.8 kB / 482.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1573, allocations: 7.984 kB / 482.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.1574, allocations: 50.47 kB / 482.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.1574, allocations: 0 / 482.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001769/0.1592, allocations: 0.7604 MB / 483.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.1592, allocations: 106.8 kB / 483.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.1596, allocations: 324.5 kB / 483.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.1597, allocations: 29.7 kB / 483.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.1599, allocations: 247.8 kB / 484.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.16, allocations: 118.3 kB / 484.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1602, allocations: 78.08 kB / 484.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1603, allocations: 350.9 kB / 484.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.1605, allocations: 128.8 kB / 484.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.1608, allocations: 287.3 kB / 485.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.1614, allocations: 456.2 kB / 485.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1614, allocations: 0 / 485.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008807/0.1623, allocations: 0.5656 MB / 486.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1623, allocations: 4 kB / 486.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.1623, allocations: 8 kB / 486.1 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.1627, allocations: 125.2 kB / 486.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.1629, allocations: 71.91 kB / 486.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.1654, allocations: 2.344 MB / 488.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.1657, allocations: 43.53 kB / 488.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.1657, allocations: 20 kB / 488.7 MB, free: 7.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.166, allocations: 206.7 kB / 488.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.1661, allocations: 35.53 kB / 488.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.1662, allocations: 51.95 kB / 489 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1662, allocations: 4 kB / 489 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.1662, allocations: 4 kB / 489 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1662, allocations: 3.984 kB / 489 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.1676, allocations: 0.9456 MB / 489.9 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1676, allocations: 0 / 489.9 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1678, allocations: 31.98 kB / 489.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.1681, allocations: 112.8 kB / 490.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1681, allocations: 8 kB / 490.1 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.1704, allocations: 2.333 MB / 492.4 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1705, allocations: 7.969 kB / 492.4 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.1712, allocations: 0.6262 MB / 493 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1713, allocations: 112.7 kB / 493.1 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.1713, allocations: 8 kB / 493.2 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1715, allocations: 8.188 kB / 493.2 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.1716, allocations: 27.91 kB / 493.2 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1716, allocations: 15.94 kB / 493.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.1719, allocations: 223 kB / 493.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1719, allocations: 0 / 493.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007412/0.1726, allocations: 155.8 kB / 493.6 MB, free: 2.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.1728, allocations: 111.1 kB / 493.7 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008879/0.1737, allocations: 0.5098 MB / 494.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1737, allocations: 1.312 kB / 494.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.1741, allocations: 346.3 kB / 494.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.1748, allocations: 61.78 kB / 494.6 MB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.1761, allocations: 0.9677 MB / 495.6 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.1766, allocations: 0.8863 MB / 496.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.1768, allocations: 66.91 kB / 496.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.1769, allocations: 23.44 kB / 496.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1769, allocations: 0 / 496.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of Templates: time 0.008287/0.1852, allocations: 3.53 MB / 0.4883 GB, free: 11.49 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches