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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.0009533/0.0009534, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.001113/0.001113, allocations: 179.8 kB / 17.2 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1796/0.1796, allocations: 38.04 MB / 309.7 MB, free: 6.145 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005783, allocations: 16 kB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3428, allocations: 56.32 MB / 432.8 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009083/0.3519, allocations: 10.13 MB / 442.9 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008801/0.3608, allocations: 6.278 MB / 449.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.3628, allocations: 63.56 kB / 449.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0065/0.3693, allocations: 2.673 MB / 452 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.3722, allocations: 0.6347 MB / 452.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.374, allocations: 0.51 MB / 453.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.3762, allocations: 1.109 MB / 454.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.3781, allocations: 1.091 MB / 455.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.3793, allocations: 0.6342 MB / 455.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009052/0.3802, allocations: 0.6224 MB / 456.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.3803, allocations: 60 kB / 456.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.3811, allocations: 307.5 kB / 456.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.3816, allocations: 478.7 kB / 457.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.3819, allocations: 300.9 kB / 457.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.3837, allocations: 1.726 MB / 459.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3837, allocations: 0 / 459.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3837, allocations: 0 / 459.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.3837, allocations: 0 / 459.4 MB, free: 8.141 MB / 334.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.00368/0.3874, allocations: 1.655 MB / 461.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3875, allocations: 8.031 kB / 461.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008918/0.3884, allocations: 233.9 kB / 461.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.3908, allocations: 1.128 MB / 462.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.3909, allocations: 90.14 kB / 462.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.3912, allocations: 151.8 kB / 462.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.3936, allocations: 1.458 MB / 464.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.3936, allocations: 7.938 kB / 464.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.3937, allocations: 47.98 kB / 464.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.3939, allocations: 86.03 kB / 464.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.396, allocations: 1.206 MB / 465.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008566/0.4046, allocations: 5.729 MB / 471.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.4062, allocations: 0.9978 MB / 472.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.4062, allocations: 8.719 kB / 472.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4063, allocations: 39.22 kB / 472.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=76): time 4.087e-06/0.4063, allocations: 0 / 472.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.007419/0.4137, allocations: 3.689 MB / 475.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.4139, allocations: 167.2 kB / 476.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.4155, allocations: 0.9288 MB / 477 MB, free: 5.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.4155, allocations: 41.7 kB / 477.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.4161, allocations: 0.6278 MB / 477.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.4164, allocations: 315.4 kB / 478 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.4165, allocations: 20 kB / 478 MB, free: 4.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4167, allocations: 345.9 kB / 478.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.4174, allocations: 389.8 kB / 478.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.4183, allocations: 0.6327 MB / 479.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.4191, allocations: 494.8 kB / 479.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4191, allocations: 0 / 479.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004367/0.4235, allocations: 2.051 MB / 481.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000976/0.4245, allocations: 2.794 MB / 484.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4245, allocations: 8 kB / 484.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.4272, allocations: 0.8167 MB / 485.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.4279, allocations: 155.8 kB / 485.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/0.4433, allocations: 9.919 MB / 495.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.4445, allocations: 59.95 kB / 495.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.42e-05/0.4446, allocations: 43.98 kB / 495.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.4446, allocations: 4.188 kB / 495.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003492/0.4481, allocations: 1.707 MB / 497.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4481, allocations: 8 kB / 497.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/0.4507, allocations: 0.7349 MB / 498.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.4514, allocations: 159.7 kB / 498.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.466, allocations: 9.308 MB / 0.4957 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.4672, allocations: 55.89 kB / 0.4958 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.4672, allocations: 40 kB / 0.4958 GB, free: 5.863 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {10 38} Notification: Performance of prepare postOptimizeDAE: time 0.001101/0.4684, allocations: 484.9 kB / 0.4963 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.4686, allocations: 110.6 kB / 0.4964 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.4707, allocations: 1.323 MB / 0.4977 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4707, allocations: 16 kB / 0.4977 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4707, allocations: 0 / 0.4977 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4707, allocations: 7.969 kB / 0.4977 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.475, allocations: 2.595 MB / 0.5002 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.475, allocations: 11.98 kB / 0.5002 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009305/0.4759, allocations: 175.8 kB / 0.5004 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.4762, allocations: 86.42 kB / 0.5005 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.4763, allocations: 35.94 kB / 0.5005 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003605/0.4799, allocations: 4.109 MB / 0.5045 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4799, allocations: 3.938 kB / 0.5045 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.483, allocations: 1.926 MB / 0.5064 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/0.4836, allocations: 267.6 kB / 0.5067 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.4838, allocations: 27.98 kB / 0.5067 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.4844, allocations: 51.95 kB / 0.5067 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4846, allocations: 52.92 kB / 0.5068 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.4846, allocations: 23.98 kB / 0.5068 GB, free: 9.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.4859, allocations: 0.6385 MB / 0.5074 GB, free: 9.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4859, allocations: 0 / 0.5074 GB, free: 9.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002214/0.4881, allocations: 0.5508 MB / 0.508 GB, free: 8.656 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003661/0.4885, allocations: 162.6 kB / 0.5081 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005539/0.494, allocations: 2.956 MB / 0.511 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.494, allocations: 0 / 0.511 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.4953, allocations: 0.8259 MB / 0.5118 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.4967, allocations: 259 kB / 0.5121 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/0.5029, allocations: 3.9 MB / 0.5159 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2121/0.715, allocations: 1.354 MB / 0.5172 GB, free: 82.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001535/0.7166, allocations: 269.8 kB / 0.5175 GB, free: 82.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.7169, allocations: 80.92 kB / 0.5175 GB, free: 82.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.174e-06/0.7169, allocations: 0 / 0.5175 GB, free: 82.37 MB / 398.1 MB Notification: Performance of Templates: time 0.03601/0.7529, allocations: 22.69 MB / 0.5397 GB, free: 71.06 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: