Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001185, allocations: 110.3 kB / 17.06 MB, free: 6.023 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.001328/0.001328, allocations: 191 kB / 18 MB, free: 5.105 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.533/1.533, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1764/0.1764, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.89 kB / 458.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.471, allocations: 58.04 MB / 0.5041 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006689/0.4777, allocations: 4.419 MB / 0.5084 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.4805, allocations: 1.509 MB / 0.5099 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.4808, allocations: 19.94 kB / 0.5099 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.4818, allocations: 288.6 kB / 0.5102 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007008/0.4825, allocations: 288.5 kB / 0.5105 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.4832, allocations: 253.3 kB / 0.5107 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.484, allocations: 0.6083 MB / 0.5113 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004326/0.4845, allocations: 223.2 kB / 0.5115 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.4849, allocations: 266.5 kB / 0.5118 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.4854, allocations: 373.3 kB / 0.5121 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.4855, allocations: 39.09 kB / 0.5122 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.486, allocations: 228.1 kB / 0.5124 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.4863, allocations: 226.5 kB / 0.5126 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.4866, allocations: 258.8 kB / 0.5128 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.4877, allocations: 0.6682 MB / 0.5135 GB, free: 2.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4877, allocations: 0 / 0.5135 GB, free: 2.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4877, allocations: 1.125 kB / 0.5135 GB, free: 2.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4877, allocations: 1.094 kB / 0.5135 GB, free: 2.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001418/0.4892, allocations: 0.772 MB / 0.5142 GB, free: 1.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4892, allocations: 14.33 kB / 0.5143 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.4898, allocations: 94.41 kB / 0.5143 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.4906, allocations: 422.5 kB / 0.5147 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.4906, allocations: 31.23 kB / 0.5148 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.4908, allocations: 52.75 kB / 0.5148 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.4921, allocations: 0.692 MB / 0.5155 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.4921, allocations: 1.25 kB / 0.5155 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.4922, allocations: 15.73 kB / 0.5155 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/0.4924, allocations: 70.92 kB / 0.5156 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.4939, allocations: 0.6621 MB / 0.5162 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.498, allocations: 2.656 MB / 0.5188 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.4986, allocations: 312 kB / 0.5191 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.499, allocations: 207.7 kB / 0.5193 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.499, allocations: 7.375 kB / 0.5193 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4991, allocations: 37.41 kB / 0.5194 GB, free: 14.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.4991, allocations: 0 / 0.5194 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002501/0.5016, allocations: 1.293 MB / 0.5206 GB, free: 13.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.5017, allocations: 82.84 kB / 0.5207 GB, free: 13.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.5021, allocations: 292.3 kB / 0.521 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.5022, allocations: 32.02 kB / 0.521 GB, free: 13.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.5024, allocations: 252.8 kB / 0.5213 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.5026, allocations: 132.2 kB / 0.5214 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.5028, allocations: 91.23 kB / 0.5215 GB, free: 13.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.503, allocations: 354.2 kB / 0.5218 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.5034, allocations: 187.6 kB / 0.522 GB, free: 12.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.5039, allocations: 330.7 kB / 0.5223 GB, free: 12.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.5047, allocations: 0.5614 MB / 0.5229 GB, free: 12.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5047, allocations: 1.375 kB / 0.5229 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001309/0.506, allocations: 0.6807 MB / 0.5235 GB, free: 11.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.5061, allocations: 8.203 kB / 0.5235 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001041/0.5071, allocations: 493.1 kB / 0.524 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.5077, allocations: 117.2 kB / 0.5241 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.508, allocations: 86.61 kB / 0.5242 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.5114, allocations: 3.256 MB / 0.5274 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.5117, allocations: 28.73 kB / 0.5274 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.5117, allocations: 15.22 kB / 0.5274 GB, free: 8.672 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.5121, allocations: 212.2 kB / 0.5276 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.5122, allocations: 41.05 kB / 0.5277 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.513, allocations: 465.3 kB / 0.5281 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.513, allocations: 11.89 kB / 0.5281 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.513, allocations: 1.281 kB / 0.5281 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5131, allocations: 5.812 kB / 0.5281 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.5148, allocations: 1.014 MB / 0.5291 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5148, allocations: 0.75 kB / 0.5291 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.5152, allocations: 69.97 kB / 0.5292 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.5152, allocations: 6.812 kB / 0.5292 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.5152, allocations: 9.078 kB / 0.5292 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5152, allocations: 2.984 kB / 0.5292 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5152, allocations: 4 kB / 0.5292 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5163, allocations: 0.748 MB / 0.5299 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.5165, allocations: 141.7 kB / 0.5301 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.5166, allocations: 12.83 kB / 0.5301 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.5168, allocations: 17.36 kB / 0.5301 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.5168, allocations: 16.23 kB / 0.5301 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.5169, allocations: 12.3 kB / 0.5301 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.5171, allocations: 202.9 kB / 0.5303 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5171, allocations: 7.938 kB / 0.5303 GB, free: 7.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.5178, allocations: 111.5 kB / 0.5304 GB, free: 7.086 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002806/0.5181, allocations: 137.1 kB / 0.5306 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.5194, allocations: 0.7105 MB / 0.5312 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5194, allocations: 1.125 kB / 0.5312 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.5197, allocations: 213.3 kB / 0.5315 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.5203, allocations: 65.62 kB / 0.5315 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.5225, allocations: 1.107 MB / 0.5326 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.5232, allocations: 0.8715 MB / 0.5334 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.5235, allocations: 103.3 kB / 0.5335 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.5236, allocations: 33.84 kB / 0.5336 GB, free: 5.148 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5237, allocations: 4 kB / 0.5336 GB, free: 5.145 MB / 398.1 MB Notification: Performance of Templates: time 0.01241/0.5361, allocations: 4.369 MB / 0.5378 GB, free: 3.168 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches