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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.5 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2698/0.2698, allocations: 38 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 56.11 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4119, allocations: 55.24 MB / 477.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008625/0.4206, allocations: 7.354 MB / 484.4 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005518/0.4262, allocations: 2.393 MB / 486.8 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.4274, allocations: 48.34 kB / 486.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.4294, allocations: 0.6576 MB / 487.5 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.4307, allocations: 353 kB / 487.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.4323, allocations: 358.6 kB / 488.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.4348, allocations: 1.499 MB / 489.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.4361, allocations: 0.4893 MB / 490.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.4372, allocations: 377.5 kB / 490.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.4388, allocations: 0.563 MB / 491.2 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.4391, allocations: 41.12 kB / 491.2 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.4402, allocations: 251.2 kB / 491.4 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007744/0.441, allocations: 403.9 kB / 491.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.4417, allocations: 405.3 kB / 492.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.4434, allocations: 0.9865 MB / 493.2 MB, free: 464 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4434, allocations: 5.281 kB / 493.2 MB, free: 460 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4434, allocations: 0 / 493.2 MB, free: 460 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.4435, allocations: 0 / 493.2 MB, free: 460 kB / 314.7 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.002502/0.446, allocations: 1.071 MB / 494.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.446, allocations: 13.56 kB / 494.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.4469, allocations: 139.4 kB / 494.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.448, allocations: 0.5101 MB / 495 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.871e-05/0.4481, allocations: 62.05 kB / 495 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.4483, allocations: 77.84 kB / 495.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.4504, allocations: 1.131 MB / 496.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.4505, allocations: 11.95 kB / 496.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.4506, allocations: 37.09 kB / 496.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.4507, allocations: 52.03 kB / 496.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.4524, allocations: 0.863 MB / 497.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006687/0.4591, allocations: 5.055 MB / 0.4905 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.4599, allocations: 420.6 kB / 0.4909 GB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.4603, allocations: 212.4 kB / 0.4911 GB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.4603, allocations: 5.688 kB / 0.4911 GB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.4604, allocations: 44.89 kB / 0.4911 GB, free: 9.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 4.609e-06/0.4604, allocations: 0 / 0.4911 GB, free: 9.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.002424/0.4628, allocations: 1.074 MB / 0.4922 GB, free: 8.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.4629, allocations: 82.2 kB / 0.4922 GB, free: 8.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.4635, allocations: 0.4932 MB / 0.4927 GB, free: 8.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4636, allocations: 30.86 kB / 0.4928 GB, free: 8.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.4639, allocations: 464.1 kB / 0.4932 GB, free: 8.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4641, allocations: 155.5 kB / 0.4933 GB, free: 7.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/0.4644, allocations: 151.1 kB / 0.4935 GB, free: 7.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4646, allocations: 366.1 kB / 0.4938 GB, free: 7.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.465, allocations: 237.2 kB / 0.4941 GB, free: 7.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.4658, allocations: 0.6152 MB / 0.4947 GB, free: 6.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.4671, allocations: 0.9404 MB / 0.4956 GB, free: 5.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4671, allocations: 3.938 kB / 0.4956 GB, free: 5.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001603/0.4687, allocations: 0.8914 MB / 0.4965 GB, free: 5.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.4688, allocations: 10.34 kB / 0.4965 GB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.4688, allocations: 17.27 kB / 0.4965 GB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/0.4689, allocations: 19.47 kB / 0.4965 GB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/0.4697, allocations: 226.7 kB / 0.4967 GB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-05/0.4697, allocations: 25.8 kB / 0.4967 GB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.4704, allocations: 51.38 kB / 0.4968 GB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.4705, allocations: 42.36 kB / 0.4968 GB, free: 5.414 MB / 330.7 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.0006486/0.4711, allocations: 305.2 kB / 0.4971 GB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.4713, allocations: 52.09 kB / 0.4972 GB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.4725, allocations: 0.5645 MB / 0.4977 GB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4726, allocations: 6.719 kB / 0.4977 GB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4726, allocations: 0 / 0.4977 GB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4726, allocations: 5.141 kB / 0.4977 GB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.4754, allocations: 1.329 MB / 0.499 GB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.4755, allocations: 2.312 kB / 0.499 GB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.4759, allocations: 111.6 kB / 0.4991 GB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/0.476, allocations: 20.11 kB / 0.4992 GB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.476, allocations: 21.14 kB / 0.4992 GB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.476, allocations: 4.219 kB / 0.4992 GB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.4761, allocations: 6.688 kB / 0.4992 GB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.4776, allocations: 1.499 MB / 0.5007 GB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.4778, allocations: 132.4 kB / 0.5008 GB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.4779, allocations: 8 kB / 0.5008 GB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.4782, allocations: 27.97 kB / 0.5008 GB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.4782, allocations: 35.84 kB / 0.5009 GB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.4783, allocations: 19.98 kB / 0.5009 GB, free: 2.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003593/0.4786, allocations: 326.9 kB / 0.5012 GB, free: 1.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4786, allocations: 0 / 0.5012 GB, free: 1.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009434/0.4796, allocations: 160 kB / 0.5013 GB, free: 1.59 MB / 330.7 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.0001462/0.4797, allocations: 119.1 kB / 0.5015 GB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.4807, allocations: 0.5989 MB / 0.502 GB, free: 0.8633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.4807, allocations: 0 / 0.502 GB, free: 0.8633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.481, allocations: 243.6 kB / 0.5023 GB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.4817, allocations: 111.2 kB / 0.5024 GB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.4844, allocations: 1.977 MB / 0.5043 GB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.4851, allocations: 1.019 MB / 0.5053 GB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005826/0.4857, allocations: 217 kB / 0.5055 GB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.4858, allocations: 51.42 kB / 0.5056 GB, free: 13.16 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4858, allocations: 7.938 kB / 0.5056 GB, free: 13.15 MB / 346.7 MB Notification: Performance of Templates: time 0.01067/0.4965, allocations: 5.531 MB / 0.511 GB, free: 7.641 MB / 346.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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