Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001266/0.001266, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.001354/0.001354, allocations: 191 kB / 18 MB, free: 5.098 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.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1743/0.1743, allocations: 38.04 MB / 329.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 458.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4013, allocations: 58.07 MB / 0.5041 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00724/0.4086, allocations: 4.578 MB / 0.5086 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.4118, allocations: 1.475 MB / 0.51 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.4122, allocations: 13.06 kB / 0.51 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.4134, allocations: 373.7 kB / 0.5104 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007482/0.4141, allocations: 237 kB / 0.5106 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.415, allocations: 253 kB / 0.5108 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008676/0.4159, allocations: 0.5512 MB / 0.5114 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008082/0.4167, allocations: 341.7 kB / 0.5117 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.4172, allocations: 260.2 kB / 0.512 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.4179, allocations: 316.7 kB / 0.5123 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.418, allocations: 34.84 kB / 0.5123 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.4184, allocations: 137.1 kB / 0.5124 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.4187, allocations: 225.6 kB / 0.5126 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.419, allocations: 249.6 kB / 0.5129 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009718/0.42, allocations: 0.5984 MB / 0.5135 GB, free: 2.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.42, allocations: 0 / 0.5135 GB, free: 2.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.42, allocations: 5.188 kB / 0.5135 GB, free: 2.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.42, allocations: 0 / 0.5135 GB, free: 2.082 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.001574/0.4216, allocations: 0.7845 MB / 0.5142 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.4217, allocations: 13.39 kB / 0.5142 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/0.4224, allocations: 97 kB / 0.5143 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.4231, allocations: 419 kB / 0.5147 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.4232, allocations: 38.17 kB / 0.5148 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.4234, allocations: 54.67 kB / 0.5148 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4247, allocations: 0.6382 MB / 0.5154 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.4247, allocations: 2.031 kB / 0.5154 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.4248, allocations: 21.53 kB / 0.5155 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.425, allocations: 37.94 kB / 0.5155 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4261, allocations: 487.9 kB / 0.516 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.4306, allocations: 3.017 MB / 0.5189 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.4309, allocations: 177.2 kB / 0.5191 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.4312, allocations: 112.8 kB / 0.5192 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.4312, allocations: 8.219 kB / 0.5192 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4313, allocations: 36.27 kB / 0.5192 GB, free: 13.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.4313, allocations: 0 / 0.5192 GB, free: 13.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001678/0.4329, allocations: 0.8462 MB / 0.5201 GB, free: 13.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.433, allocations: 83.86 kB / 0.5201 GB, free: 13.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.4335, allocations: 355 kB / 0.5205 GB, free: 13.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.4335, allocations: 29.7 kB / 0.5205 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.4338, allocations: 313.9 kB / 0.5208 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.4338, allocations: 77.03 kB / 0.5209 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.434, allocations: 88.91 kB / 0.521 GB, free: 12.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4342, allocations: 344.6 kB / 0.5213 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.4344, allocations: 126.1 kB / 0.5214 GB, free: 12.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.4348, allocations: 329.4 kB / 0.5217 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008313/0.4356, allocations: 0.4942 MB / 0.5222 GB, free: 11.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.4356, allocations: 6.25 kB / 0.5222 GB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001332/0.437, allocations: 0.5587 MB / 0.5228 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.437, allocations: 9.875 kB / 0.5228 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006141/0.4377, allocations: 284.9 kB / 0.523 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.4381, allocations: 80.45 kB / 0.5231 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.4384, allocations: 96.55 kB / 0.5232 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.4405, allocations: 1.723 MB / 0.5249 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.4408, allocations: 20.12 kB / 0.5249 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.4408, allocations: 22.95 kB / 0.5249 GB, free: 9.785 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.0003417/0.4412, allocations: 223.3 kB / 0.5251 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.4413, allocations: 31.52 kB / 0.5252 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.4418, allocations: 291.2 kB / 0.5255 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4418, allocations: 3.594 kB / 0.5255 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4418, allocations: 0 / 0.5255 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4419, allocations: 2.484 kB / 0.5255 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4432, allocations: 0.7875 MB / 0.5262 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4432, allocations: 1.75 kB / 0.5262 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.4435, allocations: 58.56 kB / 0.5263 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4435, allocations: 1.766 kB / 0.5263 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.4435, allocations: 8.094 kB / 0.5263 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.4436, allocations: 3.688 kB / 0.5263 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4436, allocations: 5.156 kB / 0.5263 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.4442, allocations: 481.9 kB / 0.5268 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.4443, allocations: 110.9 kB / 0.5269 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.4444, allocations: 13.39 kB / 0.5269 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.4446, allocations: 14.3 kB / 0.5269 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.4446, allocations: 16.14 kB / 0.5269 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.4446, allocations: 15.25 kB / 0.5269 GB, free: 8.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003771/0.445, allocations: 231.9 kB / 0.5271 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.445, allocations: 0 / 0.5271 GB, free: 8.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.4456, allocations: 96.94 kB / 0.5272 GB, free: 8.414 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.0001454/0.4458, allocations: 103.9 kB / 0.5273 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009162/0.4467, allocations: 442.3 kB / 0.5278 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4467, allocations: 0 / 0.5278 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.4469, allocations: 124.2 kB / 0.5279 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.4475, allocations: 75.17 kB / 0.528 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.4494, allocations: 0.9874 MB / 0.5289 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.45, allocations: 0.8684 MB / 0.5298 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.4503, allocations: 116 kB / 0.5299 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.4504, allocations: 28.95 kB / 0.5299 GB, free: 6.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4504, allocations: 0 / 0.5299 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Templates: time 0.009541/0.46, allocations: 3.623 MB / 0.5334 GB, free: 5.5 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)