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.0008305/0.0008306, allocations: 176.8 kB / 17.4 MB, free: 4.418 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.355/1.355, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0007157/0.0007159, allocations: 85.42 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1718/0.1718, allocations: 38.08 MB / 358.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003157, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2708, allocations: 56.31 MB / 481.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.4185, allocations: 99.44 MB / 0.5674 GB, free: 2.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.4188, allocations: 87.81 kB / 0.5675 GB, free: 2.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05357/0.4724, allocations: 19.28 MB / 0.5863 GB, free: 15.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4725, allocations: 0 / 0.5863 GB, free: 15.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.277e-05/0.4725, allocations: 20 kB / 0.5863 GB, free: 15.22 MB / 426.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.0024/0.475, allocations: 0.944 MB / 0.5872 GB, free: 14.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.475, allocations: 16.03 kB / 0.5872 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.4758, allocations: 135.8 kB / 0.5874 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.4774, allocations: 0.6726 MB / 0.588 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.4774, allocations: 55.12 kB / 0.5881 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.4776, allocations: 83.98 kB / 0.5882 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.4794, allocations: 1.103 MB / 0.5892 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.4794, allocations: 7.844 kB / 0.5892 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.4795, allocations: 32 kB / 0.5893 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-05/0.4796, allocations: 45.98 kB / 0.5893 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.4811, allocations: 0.8077 MB / 0.5901 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005968/0.487, allocations: 5.008 MB / 0.595 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.4878, allocations: 401.9 kB / 0.5954 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.4881, allocations: 218.4 kB / 0.5956 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.4882, allocations: 8.312 kB / 0.5956 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4882, allocations: 42.89 kB / 0.5956 GB, free: 5.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.4882, allocations: 0 / 0.5956 GB, free: 5.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.002122/0.4904, allocations: 1.096 MB / 0.5967 GB, free: 4.098 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.4904, allocations: 81.11 kB / 0.5968 GB, free: 4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.4911, allocations: 497.8 kB / 0.5973 GB, free: 3.504 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.4911, allocations: 33.7 kB / 0.5973 GB, free: 3.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.4914, allocations: 449.9 kB / 0.5977 GB, free: 3.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.4916, allocations: 173.6 kB / 0.5979 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.4916, allocations: 16 kB / 0.5979 GB, free: 2.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4918, allocations: 366.8 kB / 0.5982 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.4922, allocations: 241.8 kB / 0.5985 GB, free: 2.227 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.4929, allocations: 0.6245 MB / 0.5991 GB, free: 1.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.4941, allocations: 0.9361 MB / 0.6 GB, free: 300 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.4941, allocations: 4 kB / 0.6 GB, free: 296 kB / 426.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001497/0.4956, allocations: 0.9068 MB / 0.6009 GB, free: 15.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4957, allocations: 22.38 kB / 0.6009 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.4957, allocations: 15.98 kB / 0.6009 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.4957, allocations: 20 kB / 0.6009 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.4965, allocations: 199.7 kB / 0.6011 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.584e-05/0.4965, allocations: 32.36 kB / 0.6012 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.497, allocations: 47.97 kB / 0.6012 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.4971, allocations: 43.98 kB / 0.6013 GB, free: 15 MB / 442.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 (97): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005086/0.4976, allocations: 305.3 kB / 0.6015 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4977, allocations: 55.28 kB / 0.6016 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.4988, allocations: 0.5617 MB / 0.6021 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/0.4988, allocations: 12 kB / 0.6022 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4989, allocations: 4 kB / 0.6022 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.4989, allocations: 7.922 kB / 0.6022 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.5013, allocations: 1.339 MB / 0.6035 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5013, allocations: 4 kB / 0.6035 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.5018, allocations: 107.8 kB / 0.6036 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.5018, allocations: 4 kB / 0.6036 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.5018, allocations: 15.92 kB / 0.6036 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/0.5018, allocations: 4 kB / 0.6036 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5018, allocations: 4 kB / 0.6036 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.5028, allocations: 0.6734 MB / 0.6043 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.503, allocations: 132.4 kB / 0.6044 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.503, allocations: 8 kB / 0.6044 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.5033, allocations: 23.97 kB / 0.6044 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.5034, allocations: 39.83 kB / 0.6045 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.5035, allocations: 16 kB / 0.6045 GB, free: 11.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004107/0.5039, allocations: 330.8 kB / 0.6048 GB, free: 11.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5039, allocations: 0 / 0.6048 GB, free: 11.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008765/0.5048, allocations: 188 kB / 0.605 GB, free: 11.04 MB / 442.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 (48): * Single equations (assignments): 45 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/0.505, allocations: 131.1 kB / 0.6051 GB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.5061, allocations: 0.6186 MB / 0.6057 GB, free: 10.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.5061, allocations: 4 kB / 0.6057 GB, free: 10.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.5065, allocations: 256.9 kB / 0.606 GB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/0.5074, allocations: 106.7 kB / 0.6061 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.5102, allocations: 1.676 MB / 0.6077 GB, free: 8.188 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/0.5109, allocations: 1.011 MB / 0.6087 GB, free: 7.148 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006475/0.5116, allocations: 216.9 kB / 0.6089 GB, free: 6.934 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.5117, allocations: 55.42 kB / 0.6089 GB, free: 6.879 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5117, allocations: 4 kB / 0.6089 GB, free: 6.875 MB / 442.7 MB Notification: Performance of Templates: time 0.01174/0.5235, allocations: 5.038 MB / 0.6139 GB, free: 1.848 MB / 442.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/jenkins1/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