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.001184/0.001184, allocations: 107.8 kB / 17.06 MB, free: 6.02 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.001129/0.001129, allocations: 191 kB / 18 MB, free: 5.102 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1855/0.1855, allocations: 38.04 MB / 329.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 59.91 kB / 458.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4588, allocations: 58.06 MB / 0.5041 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01395/0.4728, allocations: 10.38 MB / 0.5142 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.4894, allocations: 6.286 MB / 0.5204 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.4922, allocations: 42.06 kB / 0.5204 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02737/0.5196, allocations: 12.5 MB / 0.5326 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.5226, allocations: 0.8006 MB / 0.5334 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.5244, allocations: 0.6041 MB / 0.534 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005868/0.5302, allocations: 3.524 MB / 0.5374 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.5321, allocations: 1.199 MB / 0.5386 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.5338, allocations: 0.9035 MB / 0.5395 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.5353, allocations: 1.005 MB / 0.5405 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.5355, allocations: 156.8 kB / 0.5406 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00095/0.5365, allocations: 463.8 kB / 0.5411 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005557/0.5371, allocations: 0.6039 MB / 0.5417 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007599/0.5378, allocations: 0.8046 MB / 0.5424 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.5407, allocations: 2.273 MB / 0.5447 GB, free: 15.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.5408, allocations: 4 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5408, allocations: 0 / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.894e-05/0.5408, allocations: 0 / 0.5447 GB, free: 15.02 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.004324/0.5452, allocations: 1.949 MB / 0.5466 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5452, allocations: 8.031 kB / 0.5466 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.5462, allocations: 239.7 kB / 0.5468 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.5486, allocations: 1.2 MB / 0.548 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.5487, allocations: 86.19 kB / 0.5481 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.549, allocations: 139.9 kB / 0.5482 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.5516, allocations: 1.481 MB / 0.5496 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/0.5516, allocations: 4 kB / 0.5496 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.5518, allocations: 48 kB / 0.5497 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/0.552, allocations: 78.03 kB / 0.5498 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.5544, allocations: 1.21 MB / 0.5509 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009695/0.5641, allocations: 5.672 MB / 0.5565 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.5658, allocations: 0.9673 MB / 0.5574 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/0.5666, allocations: 482 kB / 0.5579 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.5667, allocations: 16.72 kB / 0.5579 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.5667, allocations: 43.16 kB / 0.5579 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.5668, allocations: 0 / 0.5579 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.01478/0.5815, allocations: 5.519 MB / 0.5633 GB, free: 11.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.5817, allocations: 179.1 kB / 0.5635 GB, free: 11.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.5831, allocations: 0.9285 MB / 0.5644 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.5832, allocations: 45.7 kB / 0.5645 GB, free: 10.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.5837, allocations: 0.6372 MB / 0.5651 GB, free: 9.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.584, allocations: 360.9 kB / 0.5654 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.5844, allocations: 198.9 kB / 0.5656 GB, free: 8.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5845, allocations: 353.9 kB / 0.5659 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009259/0.5855, allocations: 465.9 kB / 0.5664 GB, free: 8.031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.5866, allocations: 0.7139 MB / 0.5671 GB, free: 7.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009807/0.5964, allocations: 2.753 MB / 0.5698 GB, free: 4.332 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.5965, allocations: 4 kB / 0.5698 GB, free: 4.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.006029/0.6025, allocations: 2.161 MB / 0.5719 GB, free: 2.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.6026, allocations: 8.906 kB / 0.5719 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.6026, allocations: 11.98 kB / 0.5719 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/0.6065, allocations: 0.9954 MB / 0.5729 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.6071, allocations: 155.8 kB / 0.573 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/0.6262, allocations: 10.55 MB / 0.5833 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.6276, allocations: 59.95 kB / 0.5834 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.6277, allocations: 43.98 kB / 0.5834 GB, free: 6.047 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.001405/0.6291, allocations: 0.7641 MB / 0.5842 GB, free: 5.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009558/0.6301, allocations: 0.6943 MB / 0.5849 GB, free: 4.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009748/0.6398, allocations: 2.686 MB / 0.5875 GB, free: 1.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.296e-06/0.6399, allocations: 4 kB / 0.5875 GB, free: 1.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.005077/0.645, allocations: 2.006 MB / 0.5894 GB, free: 15.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.645, allocations: 15.94 kB / 0.5895 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.645, allocations: 8 kB / 0.5895 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/0.6488, allocations: 0.9716 MB / 0.5904 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.6494, allocations: 163.7 kB / 0.5906 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.6645, allocations: 10.07 MB / 0.6004 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/0.6655, allocations: 56.03 kB / 0.6005 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.6656, allocations: 51.97 kB / 0.6005 GB, free: 4.02 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.0003661/0.666, allocations: 240.1 kB / 0.6007 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.6662, allocations: 123.2 kB / 0.6009 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/0.6701, allocations: 1.622 MB / 0.6024 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.6701, allocations: 12 kB / 0.6025 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6702, allocations: 0 / 0.6025 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.6702, allocations: 11.97 kB / 0.6025 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/0.6762, allocations: 3.159 MB / 0.6055 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6762, allocations: 0 / 0.6055 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/0.677, allocations: 159.8 kB / 0.6057 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.6793, allocations: 470 kB / 0.6062 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/0.6794, allocations: 31.98 kB / 0.6062 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007756/0.6871, allocations: 6.929 MB / 0.6129 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6872, allocations: 3.938 kB / 0.613 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/0.6919, allocations: 2.341 MB / 0.6152 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.6925, allocations: 292.2 kB / 0.6155 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.6927, allocations: 31.98 kB / 0.6155 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.6934, allocations: 43.95 kB / 0.6156 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.6936, allocations: 76.81 kB / 0.6157 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.6936, allocations: 31.98 kB / 0.6157 GB, free: 3.848 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001073/0.6947, allocations: 0.65 MB / 0.6163 GB, free: 3.188 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6947, allocations: 4 kB / 0.6163 GB, free: 3.184 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002461/0.6972, allocations: 0.5937 MB / 0.6169 GB, free: 2.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (turboGen.generator.i_s[3],turboGen.generator.psi_s[1],turboGen.generator.psi_s[2],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 (78): * Single equations (assignments): 74 * 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): 2 systems {(2,9,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004208/0.6976, allocations: 155 kB / 0.6171 GB, free: 2.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006122/0.7038, allocations: 3.169 MB / 0.6202 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7038, allocations: 112 / 0.6202 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.7055, allocations: 1.04 MB / 0.6212 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.707, allocations: 309.1 kB / 0.6215 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.7131, allocations: 3.353 MB / 0.6247 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.7143, allocations: 1.365 MB / 0.6261 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008598/0.7151, allocations: 249.2 kB / 0.6263 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.7154, allocations: 79.42 kB / 0.6264 GB, free: 8.734 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7154, allocations: 0 / 0.6264 GB, free: 8.734 MB / 494.1 MB Notification: Performance of Templates: time 0.05061/0.766, allocations: 29.69 MB / 0.6554 GB, free: 11.21 MB / 0.5137 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)