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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.1 MB / 223.1 MB, free: 8.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 101.5 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1966/0.1966, allocations: 38.02 MB / 355.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 47.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3386, allocations: 55.24 MB / 477.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01301/0.3517, allocations: 11.81 MB / 488.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.3665, allocations: 6.935 MB / 495.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004418/0.371, allocations: 71.09 kB / 495.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02758/0.3986, allocations: 12.62 MB / 0.4966 GB, free: 7.508 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.4018, allocations: 0.7508 MB / 0.4973 GB, free: 6.754 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.4047, allocations: 0.565 MB / 0.4979 GB, free: 6.191 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007933/0.4126, allocations: 4.512 MB / 0.5023 GB, free: 1.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.4152, allocations: 0.9816 MB / 0.5033 GB, free: 0.6719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.4172, allocations: 0.7622 MB / 0.504 GB, free: 15.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.4194, allocations: 1.027 MB / 0.505 GB, free: 14.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005288/0.4199, allocations: 84 kB / 0.5051 GB, free: 14.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.4216, allocations: 403.4 kB / 0.5055 GB, free: 14.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.4228, allocations: 0.5414 MB / 0.506 GB, free: 13.86 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.424, allocations: 0.7304 MB / 0.5067 GB, free: 13.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.4266, allocations: 2.169 MB / 0.5088 GB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4266, allocations: 0 / 0.5088 GB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4266, allocations: 4 kB / 0.5088 GB, free: 10.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.4266, allocations: 0 / 0.5088 GB, free: 10.94 MB / 346.7 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.004033/0.4307, allocations: 1.904 MB / 0.5107 GB, free: 8.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4307, allocations: 12.03 kB / 0.5107 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.4316, allocations: 234.8 kB / 0.5109 GB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.4341, allocations: 1.148 MB / 0.5121 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.4342, allocations: 90.19 kB / 0.5121 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.4345, allocations: 135.9 kB / 0.5123 GB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.4369, allocations: 1.481 MB / 0.5137 GB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.4369, allocations: 7.938 kB / 0.5137 GB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.437, allocations: 44 kB / 0.5138 GB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.4372, allocations: 82.03 kB / 0.5138 GB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.4393, allocations: 1.21 MB / 0.515 GB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008398/0.4477, allocations: 5.709 MB / 0.5206 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.4492, allocations: 0.9658 MB / 0.5215 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.4501, allocations: 492.4 kB / 0.522 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.4501, allocations: 12.72 kB / 0.522 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4502, allocations: 39.22 kB / 0.5221 GB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=76): time 4.047e-06/0.4502, allocations: 4 kB / 0.5221 GB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.007291/0.4575, allocations: 3.672 MB / 0.5257 GB, free: 9.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4576, allocations: 175.1 kB / 0.5258 GB, free: 8.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.459, allocations: 0.9366 MB / 0.5267 GB, free: 7.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.459, allocations: 45.73 kB / 0.5268 GB, free: 7.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000524/0.4596, allocations: 0.6328 MB / 0.5274 GB, free: 7.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.4598, allocations: 307.5 kB / 0.5277 GB, free: 6.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.4601, allocations: 186.5 kB / 0.5279 GB, free: 6.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4603, allocations: 345.9 kB / 0.5282 GB, free: 6.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.4609, allocations: 400.6 kB / 0.5286 GB, free: 5.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008075/0.4617, allocations: 0.6405 MB / 0.5292 GB, free: 5.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.4633, allocations: 1.087 MB / 0.5303 GB, free: 4.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.4633, allocations: 8 kB / 0.5303 GB, free: 4.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004363/0.4677, allocations: 2.039 MB / 0.5323 GB, free: 1.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4677, allocations: 8 kB / 0.5323 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4678, allocations: 11.94 kB / 0.5323 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/0.4704, allocations: 0.7939 MB / 0.5331 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.4711, allocations: 147.8 kB / 0.5332 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.4858, allocations: 9.739 MB / 0.5427 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4869, allocations: 63.83 kB / 0.5428 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4871, allocations: 43.98 kB / 0.5428 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/0.4884, allocations: 0.6815 MB / 0.5435 GB, free: 6.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008125/0.4892, allocations: 0.6209 MB / 0.5441 GB, free: 5.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001492/0.4907, allocations: 1.048 MB / 0.5451 GB, free: 4.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.646e-06/0.4907, allocations: 3.984 kB / 0.5451 GB, free: 4.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003898/0.4946, allocations: 1.883 MB / 0.547 GB, free: 2.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4947, allocations: 8 kB / 0.547 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4947, allocations: 4 kB / 0.547 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.4973, allocations: 0.7698 MB / 0.5477 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.4979, allocations: 151.7 kB / 0.5479 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.5119, allocations: 9.291 MB / 0.5569 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.5131, allocations: 56.31 kB / 0.557 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.5133, allocations: 36 kB / 0.557 GB, free: 7.5 MB / 394.7 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.0004617/0.5138, allocations: 243.9 kB / 0.5573 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.5142, allocations: 114.6 kB / 0.5574 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.5167, allocations: 1.327 MB / 0.5587 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.5168, allocations: 15.97 kB / 0.5587 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5168, allocations: 7.938 kB / 0.5587 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.5168, allocations: 7.984 kB / 0.5587 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.5217, allocations: 2.642 MB / 0.5613 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.5217, allocations: 3.938 kB / 0.5613 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/0.5227, allocations: 175.8 kB / 0.5614 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.523, allocations: 90.48 kB / 0.5615 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.5231, allocations: 23.98 kB / 0.5616 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/0.5265, allocations: 4.132 MB / 0.5656 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5266, allocations: 0 / 0.5656 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02313/0.5497, allocations: 13.85 MB / 0.5791 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007293/0.5505, allocations: 271.6 kB / 0.5794 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.5508, allocations: 23.98 kB / 0.5794 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/0.5516, allocations: 48.05 kB / 0.5794 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.5518, allocations: 64.8 kB / 0.5795 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.5519, allocations: 23.98 kB / 0.5795 GB, free: 15.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00133/0.5533, allocations: 0.6463 MB / 0.5802 GB, free: 14.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5533, allocations: 0 / 0.5802 GB, free: 14.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003601/0.5569, allocations: 0.7892 MB / 0.5809 GB, free: 13.6 MB / 426.7 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.0004517/0.5573, allocations: 162.6 kB / 0.5811 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006342/0.5637, allocations: 2.976 MB / 0.584 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.5637, allocations: 0 / 0.584 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.5651, allocations: 0.8297 MB / 0.5848 GB, free: 9.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.5671, allocations: 264.5 kB / 0.5851 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.5764, allocations: 4.738 MB / 0.5897 GB, free: 4.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.5781, allocations: 1.36 MB / 0.591 GB, free: 3.035 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001663/0.5798, allocations: 292.8 kB / 0.5913 GB, free: 2.746 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/0.5804, allocations: 87.41 kB / 0.5914 GB, free: 2.66 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5804, allocations: 3.938 kB / 0.5914 GB, free: 2.656 MB / 426.7 MB Notification: Performance of Templates: time 0.06211/0.6425, allocations: 28.99 MB / 0.6197 GB, free: 5.664 MB / 458.7 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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)