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.0009832/0.0009833, allocations: 87.11 kB / 16.31 MB, free: 6.449 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.001097/0.001097, allocations: 176.3 kB / 17.21 MB, free: 6.32 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.344/1.344, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3063/0.3063, allocations: 38.05 MB / 309.7 MB, free: 8.906 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.0005352/0.0005353, allocations: 15.98 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.0991, allocations: 56.34 MB / 432.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01078/0.1099, allocations: 10.58 MB / 443.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00882/0.1188, allocations: 6.351 MB / 449.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.12, allocations: 67.56 kB / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1991/0.3191, allocations: 11.84 MB / 461.7 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.3214, allocations: 0.8086 MB / 462.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.3227, allocations: 0.5055 MB / 463 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004479/0.3272, allocations: 3.843 MB / 466.8 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.3291, allocations: 1.091 MB / 467.9 MB, free: 37.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.3303, allocations: 0.722 MB / 468.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.3316, allocations: 0.9097 MB / 469.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.3317, allocations: 60.95 kB / 469.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007255/0.3325, allocations: 325.2 kB / 469.9 MB, free: 37.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.3329, allocations: 0.5035 MB / 470.4 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.3332, allocations: 297.1 kB / 470.7 MB, free: 36.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3346, allocations: 1.732 MB / 472.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3346, allocations: 0 / 472.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3346, allocations: 0 / 472.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.319e-05/0.3346, allocations: 0 / 472.5 MB, free: 36.86 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.002912/0.3375, allocations: 1.655 MB / 474.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3376, allocations: 9.406 kB / 474.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/0.3384, allocations: 226.3 kB / 474.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.3402, allocations: 1.12 MB / 475.5 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.3403, allocations: 85.8 kB / 475.6 MB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.3406, allocations: 146 kB / 475.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.3426, allocations: 1.478 MB / 477.2 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.3427, allocations: 14.16 kB / 477.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.3428, allocations: 45.62 kB / 477.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/0.3429, allocations: 81.56 kB / 477.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.3447, allocations: 1.209 MB / 478.5 MB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006555/0.3513, allocations: 5.731 MB / 484.3 MB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.3526, allocations: 0.9865 MB / 485.2 MB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007305/0.3533, allocations: 490.7 kB / 485.7 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.458e-05/0.3534, allocations: 12.77 kB / 485.7 MB, free: 32.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3534, allocations: 42.2 kB / 485.8 MB, free: 32.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/0.3535, allocations: 3.406 kB / 485.8 MB, free: 32.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.006435/0.3599, allocations: 3.725 MB / 489.5 MB, free: 31.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.36, allocations: 165.1 kB / 489.7 MB, free: 31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.3612, allocations: 0.9266 MB / 490.6 MB, free: 30.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.3613, allocations: 49.95 kB / 490.6 MB, free: 30.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.3616, allocations: 0.6414 MB / 491.3 MB, free: 30.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.3618, allocations: 303.1 kB / 491.6 MB, free: 29.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.3619, allocations: 20.88 kB / 491.6 MB, free: 29.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.362, allocations: 343.4 kB / 491.9 MB, free: 29.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.3626, allocations: 393.1 kB / 492.3 MB, free: 29.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007457/0.3634, allocations: 0.6481 MB / 493 MB, free: 28.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/0.3641, allocations: 494.8 kB / 493.5 MB, free: 28.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3641, allocations: 3.312 kB / 493.5 MB, free: 28.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003901/0.368, allocations: 2.099 MB / 495.6 MB, free: 27.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.3681, allocations: 309.9 kB / 495.9 MB, free: 27.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3682, allocations: 6.75 kB / 495.9 MB, free: 27.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/0.3708, allocations: 0.8403 MB / 496.7 MB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.3714, allocations: 154.7 kB / 496.9 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.3847, allocations: 9.889 MB / 0.4949 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.3856, allocations: 59.84 kB / 0.4949 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.3857, allocations: 41.53 kB / 0.495 GB, free: 20.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.3858, allocations: 4.094 kB / 0.495 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003207/0.389, allocations: 1.75 MB / 0.4967 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.389, allocations: 7.156 kB / 0.4967 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.3914, allocations: 0.7697 MB / 0.4974 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.392, allocations: 158.4 kB / 0.4976 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.4025, allocations: 9.311 MB / 0.5067 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/0.4034, allocations: 60.91 kB / 0.5067 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.4035, allocations: 35.16 kB / 0.5068 GB, free: 13.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 (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 40} Notification: Performance of prepare postOptimizeDAE: time 0.0007526/0.4042, allocations: 479.4 kB / 0.5072 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.4045, allocations: 108.3 kB / 0.5073 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.4063, allocations: 1.352 MB / 0.5087 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4063, allocations: 8.531 kB / 0.5087 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4063, allocations: 1.344 kB / 0.5087 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4063, allocations: 6.719 kB / 0.5087 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.4097, allocations: 2.652 MB / 0.5113 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.4098, allocations: 2.781 kB / 0.5113 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.4106, allocations: 185 kB / 0.5114 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.4108, allocations: 97.25 kB / 0.5115 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.4109, allocations: 25.08 kB / 0.5116 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.4128, allocations: 4.128 MB / 0.5156 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4128, allocations: 0 / 0.5156 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.4152, allocations: 1.935 MB / 0.5175 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.4155, allocations: 263.6 kB / 0.5177 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.4157, allocations: 35.88 kB / 0.5178 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/0.4163, allocations: 47.95 kB / 0.5178 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.4164, allocations: 52.92 kB / 0.5179 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.4165, allocations: 31.98 kB / 0.5179 GB, free: 3.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008035/0.4173, allocations: 0.6385 MB / 0.5185 GB, free: 2.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.4173, allocations: 0 / 0.5185 GB, free: 2.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001958/0.4192, allocations: 0.552 MB / 0.519 GB, free: 2.328 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 (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.0002791/0.4195, allocations: 160.3 kB / 0.5192 GB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004848/0.4244, allocations: 3.012 MB / 0.5221 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4244, allocations: 0 / 0.5221 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4256, allocations: 0.8298 MB / 0.523 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.4271, allocations: 280.1 kB / 0.5232 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.4329, allocations: 3.911 MB / 0.527 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009604/0.4339, allocations: 1.336 MB / 0.5283 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.4349, allocations: 259.6 kB / 0.5286 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.4352, allocations: 87.41 kB / 0.5287 GB, free: 8.309 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4352, allocations: 0 / 0.5287 GB, free: 8.309 MB / 398.1 MB Notification: Performance of Templates: time 0.03542/0.4706, allocations: 23.23 MB / 0.5514 GB, free: 1.105 MB / 414.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: