Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001522/0.001522, allocations: 101.9 kB / 17.59 MB, free: 5.418 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.001858/0.001858, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.337/1.337, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1842/0.1842, allocations: 38.02 MB / 330.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 56.55 kB / 399.5 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 58.07 MB / 457.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01312/0.1166, allocations: 10.37 MB / 467.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1273, allocations: 6.288 MB / 474.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.1288, allocations: 43.75 kB / 474.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02173/0.1505, allocations: 12.49 MB / 486.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.1533, allocations: 0.7968 MB / 487.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.1554, allocations: 0.6102 MB / 488.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005641/0.161, allocations: 3.509 MB / 491.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.1634, allocations: 1.211 MB / 492.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.1651, allocations: 0.9066 MB / 493.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.167, allocations: 0.9962 MB / 494.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.1676, allocations: 156 kB / 494.9 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.169, allocations: 467.4 kB / 495.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009024/0.1699, allocations: 0.6039 MB / 496 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.1714, allocations: 0.8047 MB / 496.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.1741, allocations: 2.232 MB / 499 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1741, allocations: 0 / 499 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1741, allocations: 0 / 499 MB, free: 14.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.1741, allocations: 3.938 kB / 499 MB, free: 14.48 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.003682/0.1778, allocations: 1.897 MB / 0.4892 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1779, allocations: 15.89 kB / 0.4892 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000874/0.1787, allocations: 226.9 kB / 0.4894 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.1808, allocations: 1.152 MB / 0.4905 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.662e-05/0.1809, allocations: 94.12 kB / 0.4906 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.1813, allocations: 132 kB / 0.4907 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.1835, allocations: 1.477 MB / 0.4922 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.1836, allocations: 11.89 kB / 0.4922 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.1837, allocations: 44 kB / 0.4922 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.1839, allocations: 78.05 kB / 0.4923 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.1859, allocations: 1.206 MB / 0.4935 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007815/0.1937, allocations: 5.701 MB / 0.499 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1953, allocations: 0.9713 MB / 0.5 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.1962, allocations: 496.3 kB / 0.5005 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.989e-05/0.1962, allocations: 12.72 kB / 0.5005 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.1963, allocations: 51.16 kB / 0.5005 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 3.937e-06/0.1963, allocations: 4 kB / 0.5005 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.2469/0.4432, allocations: 3.671 MB / 0.5041 GB, free: 56.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.4433, allocations: 164.7 kB / 0.5043 GB, free: 56.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4449, allocations: 0.931 MB / 0.5052 GB, free: 55.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.445, allocations: 42.61 kB / 0.5052 GB, free: 55.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.4455, allocations: 0.6239 MB / 0.5058 GB, free: 55.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.4458, allocations: 312.5 kB / 0.5061 GB, free: 55.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.4461, allocations: 177 kB / 0.5063 GB, free: 55.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4463, allocations: 349.9 kB / 0.5066 GB, free: 54.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.4471, allocations: 399.7 kB / 0.507 GB, free: 54.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.448, allocations: 0.6433 MB / 0.5076 GB, free: 54.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.4496, allocations: 1.085 MB / 0.5087 GB, free: 53.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4496, allocations: 2.344 kB / 0.5087 GB, free: 53.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004947/0.4546, allocations: 2.044 MB / 0.5107 GB, free: 52.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.4546, allocations: 8.5 kB / 0.5107 GB, free: 52.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.4547, allocations: 7.094 kB / 0.5107 GB, free: 52.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/0.4576, allocations: 0.8049 MB / 0.5115 GB, free: 52.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.4583, allocations: 148.8 kB / 0.5116 GB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.4746, allocations: 10.55 MB / 0.5219 GB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4759, allocations: 56.66 kB / 0.522 GB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/0.476, allocations: 40.58 kB / 0.522 GB, free: 45.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001455/0.4775, allocations: 0.6804 MB / 0.5227 GB, free: 45.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008493/0.4784, allocations: 0.6193 MB / 0.5233 GB, free: 44.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001334/0.4797, allocations: 1.036 MB / 0.5243 GB, free: 43.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.4797, allocations: 3.969 kB / 0.5243 GB, free: 43.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003555/0.4833, allocations: 1.883 MB / 0.5262 GB, free: 43.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4833, allocations: 12.61 kB / 0.5262 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4833, allocations: 6.875 kB / 0.5262 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.4858, allocations: 0.7804 MB / 0.5269 GB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.4864, allocations: 162 kB / 0.5271 GB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.4977, allocations: 10.1 MB / 0.537 GB, free: 34.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.4988, allocations: 48.06 kB / 0.537 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.4989, allocations: 47.98 kB / 0.5371 GB, free: 34.14 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.0003245/0.4992, allocations: 240.9 kB / 0.5373 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.4995, allocations: 114.5 kB / 0.5374 GB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.5013, allocations: 1.33 MB / 0.5387 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5013, allocations: 11.98 kB / 0.5387 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5013, allocations: 3.938 kB / 0.5387 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5013, allocations: 7.984 kB / 0.5387 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.5045, allocations: 2.633 MB / 0.5413 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5046, allocations: 0 / 0.5413 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/0.5054, allocations: 175.8 kB / 0.5415 GB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.5057, allocations: 94.44 kB / 0.5415 GB, free: 29.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.5058, allocations: 27.97 kB / 0.5416 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.5079, allocations: 4.497 MB / 0.546 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5079, allocations: 0 / 0.546 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5102, allocations: 1.906 MB / 0.5478 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.5106, allocations: 269.6 kB / 0.5481 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.5108, allocations: 27.98 kB / 0.5481 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.5115, allocations: 43.95 kB / 0.5481 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5116, allocations: 52.92 kB / 0.5482 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.5116, allocations: 27.98 kB / 0.5482 GB, free: 21.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008387/0.5125, allocations: 0.6423 MB / 0.5489 GB, free: 21.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5125, allocations: 0 / 0.5489 GB, free: 21.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002109/0.5146, allocations: 0.553 MB / 0.5494 GB, free: 20.79 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.0003265/0.5149, allocations: 156.2 kB / 0.5495 GB, free: 20.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005452/0.5204, allocations: 3.214 MB / 0.5527 GB, free: 17.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.5204, allocations: 4.062 kB / 0.5527 GB, free: 17.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5215, allocations: 0.8205 MB / 0.5535 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.523, allocations: 294.6 kB / 0.5538 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/0.5284, allocations: 3.36 MB / 0.557 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/0.5292, allocations: 1.331 MB / 0.5583 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.5295, allocations: 83.42 kB / 0.5584 GB, free: 11.45 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5295, allocations: 0 / 0.5584 GB, free: 11.45 MB / 382.1 MB Notification: Performance of Templates: time 0.03921/0.5687, allocations: 34.96 MB / 0.5926 GB, free: 8.5 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)