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.00105/0.00105, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.001026/0.001026, allocations: 190.6 kB / 18.68 MB, free: 4.375 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1774/0.1774, allocations: 38.04 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2802, allocations: 58.06 MB / 0.5048 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009458/0.2897, allocations: 10.37 MB / 0.5149 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009416/0.2992, allocations: 6.29 MB / 0.521 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.3, allocations: 41.62 kB / 0.5211 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02119/0.3212, allocations: 12.51 MB / 0.5333 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.3235, allocations: 0.8116 MB / 0.5341 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.325, allocations: 0.6168 MB / 0.5347 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004635/0.3297, allocations: 3.517 MB / 0.5381 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.3312, allocations: 1.196 MB / 0.5393 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.3325, allocations: 0.9267 MB / 0.5402 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.3338, allocations: 1.001 MB / 0.5412 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.334, allocations: 155.7 kB / 0.5413 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.3349, allocations: 461 kB / 0.5418 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.3355, allocations: 0.6078 MB / 0.5424 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.3363, allocations: 0.8085 MB / 0.5432 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.3386, allocations: 2.269 MB / 0.5454 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3386, allocations: 0 / 0.5454 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3386, allocations: 0 / 0.5454 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.3387, allocations: 4 kB / 0.5454 GB, free: 14.97 MB / 414.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.003593/0.3423, allocations: 1.949 MB / 0.5473 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3423, allocations: 15.89 kB / 0.5473 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.3432, allocations: 231.8 kB / 0.5475 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.3453, allocations: 1.2 MB / 0.5487 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.3454, allocations: 90.12 kB / 0.5488 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/0.3457, allocations: 139.9 kB / 0.5489 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.348, allocations: 1.481 MB / 0.5504 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.3481, allocations: 0 / 0.5504 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.3482, allocations: 44 kB / 0.5504 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.3483, allocations: 82.03 kB / 0.5505 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.3504, allocations: 1.206 MB / 0.5517 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00743/0.3579, allocations: 5.679 MB / 0.5572 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.3594, allocations: 0.9713 MB / 0.5581 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/0.3601, allocations: 474 kB / 0.5586 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-05/0.3602, allocations: 12.72 kB / 0.5586 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3603, allocations: 55.14 kB / 0.5587 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/0.3603, allocations: 0 / 0.5587 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.01411/0.3744, allocations: 5.515 MB / 0.5641 GB, free: 11.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.3745, allocations: 167.2 kB / 0.5642 GB, free: 11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.3758, allocations: 0.9285 MB / 0.5651 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/0.3759, allocations: 41.7 kB / 0.5652 GB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.3763, allocations: 0.6411 MB / 0.5658 GB, free: 9.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.3766, allocations: 364.9 kB / 0.5661 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.3769, allocations: 198.9 kB / 0.5663 GB, free: 8.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3771, allocations: 357.9 kB / 0.5667 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/0.3778, allocations: 461.9 kB / 0.5671 GB, free: 7.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/0.3787, allocations: 0.7139 MB / 0.5678 GB, free: 7.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009273/0.388, allocations: 2.753 MB / 0.5705 GB, free: 4.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.388, allocations: 0 / 0.5705 GB, free: 4.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.005542/0.3936, allocations: 2.166 MB / 0.5726 GB, free: 2.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3936, allocations: 8 kB / 0.5726 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3937, allocations: 7.984 kB / 0.5726 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00408/0.3977, allocations: 0.9996 MB / 0.5736 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.3984, allocations: 155.8 kB / 0.5737 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.415, allocations: 10.55 MB / 0.584 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009838/0.416, allocations: 59.94 kB / 0.5841 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.4161, allocations: 44.06 kB / 0.5841 GB, free: 5.996 MB / 446.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.turboGen.generator.psi_s[1] = 0.0 $DER.turboGen.generator.psi_s[2] = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001259/0.4173, allocations: 0.7641 MB / 0.5849 GB, free: 5.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008501/0.4182, allocations: 0.6865 MB / 0.5856 GB, free: 4.441 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008927/0.4271, allocations: 2.698 MB / 0.5882 GB, free: 1.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.4272, allocations: 0 / 0.5882 GB, free: 1.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.004784/0.432, allocations: 2.017 MB / 0.5902 GB, free: 15.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.432, allocations: 10.34 kB / 0.5902 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.432, allocations: 11.92 kB / 0.5902 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/0.4358, allocations: 0.9683 MB / 0.5911 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.4364, allocations: 155.7 kB / 0.5913 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.4509, allocations: 10.09 MB / 0.6011 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009107/0.4518, allocations: 47.97 kB / 0.6012 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.4519, allocations: 43.98 kB / 0.6012 GB, free: 3.977 MB / 462.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.turboGen.generator.psi_s[1] = 0.0 $DER.turboGen.generator.psi_s[2] = 0.0. 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.4522, allocations: 248.1 kB / 0.6015 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.4524, allocations: 127.2 kB / 0.6016 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/0.4562, allocations: 1.626 MB / 0.6032 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4563, allocations: 7.969 kB / 0.6032 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4563, allocations: 0 / 0.6032 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.4567, allocations: 288.2 kB / 0.6034 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.4569, allocations: 31.92 kB / 0.6035 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.4576, allocations: 47.95 kB / 0.6035 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.4577, allocations: 80.86 kB / 0.6036 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004011/0.4617, allocations: 1.845 MB / 0.6054 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002665/0.4644, allocations: 2.044 MB / 0.6074 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000758/0.4652, allocations: 0.5347 MB / 0.6079 GB, free: 13.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009142/0.4661, allocations: 0.6423 MB / 0.6085 GB, free: 12.37 MB / 478.1 MB Notification: Performance of Backend: time 6.01e-07/0.4661, allocations: 0 / 0.6085 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005756/0.4719, allocations: 2.965 MB / 0.6114 GB, free: 9.352 MB / 478.1 MB Notification: Performance of SimCode: time 0.004565/0.4765, allocations: 3.727 MB / 0.6151 GB, free: 5.566 MB / 478.1 MB Notification: Performance of Templates: time 0.04447/0.521, allocations: 31.43 MB / 0.6458 GB, free: 6.305 MB / 0.4981 GB 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)