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.001205/0.001205, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001177/0.001177, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.315/1.315, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 38.05 MB / 329.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.14 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1157, allocations: 58.07 MB / 456.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01248/0.1282, allocations: 10.36 MB / 467.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009597/0.1378, allocations: 6.284 MB / 473.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007608/0.1386, allocations: 43.75 kB / 473.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01926/0.1579, allocations: 12.5 MB / 486.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.1603, allocations: 0.793 MB / 486.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.1618, allocations: 0.6232 MB / 487.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.166, allocations: 3.506 MB / 491 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.1676, allocations: 1.203 MB / 492.2 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.1688, allocations: 0.9144 MB / 493.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.1704, allocations: 0.9884 MB / 494.1 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.1707, allocations: 156 kB / 494.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008479/0.1715, allocations: 471.4 kB / 494.7 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.1721, allocations: 0.6078 MB / 495.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.173, allocations: 0.8008 MB / 496.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.1752, allocations: 2.228 MB / 498.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1752, allocations: 0 / 498.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1752, allocations: 4 kB / 498.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.1753, allocations: 0 / 498.3 MB, free: 14.45 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.004025/0.1793, allocations: 1.904 MB / 0.4885 GB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1794, allocations: 8.031 kB / 0.4885 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.1802, allocations: 226.9 kB / 0.4888 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.1823, allocations: 1.152 MB / 0.4899 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.1824, allocations: 86.2 kB / 0.49 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.1828, allocations: 136 kB / 0.4901 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.1851, allocations: 1.473 MB / 0.4915 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.1851, allocations: 11.91 kB / 0.4915 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.1852, allocations: 43.98 kB / 0.4916 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.1854, allocations: 82.03 kB / 0.4917 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.1874, allocations: 1.21 MB / 0.4928 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007904/0.1953, allocations: 5.709 MB / 0.4984 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.1969, allocations: 0.9633 MB / 0.4994 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/0.1977, allocations: 492.5 kB / 0.4998 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.1978, allocations: 12.66 kB / 0.4998 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1978, allocations: 47.09 kB / 0.4999 GB, free: 400 kB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/0.1978, allocations: 4 kB / 0.4999 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.1965/0.3943, allocations: 3.67 MB / 0.5035 GB, free: 56.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3944, allocations: 170.9 kB / 0.5036 GB, free: 56.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.3959, allocations: 0.9285 MB / 0.5045 GB, free: 55.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.396, allocations: 42.23 kB / 0.5046 GB, free: 55.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.3964, allocations: 0.6243 MB / 0.5052 GB, free: 55.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.3966, allocations: 311.6 kB / 0.5055 GB, free: 55.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.3968, allocations: 178.4 kB / 0.5057 GB, free: 54.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.3969, allocations: 349.2 kB / 0.506 GB, free: 54.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.3976, allocations: 402.4 kB / 0.5064 GB, free: 54.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/0.3984, allocations: 0.6375 MB / 0.507 GB, free: 54.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.3999, allocations: 1.088 MB / 0.5081 GB, free: 53.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3999, allocations: 6.609 kB / 0.5081 GB, free: 53.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004273/0.4042, allocations: 2.041 MB / 0.5101 GB, free: 52.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4042, allocations: 8.438 kB / 0.5101 GB, free: 52.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4042, allocations: 7.344 kB / 0.5101 GB, free: 52.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.4069, allocations: 0.8045 MB / 0.5109 GB, free: 52.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.4075, allocations: 150.2 kB / 0.511 GB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.4221, allocations: 10.54 MB / 0.5213 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/0.4231, allocations: 61.97 kB / 0.5214 GB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.4232, allocations: 38.25 kB / 0.5214 GB, free: 45.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001072/0.4242, allocations: 0.6813 MB / 0.5221 GB, free: 44.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006361/0.4249, allocations: 0.621 MB / 0.5227 GB, free: 44.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.426, allocations: 1.043 MB / 0.5237 GB, free: 43.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.426, allocations: 3.875 kB / 0.5237 GB, free: 43.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003288/0.4293, allocations: 1.88 MB / 0.5255 GB, free: 42.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4293, allocations: 11.98 kB / 0.5255 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4293, allocations: 8.062 kB / 0.5255 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/0.4317, allocations: 0.7714 MB / 0.5263 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.4323, allocations: 159.6 kB / 0.5265 GB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.4435, allocations: 10.1 MB / 0.5363 GB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/0.4444, allocations: 47.97 kB / 0.5364 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.4445, allocations: 43.98 kB / 0.5364 GB, free: 34.07 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.0002803/0.4448, allocations: 240.1 kB / 0.5366 GB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.445, allocations: 114.5 kB / 0.5367 GB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.4468, allocations: 1.334 MB / 0.538 GB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4468, allocations: 10.3 kB / 0.5381 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4468, allocations: 3.938 kB / 0.5381 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4468, allocations: 7.984 kB / 0.5381 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.4499, allocations: 2.633 MB / 0.5406 GB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4499, allocations: 0 / 0.5406 GB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/0.4508, allocations: 179.8 kB / 0.5408 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.451, allocations: 94.42 kB / 0.5409 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.4511, allocations: 31.98 kB / 0.5409 GB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.4537, allocations: 4.489 MB / 0.5453 GB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4537, allocations: 7.062 kB / 0.5453 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.4572, allocations: 1.906 MB / 0.5472 GB, free: 22.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.4578, allocations: 259.6 kB / 0.5474 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.458, allocations: 31.98 kB / 0.5475 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/0.459, allocations: 47.95 kB / 0.5475 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.4591, allocations: 55.03 kB / 0.5476 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.4592, allocations: 27.98 kB / 0.5476 GB, free: 21.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.4605, allocations: 0.6454 MB / 0.5482 GB, free: 21.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4605, allocations: 4 kB / 0.5482 GB, free: 21.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003028/0.4635, allocations: 0.5508 MB / 0.5488 GB, free: 20.72 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.0004035/0.464, allocations: 153.1 kB / 0.5489 GB, free: 20.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00828/0.4722, allocations: 3.214 MB / 0.552 GB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.4723, allocations: 0 / 0.552 GB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.474, allocations: 0.8142 MB / 0.5528 GB, free: 16.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.4764, allocations: 296.6 kB / 0.5531 GB, free: 16.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008734/0.4852, allocations: 3.274 MB / 0.5563 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.4864, allocations: 1.342 MB / 0.5576 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001755/0.4882, allocations: 256.8 kB / 0.5579 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.4886, allocations: 79.41 kB / 0.5579 GB, free: 11.22 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4887, allocations: 5.312 kB / 0.558 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Templates: time 0.0688/0.5575, allocations: 25.38 MB / 0.5827 GB, free: 2.047 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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)