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.001196/0.001196, allocations: 114.3 kB / 16.63 MB, free: 6.812 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.001145/0.001145, allocations: 190 kB / 17.55 MB, free: 5.934 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.475/1.475, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2032/0.2032, allocations: 38.02 MB / 329.4 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 55.98 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 58.06 MB / 456.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01281/0.1149, allocations: 11.77 MB / 468.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.1261, allocations: 6.724 MB / 474.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.1284, allocations: 71.56 kB / 474.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01937/0.1478, allocations: 12.97 MB / 487.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.1507, allocations: 0.7352 MB / 488.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1523, allocations: 0.5607 MB / 489.2 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004329/0.1566, allocations: 3.587 MB / 492.8 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.1583, allocations: 1.234 MB / 494 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.1596, allocations: 0.9105 MB / 494.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.1608, allocations: 1.062 MB / 496 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.161, allocations: 156 kB / 496.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007601/0.1618, allocations: 463.4 kB / 496.6 MB, free: 56 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005681/0.1624, allocations: 0.6156 MB / 497.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007332/0.1631, allocations: 0.8047 MB / 498 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.1652, allocations: 2.216 MB / 0.4885 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1652, allocations: 0 / 0.4885 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1652, allocations: 0 / 0.4885 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.1652, allocations: 0 / 0.4885 GB, free: 12.41 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.003562/0.1688, allocations: 1.904 MB / 0.4903 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1689, allocations: 15.89 kB / 0.4904 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/0.1697, allocations: 226.8 kB / 0.4906 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.1717, allocations: 1.148 MB / 0.4917 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.1718, allocations: 82.19 kB / 0.4918 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.1721, allocations: 143.8 kB / 0.4919 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.1745, allocations: 1.489 MB / 0.4934 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.1745, allocations: 3.938 kB / 0.4934 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.1746, allocations: 48 kB / 0.4934 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.1748, allocations: 78.03 kB / 0.4935 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.1769, allocations: 1.206 MB / 0.4947 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2478/0.4247, allocations: 5.705 MB / 0.5002 GB, free: 56.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.4267, allocations: 0.9549 MB / 0.5012 GB, free: 56.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008781/0.4275, allocations: 496.7 kB / 0.5016 GB, free: 56.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.4276, allocations: 14.7 kB / 0.5017 GB, free: 56.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.4277, allocations: 45.22 kB / 0.5017 GB, free: 56.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 4.057e-06/0.4277, allocations: 2.203 kB / 0.5017 GB, free: 56.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.008076/0.4358, allocations: 3.678 MB / 0.5053 GB, free: 54.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.4359, allocations: 169 kB / 0.5055 GB, free: 54.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4374, allocations: 0.9324 MB / 0.5064 GB, free: 54.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.4375, allocations: 42.05 kB / 0.5064 GB, free: 54.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.4379, allocations: 0.6229 MB / 0.507 GB, free: 53.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.4381, allocations: 307.6 kB / 0.5073 GB, free: 53.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.4384, allocations: 178.7 kB / 0.5075 GB, free: 53.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.4385, allocations: 347.1 kB / 0.5078 GB, free: 53.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.4393, allocations: 401.5 kB / 0.5082 GB, free: 53.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.4402, allocations: 0.6396 MB / 0.5088 GB, free: 52.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.4418, allocations: 1.087 MB / 0.5099 GB, free: 51.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4418, allocations: 4.312 kB / 0.5099 GB, free: 51.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004785/0.4466, allocations: 2.043 MB / 0.5119 GB, free: 51.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4467, allocations: 7.188 kB / 0.5119 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.4467, allocations: 7.094 kB / 0.5119 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.4497, allocations: 0.7992 MB / 0.5127 GB, free: 50.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.4503, allocations: 158.9 kB / 0.5128 GB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/0.4651, allocations: 10.55 MB / 0.5231 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.4662, allocations: 58.16 kB / 0.5232 GB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/0.4662, allocations: 43.31 kB / 0.5232 GB, free: 43.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009786/0.4672, allocations: 0.6806 MB / 0.5239 GB, free: 43.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005633/0.4678, allocations: 0.6232 MB / 0.5245 GB, free: 43.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/0.469, allocations: 1.04 MB / 0.5255 GB, free: 42.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.469, allocations: 3.312 kB / 0.5255 GB, free: 42.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003423/0.4724, allocations: 1.882 MB / 0.5274 GB, free: 41.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4725, allocations: 7.906 kB / 0.5274 GB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4725, allocations: 11.97 kB / 0.5274 GB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/0.4748, allocations: 0.7673 MB / 0.5281 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.4754, allocations: 158.5 kB / 0.5283 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.4862, allocations: 10.1 MB / 0.5381 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.4872, allocations: 56 kB / 0.5382 GB, free: 31.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.4873, allocations: 43.98 kB / 0.5382 GB, free: 31.92 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.0003205/0.4876, allocations: 240.9 kB / 0.5385 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.4878, allocations: 106.7 kB / 0.5386 GB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.4896, allocations: 1.337 MB / 0.5399 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.4896, allocations: 12 kB / 0.5399 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4896, allocations: 0 / 0.5399 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4896, allocations: 11.59 kB / 0.5399 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.4929, allocations: 2.632 MB / 0.5425 GB, free: 27.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4929, allocations: 0 / 0.5425 GB, free: 27.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/0.4938, allocations: 175.7 kB / 0.5426 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.494, allocations: 94.41 kB / 0.5427 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.4941, allocations: 27.97 kB / 0.5427 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.4962, allocations: 4.502 MB / 0.5471 GB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.4963, allocations: 4.031 kB / 0.5471 GB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.4985, allocations: 1.902 MB / 0.549 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.4989, allocations: 267.6 kB / 0.5493 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.499, allocations: 27.98 kB / 0.5493 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.4997, allocations: 39.95 kB / 0.5493 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4998, allocations: 60.86 kB / 0.5494 GB, free: 19.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.4999, allocations: 33.05 kB / 0.5494 GB, free: 19.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008048/0.5007, allocations: 0.6384 MB / 0.55 GB, free: 19.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5007, allocations: 1.75 kB / 0.55 GB, free: 19.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00188/0.5026, allocations: 0.5532 MB / 0.5506 GB, free: 18.58 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.0002996/0.5029, allocations: 160.1 kB / 0.5507 GB, free: 18.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005331/0.5082, allocations: 3.219 MB / 0.5539 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5082, allocations: 4.125 kB / 0.5539 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5093, allocations: 0.8168 MB / 0.5547 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.5106, allocations: 291 kB / 0.5549 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.5153, allocations: 3.798 MB / 0.5587 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.516, allocations: 1.336 MB / 0.56 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008589/0.5169, allocations: 260.7 kB / 0.5602 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.5171, allocations: 83.41 kB / 0.5603 GB, free: 8.523 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5171, allocations: 0 / 0.5603 GB, free: 8.523 MB / 382.1 MB Notification: Performance of Templates: time 0.04073/0.5579, allocations: 25.39 MB / 0.5851 GB, free: 15.34 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)