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.001461/0.001461, allocations: 111.5 kB / 17.06 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.00141/0.00141, allocations: 200 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.487/1.487, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.05 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 60.14 kB / 458.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4253, allocations: 58.05 MB / 0.5041 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006029/0.4314, allocations: 4.582 MB / 0.5086 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.4341, allocations: 1.463 MB / 0.51 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.4344, allocations: 17.38 kB / 0.51 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.4355, allocations: 385.3 kB / 0.5104 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.4361, allocations: 233.8 kB / 0.5106 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.4369, allocations: 252.6 kB / 0.5109 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.4375, allocations: 0.5551 MB / 0.5114 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.438, allocations: 342.1 kB / 0.5117 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.4384, allocations: 262.9 kB / 0.512 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.4389, allocations: 319 kB / 0.5123 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.439, allocations: 34.97 kB / 0.5123 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.4394, allocations: 142 kB / 0.5124 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.4397, allocations: 225.7 kB / 0.5127 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.44, allocations: 249.4 kB / 0.5129 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008194/0.4408, allocations: 0.5979 MB / 0.5135 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4408, allocations: 1.156 kB / 0.5135 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4409, allocations: 3.938 kB / 0.5135 GB, free: 2.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.4409, allocations: 0 / 0.5135 GB, free: 2.109 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.001385/0.4423, allocations: 0.7672 MB / 0.5142 GB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4423, allocations: 12.77 kB / 0.5142 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/0.443, allocations: 91.77 kB / 0.5143 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.4437, allocations: 422.7 kB / 0.5147 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.4438, allocations: 34.55 kB / 0.5148 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.4439, allocations: 51.09 kB / 0.5148 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/0.4448, allocations: 0.6468 MB / 0.5155 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4448, allocations: 5.406 kB / 0.5155 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.4449, allocations: 25.73 kB / 0.5155 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.445, allocations: 28.7 kB / 0.5155 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008417/0.4459, allocations: 480 kB / 0.516 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.4496, allocations: 3.005 MB / 0.5189 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.4499, allocations: 182 kB / 0.5191 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.4501, allocations: 103.2 kB / 0.5192 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.4502, allocations: 8.766 kB / 0.5192 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4502, allocations: 36.59 kB / 0.5192 GB, free: 14.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.4502, allocations: 0 / 0.5192 GB, free: 14.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001484/0.4517, allocations: 0.8448 MB / 0.52 GB, free: 13.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.4518, allocations: 79.42 kB / 0.5201 GB, free: 13.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.4521, allocations: 349.6 kB / 0.5205 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.4522, allocations: 30.92 kB / 0.5205 GB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.4523, allocations: 299.2 kB / 0.5208 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.4524, allocations: 87.28 kB / 0.5208 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.4526, allocations: 88.16 kB / 0.5209 GB, free: 12.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4527, allocations: 345.5 kB / 0.5213 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.4529, allocations: 124.8 kB / 0.5214 GB, free: 12.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.4533, allocations: 329.5 kB / 0.5217 GB, free: 12.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.4539, allocations: 0.4993 MB / 0.5222 GB, free: 11.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.454, allocations: 6 kB / 0.5222 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001073/0.455, allocations: 0.5514 MB / 0.5227 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4551, allocations: 9 kB / 0.5227 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005501/0.4556, allocations: 278.3 kB / 0.523 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.456, allocations: 86.09 kB / 0.5231 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.4564, allocations: 96.39 kB / 0.5232 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.4582, allocations: 1.727 MB / 0.5249 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.4585, allocations: 23.61 kB / 0.5249 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.4586, allocations: 23.36 kB / 0.5249 GB, free: 9.863 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.0003051/0.4589, allocations: 215.4 kB / 0.5251 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.459, allocations: 30.75 kB / 0.5251 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.4595, allocations: 292.2 kB / 0.5254 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4595, allocations: 3.594 kB / 0.5254 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4595, allocations: 1.375 kB / 0.5254 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4595, allocations: 0.7969 kB / 0.5254 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.4608, allocations: 0.7927 MB / 0.5262 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4609, allocations: 4.062 kB / 0.5262 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.4612, allocations: 50.84 kB / 0.5263 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4612, allocations: 2.625 kB / 0.5263 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.4612, allocations: 7.953 kB / 0.5263 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.4612, allocations: 2.531 kB / 0.5263 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.4612, allocations: 5.281 kB / 0.5263 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.462, allocations: 484.8 kB / 0.5267 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4621, allocations: 103.8 kB / 0.5268 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.4621, allocations: 9.516 kB / 0.5268 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.4623, allocations: 9.172 kB / 0.5268 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4624, allocations: 17.44 kB / 0.5269 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4624, allocations: 6.609 kB / 0.5269 GB, free: 8.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002928/0.4627, allocations: 235 kB / 0.5271 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4627, allocations: 4 kB / 0.5271 GB, free: 8.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.4633, allocations: 93.56 kB / 0.5272 GB, free: 8.52 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.000176/0.4635, allocations: 116.3 kB / 0.5273 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.4645, allocations: 456.6 kB / 0.5277 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4645, allocations: 3.938 kB / 0.5277 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4648, allocations: 112.6 kB / 0.5278 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.4653, allocations: 69.14 kB / 0.5279 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.467, allocations: 0.9701 MB / 0.5289 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.4676, allocations: 0.8684 MB / 0.5297 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000287/0.4679, allocations: 110.9 kB / 0.5298 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.554e-05/0.468, allocations: 29.59 kB / 0.5298 GB, free: 6.805 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.468, allocations: 0 / 0.5298 GB, free: 6.805 MB / 398.1 MB Notification: Performance of Templates: time 0.008566/0.4766, allocations: 3.618 MB / 0.5334 GB, free: 5.625 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