Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006961/0.0006962, allocations: 91.8 kB / 16.65 MB, free: 6.59 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.0007483/0.0007483, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.217/1.217, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1725/0.1725, allocations: 38.09 MB / 330.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 8 kB / 400.7 MB, free: 34.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.08551, allocations: 59.17 MB / 459.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006379/0.09192, allocations: 6.916 MB / 466.8 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.09552, allocations: 2.314 MB / 469.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.09614, allocations: 47.69 kB / 469.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.09647, allocations: 107.2 kB / 469.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.09733, allocations: 354.6 kB / 469.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.09822, allocations: 359.3 kB / 470 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.09962, allocations: 1.489 MB / 471.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.1009, allocations: 0.8422 MB / 472.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.1015, allocations: 342.4 kB / 472.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007537/0.1023, allocations: 0.5335 MB / 473.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.642e-05/0.1024, allocations: 32 kB / 473.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.1028, allocations: 231.5 kB / 473.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.1032, allocations: 387 kB / 473.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.1036, allocations: 407.7 kB / 474.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008295/0.1044, allocations: 0.9654 MB / 475.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1044, allocations: 4 kB / 475.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1044, allocations: 0 / 475.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.1045, allocations: 0 / 475.2 MB, free: 7.719 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001426/0.1059, allocations: 0.9274 MB / 476.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1059, allocations: 8.031 kB / 476.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.1068, allocations: 139.8 kB / 476.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.1075, allocations: 0.5127 MB / 476.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.1076, allocations: 58.38 kB / 476.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1077, allocations: 80.06 kB / 476.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1092, allocations: 1.138 MB / 478 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.1092, allocations: 7.922 kB / 478 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.1093, allocations: 32 kB / 478.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.1093, allocations: 49.98 kB / 478.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.1105, allocations: 0.8623 MB / 479 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.115, allocations: 5.071 MB / 484 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.1156, allocations: 424.8 kB / 484.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.1159, allocations: 209.7 kB / 484.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1159, allocations: 11.98 kB / 484.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.116, allocations: 38.56 kB / 484.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 4.539e-06/0.116, allocations: 7.984 kB / 484.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001579/0.1176, allocations: 1.064 MB / 485.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1176, allocations: 85.06 kB / 485.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.1181, allocations: 0.4899 MB / 486.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1181, allocations: 37.7 kB / 486.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.1184, allocations: 453.8 kB / 486.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.1185, allocations: 153.8 kB / 487 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.1186, allocations: 69.62 kB / 487 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1187, allocations: 370.9 kB / 487.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.119, allocations: 237.8 kB / 487.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.1195, allocations: 0.6171 MB / 488.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.1205, allocations: 0.9418 MB / 489.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.1205, allocations: 4 kB / 489.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001172/0.1217, allocations: 0.896 MB / 490.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1217, allocations: 15.98 kB / 490.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.1218, allocations: 12 kB / 490.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.1218, allocations: 16 kB / 490.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.1224, allocations: 219.6 kB / 490.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.1224, allocations: 27.92 kB / 490.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.1228, allocations: 52.08 kB / 490.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.1229, allocations: 48 kB / 490.5 MB, free: 7.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002858/0.1232, allocations: 309.3 kB / 490.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.1233, allocations: 55.34 kB / 490.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.1241, allocations: 0.5563 MB / 491.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1241, allocations: 4 kB / 491.4 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1241, allocations: 7.984 kB / 491.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1241, allocations: 0 / 491.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.1259, allocations: 1.34 MB / 492.7 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.1259, allocations: 7.984 kB / 492.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.1263, allocations: 103.9 kB / 492.9 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.1263, allocations: 7.938 kB / 492.9 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1263, allocations: 15.94 kB / 492.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1263, allocations: 4 kB / 492.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1263, allocations: 7.938 kB / 492.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.127, allocations: 0.6407 MB / 493.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.1271, allocations: 132.4 kB / 493.7 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.1272, allocations: 15.94 kB / 493.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.1274, allocations: 19.98 kB / 493.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.1275, allocations: 31.95 kB / 493.7 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.1275, allocations: 16 kB / 493.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000289/0.1278, allocations: 330.8 kB / 494.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1278, allocations: 0 / 494.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005851/0.1284, allocations: 164 kB / 494.2 MB, free: 3.574 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.1285, allocations: 115.1 kB / 494.3 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007692/0.1293, allocations: 0.6038 MB / 494.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1293, allocations: 0 / 494.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.1296, allocations: 240.8 kB / 495.2 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.1303, allocations: 101.9 kB / 495.3 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1324, allocations: 1.718 MB / 497 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.1329, allocations: 0.9998 MB / 498 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000507/0.1334, allocations: 229 kB / 498.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1336, allocations: 47.44 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1336, allocations: 4 kB / 498.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of Templates: time 0.009206/0.1428, allocations: 5.249 MB / 0.4917 GB, free: 10.23 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches