Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.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.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 114.2 kB / 17.69 MB, free: 5.312 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.001984/0.001984, allocations: 191 kB / 18.63 MB, free: 4.379 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.41/1.41, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1811/0.1811, allocations: 38.04 MB / 330.5 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.45 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 58.07 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01121/0.1149, allocations: 10.37 MB / 468.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008743/0.1237, allocations: 6.288 MB / 475 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000772/0.1245, allocations: 43.75 kB / 475 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01998/0.1445, allocations: 12.49 MB / 487.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.1471, allocations: 0.7968 MB / 488.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1487, allocations: 0.6153 MB / 488.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.1536, allocations: 3.521 MB / 492.5 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.1552, allocations: 1.199 MB / 493.7 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.1566, allocations: 0.9067 MB / 494.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.1578, allocations: 1 MB / 495.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.158, allocations: 156 kB / 495.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008099/0.1588, allocations: 455.4 kB / 496.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005709/0.1594, allocations: 0.6117 MB / 496.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007438/0.1602, allocations: 0.8047 MB / 497.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.1623, allocations: 2.262 MB / 499.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1623, allocations: 0 / 499.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1623, allocations: 4 kB / 499.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.1623, allocations: 4 kB / 499.8 MB, free: 13.67 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003649/0.166, allocations: 1.897 MB / 0.49 GB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.166, allocations: 8.031 kB / 0.49 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/0.1669, allocations: 226.9 kB / 0.4902 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.1692, allocations: 1.195 MB / 0.4914 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.1693, allocations: 94.12 kB / 0.4915 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.1696, allocations: 136 kB / 0.4916 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.1718, allocations: 1.481 MB / 0.493 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.1719, allocations: 7.906 kB / 0.493 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.172, allocations: 40 kB / 0.4931 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.1721, allocations: 82.03 kB / 0.4932 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.174, allocations: 1.206 MB / 0.4943 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007741/0.1818, allocations: 5.662 MB / 0.4999 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.1833, allocations: 0.9624 MB / 0.5008 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.204/0.3873, allocations: 485.5 kB / 0.5013 GB, free: 57.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.3874, allocations: 14.69 kB / 0.5013 GB, free: 57.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.3875, allocations: 46.78 kB / 0.5013 GB, free: 57.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/0.3875, allocations: 0 / 0.5013 GB, free: 57.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.007522/0.395, allocations: 3.676 MB / 0.5049 GB, free: 56.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.3951, allocations: 169.2 kB / 0.5051 GB, free: 55.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.3967, allocations: 0.9301 MB / 0.506 GB, free: 55.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.3968, allocations: 42.14 kB / 0.506 GB, free: 55.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.3972, allocations: 0.6292 MB / 0.5066 GB, free: 55.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.3974, allocations: 313.4 kB / 0.5069 GB, free: 54.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.3977, allocations: 175.7 kB / 0.5071 GB, free: 54.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.3978, allocations: 347.9 kB / 0.5074 GB, free: 54.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.3985, allocations: 405 kB / 0.5078 GB, free: 54.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/0.3993, allocations: 0.6366 MB / 0.5085 GB, free: 53.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4009, allocations: 1.088 MB / 0.5095 GB, free: 53.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4009, allocations: 2.156 kB / 0.5095 GB, free: 53.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004221/0.4051, allocations: 2.042 MB / 0.5115 GB, free: 52.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4052, allocations: 8 kB / 0.5115 GB, free: 52.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4052, allocations: 6.75 kB / 0.5115 GB, free: 52.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.4079, allocations: 0.7981 MB / 0.5123 GB, free: 52.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.4086, allocations: 149.8 kB / 0.5124 GB, free: 52.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.4225, allocations: 10.54 MB / 0.5227 GB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4236, allocations: 55.34 kB / 0.5228 GB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.4237, allocations: 41.91 kB / 0.5228 GB, free: 45.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001019/0.4247, allocations: 0.6846 MB / 0.5235 GB, free: 44.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005807/0.4253, allocations: 0.6138 MB / 0.5241 GB, free: 44.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/0.4265, allocations: 1.043 MB / 0.5251 GB, free: 43.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.4265, allocations: 1.844 kB / 0.5251 GB, free: 43.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.00359/0.4301, allocations: 1.883 MB / 0.527 GB, free: 42.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4301, allocations: 8.375 kB / 0.527 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4301, allocations: 10.88 kB / 0.527 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.4324, allocations: 0.7682 MB / 0.5277 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.4329, allocations: 155.2 kB / 0.5279 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.4434, allocations: 10.1 MB / 0.5377 GB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/0.4444, allocations: 47.97 kB / 0.5378 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.4444, allocations: 32 kB / 0.5378 GB, free: 33.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,limPID_DC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.4447, allocations: 251.9 kB / 0.5381 GB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.4449, allocations: 114.6 kB / 0.5382 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.4469, allocations: 1.331 MB / 0.5395 GB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.447, allocations: 12 kB / 0.5395 GB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.447, allocations: 7.984 kB / 0.5395 GB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.447, allocations: 3.984 kB / 0.5395 GB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.4502, allocations: 2.635 MB / 0.5421 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.4502, allocations: 0 / 0.5421 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.4511, allocations: 175.8 kB / 0.5422 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.4514, allocations: 96.27 kB / 0.5423 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.4514, allocations: 27.97 kB / 0.5423 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.4534, allocations: 4.496 MB / 0.5467 GB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4534, allocations: 0 / 0.5467 GB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.4555, allocations: 1.908 MB / 0.5486 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.4559, allocations: 267.7 kB / 0.5489 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4561, allocations: 27.98 kB / 0.5489 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006023/0.4567, allocations: 47.95 kB / 0.5489 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4568, allocations: 48.92 kB / 0.549 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.4569, allocations: 27.98 kB / 0.549 GB, free: 21.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008074/0.4577, allocations: 0.6384 MB / 0.5496 GB, free: 20.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4577, allocations: 0 / 0.5496 GB, free: 20.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002014/0.4597, allocations: 0.5582 MB / 0.5502 GB, free: 19.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003026/0.46, allocations: 158.3 kB / 0.5503 GB, free: 19.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00481/0.4648, allocations: 3.014 MB / 0.5533 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.4649, allocations: 0 / 0.5533 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009833/0.4659, allocations: 0.822 MB / 0.5541 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.4672, allocations: 284.4 kB / 0.5543 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.4727, allocations: 3.243 MB / 0.5575 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/0.4736, allocations: 1.335 MB / 0.5588 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007766/0.4743, allocations: 267.8 kB / 0.5591 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.4746, allocations: 79.41 kB / 0.5591 GB, free: 10.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.041e-06/0.4746, allocations: 0 / 0.5591 GB, free: 10.67 MB / 382.1 MB Notification: Performance of Templates: time 0.03584/0.5105, allocations: 25.39 MB / 0.5839 GB, free: 1.492 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)