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.001191/0.001191, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001154/0.001155, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1758/0.1758, allocations: 38.02 MB / 329.3 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 65.23 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1515, allocations: 58.05 MB / 456.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01508/0.1666, allocations: 11.78 MB / 467.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.181, allocations: 6.905 MB / 474.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.1837, allocations: 71.56 kB / 474.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02136/0.2051, allocations: 12.62 MB / 487.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.2081, allocations: 0.743 MB / 488.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.21, allocations: 0.5643 MB / 488.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006232/0.2162, allocations: 4.504 MB / 493.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.2179, allocations: 0.9738 MB / 494.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.2194, allocations: 0.7583 MB / 495.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2208, allocations: 1.02 MB / 496.1 MB, free: 468 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.221, allocations: 84 kB / 496.2 MB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.2219, allocations: 403.4 kB / 496.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.2224, allocations: 0.5452 MB / 497.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007972/0.2233, allocations: 0.7305 MB / 497.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.2253, allocations: 2.161 MB / 500 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2253, allocations: 0 / 500 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2253, allocations: 0 / 500 MB, free: 12.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.2254, allocations: 0 / 500 MB, free: 12.53 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.00394/0.2293, allocations: 1.9 MB / 0.4901 GB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2294, allocations: 12.03 kB / 0.4901 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.2302, allocations: 230.8 kB / 0.4904 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.2324, allocations: 1.148 MB / 0.4915 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.2325, allocations: 90.19 kB / 0.4916 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.2328, allocations: 135.9 kB / 0.4917 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.2352, allocations: 1.485 MB / 0.4931 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.2352, allocations: 0 / 0.4931 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.2353, allocations: 44 kB / 0.4932 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.2355, allocations: 86.03 kB / 0.4933 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.2376, allocations: 1.206 MB / 0.4944 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008621/0.2462, allocations: 5.705 MB / 0.5 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2299/0.4761, allocations: 0.9602 MB / 0.501 GB, free: 57.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008577/0.477, allocations: 490.7 kB / 0.5014 GB, free: 57.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.099e-05/0.4771, allocations: 17.5 kB / 0.5014 GB, free: 57.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4771, allocations: 41.28 kB / 0.5015 GB, free: 57.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/0.4771, allocations: 0 / 0.5015 GB, free: 57.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.007208/0.4843, allocations: 3.675 MB / 0.5051 GB, free: 55.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.4845, allocations: 165.7 kB / 0.5052 GB, free: 55.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4862, allocations: 0.935 MB / 0.5061 GB, free: 55.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.4863, allocations: 42.23 kB / 0.5062 GB, free: 55.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.4868, allocations: 0.6285 MB / 0.5068 GB, free: 54.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.4871, allocations: 307.3 kB / 0.5071 GB, free: 54.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.4874, allocations: 177 kB / 0.5073 GB, free: 54.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4876, allocations: 348 kB / 0.5076 GB, free: 54.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/0.4883, allocations: 401.5 kB / 0.508 GB, free: 53.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008206/0.4892, allocations: 0.6371 MB / 0.5086 GB, free: 53.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.4908, allocations: 1.089 MB / 0.5097 GB, free: 52.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4908, allocations: 1.25 kB / 0.5097 GB, free: 52.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00501/0.4959, allocations: 2.046 MB / 0.5117 GB, free: 51.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.4959, allocations: 8.219 kB / 0.5117 GB, free: 51.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4959, allocations: 7.625 kB / 0.5117 GB, free: 51.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/0.499, allocations: 0.7951 MB / 0.5124 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.4997, allocations: 153.5 kB / 0.5126 GB, free: 51.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.5136, allocations: 9.735 MB / 0.5221 GB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.5147, allocations: 54.92 kB / 0.5222 GB, free: 45.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.5148, allocations: 43.3 kB / 0.5222 GB, free: 45.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00117/0.516, allocations: 0.6919 MB / 0.5229 GB, free: 44.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005935/0.5166, allocations: 0.615 MB / 0.5235 GB, free: 44.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001188/0.5178, allocations: 1.046 MB / 0.5245 GB, free: 43.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/0.5178, allocations: 1.656 kB / 0.5245 GB, free: 43.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003773/0.5216, allocations: 1.88 MB / 0.5263 GB, free: 42.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5216, allocations: 7.812 kB / 0.5263 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5216, allocations: 7.906 kB / 0.5263 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/0.5239, allocations: 0.7631 MB / 0.5271 GB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.5245, allocations: 153.5 kB / 0.5272 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.5355, allocations: 9.309 MB / 0.5363 GB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.5367, allocations: 56.02 kB / 0.5364 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.5368, allocations: 40 kB / 0.5364 GB, free: 33.86 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.0003663/0.5372, allocations: 236.9 kB / 0.5366 GB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.5374, allocations: 110.6 kB / 0.5368 GB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.5391, allocations: 1.33 MB / 0.5381 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.5391, allocations: 8 kB / 0.5381 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5392, allocations: 4 kB / 0.5381 GB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5392, allocations: 3.984 kB / 0.5381 GB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.5425, allocations: 2.636 MB / 0.5406 GB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5425, allocations: 11.92 kB / 0.5407 GB, free: 29.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008958/0.5434, allocations: 171.8 kB / 0.5408 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.5436, allocations: 91.53 kB / 0.5409 GB, free: 29.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.5437, allocations: 27.98 kB / 0.5409 GB, free: 29.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.5456, allocations: 4.124 MB / 0.545 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5456, allocations: 0 / 0.545 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.5478, allocations: 1.916 MB / 0.5468 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.5483, allocations: 259.7 kB / 0.5471 GB, free: 22.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.5485, allocations: 27.98 kB / 0.5471 GB, free: 22.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.5493, allocations: 47.95 kB / 0.5471 GB, free: 22.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5494, allocations: 53.58 kB / 0.5472 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.5494, allocations: 27.92 kB / 0.5472 GB, free: 22.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009099/0.5504, allocations: 0.6462 MB / 0.5479 GB, free: 21.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5504, allocations: 4 kB / 0.5479 GB, free: 21.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002059/0.5524, allocations: 0.5469 MB / 0.5484 GB, free: 20.91 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.0003122/0.5528, allocations: 159.1 kB / 0.5485 GB, free: 20.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004835/0.5576, allocations: 2.985 MB / 0.5515 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5576, allocations: 0 / 0.5515 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5587, allocations: 0.822 MB / 0.5523 GB, free: 16.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.5602, allocations: 274.2 kB / 0.5525 GB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.5655, allocations: 3.801 MB / 0.5562 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.5665, allocations: 1.332 MB / 0.5575 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000909/0.5674, allocations: 260.8 kB / 0.5578 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.5677, allocations: 81.17 kB / 0.5579 GB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5677, allocations: 4 kB / 0.5579 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Templates: time 0.039/0.6067, allocations: 24.23 MB / 0.5815 GB, free: 3.059 MB / 398.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)