Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_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.001431/0.001432, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001509/0.001509, allocations: 188.3 kB / 18.68 MB, free: 4.406 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1762/0.1762, allocations: 38.03 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 55.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 58.06 MB / 0.5048 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009752/0.3123, allocations: 10.37 MB / 0.5149 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009819/0.3222, allocations: 6.288 MB / 0.5211 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.3232, allocations: 42.19 kB / 0.5211 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02147/0.3447, allocations: 12.51 MB / 0.5333 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.3473, allocations: 0.817 MB / 0.5341 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.349, allocations: 0.6106 MB / 0.5347 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00551/0.3546, allocations: 3.518 MB / 0.5381 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.3566, allocations: 1.199 MB / 0.5393 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.3583, allocations: 0.9269 MB / 0.5402 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.3602, allocations: 1.002 MB / 0.5412 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.3607, allocations: 154.4 kB / 0.5413 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3619, allocations: 456.6 kB / 0.5418 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007876/0.3627, allocations: 0.6126 MB / 0.5424 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.364, allocations: 0.8046 MB / 0.5432 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.3668, allocations: 2.262 MB / 0.5454 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.3668, allocations: 4 kB / 0.5454 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3668, allocations: 3.938 kB / 0.5454 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.082e-05/0.3669, allocations: 0 / 0.5454 GB, free: 15 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.00476/0.3716, allocations: 1.897 MB / 0.5472 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3717, allocations: 8.031 kB / 0.5472 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/0.3727, allocations: 226.9 kB / 0.5475 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.3753, allocations: 1.199 MB / 0.5486 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.3753, allocations: 86.2 kB / 0.5487 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/0.3758, allocations: 139.9 kB / 0.5488 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.3786, allocations: 1.48 MB / 0.5503 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.3787, allocations: 4 kB / 0.5503 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.3788, allocations: 40 kB / 0.5503 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.379, allocations: 82.03 kB / 0.5504 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.3814, allocations: 1.206 MB / 0.5516 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008138/0.3896, allocations: 5.659 MB / 0.5571 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.3911, allocations: 0.9675 MB / 0.5581 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/0.392, allocations: 485.6 kB / 0.5585 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.926e-05/0.392, allocations: 16.62 kB / 0.5585 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3921, allocations: 47.16 kB / 0.5586 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=76): time 2.845e-06/0.3921, allocations: 0 / 0.5586 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.01452/0.4066, allocations: 5.472 MB / 0.5639 GB, free: 11.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.4067, allocations: 171.2 kB / 0.5641 GB, free: 11.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.4081, allocations: 0.9285 MB / 0.565 GB, free: 10.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/0.4082, allocations: 41.7 kB / 0.565 GB, free: 10.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.4086, allocations: 0.6319 MB / 0.5657 GB, free: 9.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.4089, allocations: 346.9 kB / 0.566 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.4093, allocations: 198.8 kB / 0.5662 GB, free: 8.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4094, allocations: 349.9 kB / 0.5665 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007782/0.4102, allocations: 465.9 kB / 0.567 GB, free: 8.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.4111, allocations: 0.7099 MB / 0.5676 GB, free: 7.348 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/0.4202, allocations: 2.76 MB / 0.5703 GB, free: 4.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4202, allocations: 0 / 0.5703 GB, free: 4.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.005433/0.4257, allocations: 2.153 MB / 0.5724 GB, free: 2.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4257, allocations: 11.94 kB / 0.5725 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4257, allocations: 12.09 kB / 0.5725 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/0.4296, allocations: 0.9954 MB / 0.5734 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/0.4303, allocations: 151.8 kB / 0.5736 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/0.4472, allocations: 10.53 MB / 0.5839 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.4482, allocations: 67.78 kB / 0.5839 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.4484, allocations: 44.17 kB / 0.584 GB, free: 6.195 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.001247/0.4496, allocations: 0.7679 MB / 0.5847 GB, free: 5.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008408/0.4505, allocations: 0.6865 MB / 0.5854 GB, free: 4.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008784/0.4593, allocations: 2.694 MB / 0.588 GB, free: 1.812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.4593, allocations: 0 / 0.588 GB, free: 1.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.004803/0.4641, allocations: 2.001 MB / 0.59 GB, free: 15.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4641, allocations: 8 kB / 0.59 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4642, allocations: 11.94 kB / 0.59 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/0.4679, allocations: 0.964 MB / 0.5909 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.4685, allocations: 155.7 kB / 0.5911 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/0.4836, allocations: 10.08 MB / 0.6009 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.4847, allocations: 56.02 kB / 0.601 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.4848, allocations: 40 kB / 0.601 GB, free: 4.199 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.0003414/0.4852, allocations: 244.1 kB / 0.6013 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.4855, allocations: 114.6 kB / 0.6014 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.4894, allocations: 1.629 MB / 0.603 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.4894, allocations: 4.172 kB / 0.603 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4894, allocations: 0 / 0.603 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.4899, allocations: 283.5 kB / 0.6032 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.4901, allocations: 35.92 kB / 0.6033 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/0.4909, allocations: 47.95 kB / 0.6033 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.4911, allocations: 84.84 kB / 0.6034 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004255/0.4953, allocations: 1.849 MB / 0.6052 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002813/0.4982, allocations: 2.032 MB / 0.6072 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007597/0.4989, allocations: 0.5309 MB / 0.6077 GB, free: 13.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.5, allocations: 0.6462 MB / 0.6083 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Backend: time 4.41e-07/0.5, allocations: 4 kB / 0.6083 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006208/0.5062, allocations: 2.954 MB / 0.6112 GB, free: 9.602 MB / 478.1 MB Notification: Performance of SimCode: time 0.005256/0.5115, allocations: 3.661 MB / 0.6148 GB, free: 5.887 MB / 478.1 MB Notification: Performance of Templates: time 0.04871/0.5602, allocations: 31.44 MB / 0.6455 GB, free: 6.625 MB / 0.4981 GB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)