Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001559/0.001559, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.436/1.436, 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.1749/0.1749, allocations: 38.04 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.91 kB / 458.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4422, allocations: 58.05 MB / 0.5041 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005998/0.4482, allocations: 4.581 MB / 0.5086 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.4514, allocations: 1.469 MB / 0.51 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.4518, allocations: 12.12 kB / 0.51 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.4531, allocations: 382.8 kB / 0.5104 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007675/0.4539, allocations: 236.9 kB / 0.5106 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4549, allocations: 253.1 kB / 0.5109 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008456/0.4557, allocations: 0.5597 MB / 0.5114 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/0.4563, allocations: 331.2 kB / 0.5117 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.4569, allocations: 267 kB / 0.512 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006224/0.4575, allocations: 320.2 kB / 0.5123 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.4576, allocations: 33.88 kB / 0.5123 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.458, allocations: 145.6 kB / 0.5124 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.4583, allocations: 221.7 kB / 0.5127 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.4587, allocations: 253.4 kB / 0.5129 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009446/0.4596, allocations: 0.5993 MB / 0.5135 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4596, allocations: 0 / 0.5135 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4596, allocations: 0 / 0.5135 GB, free: 1.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4596, allocations: 0 / 0.5135 GB, free: 1.973 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001657/0.4613, allocations: 0.7694 MB / 0.5142 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.4614, allocations: 12.73 kB / 0.5143 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.462, allocations: 101.5 kB / 0.5143 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.4629, allocations: 417.8 kB / 0.5147 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.4629, allocations: 32.08 kB / 0.5148 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.4631, allocations: 49.38 kB / 0.5148 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.4644, allocations: 0.6491 MB / 0.5155 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.4645, allocations: 3.812 kB / 0.5155 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.4645, allocations: 16.09 kB / 0.5155 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.4647, allocations: 33.61 kB / 0.5155 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.4658, allocations: 488.2 kB / 0.516 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.4705, allocations: 3.001 MB / 0.5189 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4708, allocations: 181.9 kB / 0.5191 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.471, allocations: 102.4 kB / 0.5192 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.4711, allocations: 11.25 kB / 0.5192 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.4711, allocations: 32.7 kB / 0.5192 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.4711, allocations: 4 kB / 0.5192 GB, free: 13.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001694/0.4728, allocations: 0.8441 MB / 0.52 GB, free: 13.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.4729, allocations: 79.23 kB / 0.5201 GB, free: 13.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.4735, allocations: 353.5 kB / 0.5205 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.4735, allocations: 30.8 kB / 0.5205 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.4738, allocations: 292.4 kB / 0.5208 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.474, allocations: 89.52 kB / 0.5209 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.4742, allocations: 84.86 kB / 0.5209 GB, free: 12.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4744, allocations: 347 kB / 0.5213 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.4747, allocations: 124.8 kB / 0.5214 GB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.4751, allocations: 330.9 kB / 0.5217 GB, free: 12.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.4757, allocations: 0.4884 MB / 0.5222 GB, free: 11.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4758, allocations: 6.844 kB / 0.5222 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00108/0.4769, allocations: 0.5672 MB / 0.5227 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.4769, allocations: 8 kB / 0.5227 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005812/0.4775, allocations: 281.9 kB / 0.523 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.4779, allocations: 81.16 kB / 0.5231 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.4782, allocations: 100.2 kB / 0.5232 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.4802, allocations: 1.716 MB / 0.5249 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.4805, allocations: 23.59 kB / 0.5249 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.4805, allocations: 22.67 kB / 0.5249 GB, free: 9.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.4808, allocations: 218.9 kB / 0.5251 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.4809, allocations: 31.27 kB / 0.5251 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.4815, allocations: 291.7 kB / 0.5254 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4815, allocations: 3.469 kB / 0.5254 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4815, allocations: 1.219 kB / 0.5254 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4815, allocations: 1.266 kB / 0.5254 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.4828, allocations: 0.7885 MB / 0.5262 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4828, allocations: 1.469 kB / 0.5262 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.4831, allocations: 58.45 kB / 0.5263 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4831, allocations: 1.25 kB / 0.5263 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.4832, allocations: 9.219 kB / 0.5263 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4832, allocations: 3.25 kB / 0.5263 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4832, allocations: 4.734 kB / 0.5263 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.4839, allocations: 485.7 kB / 0.5267 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.484, allocations: 103.6 kB / 0.5268 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.484, allocations: 7.641 kB / 0.5268 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4842, allocations: 14.33 kB / 0.5269 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.4842, allocations: 12.81 kB / 0.5269 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.4843, allocations: 11 kB / 0.5269 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.4845, allocations: 236.5 kB / 0.5271 GB, free: 8.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4845, allocations: 0 / 0.5271 GB, free: 8.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005387/0.4851, allocations: 100.6 kB / 0.5272 GB, free: 8.371 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 (24): * Single equations (assignments): 23 * 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.0001604/0.4853, allocations: 109.2 kB / 0.5273 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008614/0.4861, allocations: 454.7 kB / 0.5277 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4861, allocations: 5.188 kB / 0.5277 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.4863, allocations: 119.3 kB / 0.5279 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.4868, allocations: 69.72 kB / 0.5279 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.489, allocations: 0.9623 MB / 0.5289 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.4897, allocations: 0.8686 MB / 0.5297 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.49, allocations: 115.7 kB / 0.5298 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.4901, allocations: 29.16 kB / 0.5298 GB, free: 6.668 MB / 398.1 MB Notification: Performance of SimCode: time 2.976e-06/0.4902, allocations: 0 / 0.5298 GB, free: 6.668 MB / 398.1 MB Notification: Performance of Templates: time 0.008949/0.4991, allocations: 3.613 MB / 0.5334 GB, free: 5.512 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches