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.0009/0.0009001, allocations: 95.73 kB / 16.3 MB, free: 6.461 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.0009933/0.0009933, allocations: 180.7 kB / 17.2 MB, free: 6.34 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.249/1.249, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2653/0.2653, allocations: 38.08 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 8 kB / 400 MB, free: 9.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2365, allocations: 59.16 MB / 459.1 MB, free: 30 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.008247/0.2448, allocations: 10.12 MB / 469.2 MB, free: 22.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.255, allocations: 6.237 MB / 475.5 MB, free: 18.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.2569, allocations: 65.5 kB / 475.5 MB, free: 18.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006225/0.2632, allocations: 2.669 MB / 478.2 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.2654, allocations: 0.6336 MB / 478.9 MB, free: 17.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.267, allocations: 0.5021 MB / 479.4 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.2685, allocations: 1.113 MB / 480.5 MB, free: 16.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.27, allocations: 1.094 MB / 481.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008746/0.2709, allocations: 0.6313 MB / 482.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007244/0.2716, allocations: 0.6266 MB / 482.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.2717, allocations: 58.12 kB / 482.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006404/0.2724, allocations: 305.1 kB / 483.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003731/0.2728, allocations: 472.4 kB / 483.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.273, allocations: 301 kB / 483.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2743, allocations: 1.729 MB / 485.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2744, allocations: 0.9688 kB / 485.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2744, allocations: 0 / 485.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.2744, allocations: 0 / 485.7 MB, free: 12.86 MB / 350.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.003027/0.2774, allocations: 1.657 MB / 487.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2775, allocations: 8.031 kB / 487.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.2783, allocations: 233.9 kB / 487.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.2802, allocations: 1.109 MB / 488.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.2803, allocations: 86.19 kB / 488.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.2805, allocations: 139.9 kB / 488.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.2823, allocations: 1.479 MB / 490.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.2823, allocations: 7.922 kB / 490.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/0.2824, allocations: 44 kB / 490.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.2826, allocations: 82.05 kB / 490.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.2842, allocations: 1.21 MB / 491.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/0.29, allocations: 5.721 MB / 497.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.2912, allocations: 0.9815 MB / 498.4 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.2912, allocations: 20.77 kB / 498.4 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.2913, allocations: 39.22 kB / 498.5 MB, free: 16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=76): time 2.535e-06/0.2913, allocations: 0 / 498.5 MB, free: 16 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.006545/0.2978, allocations: 3.686 MB / 0.4904 GB, free: 12.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.2979, allocations: 167.2 kB / 0.4905 GB, free: 11.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.2991, allocations: 0.9167 MB / 0.4914 GB, free: 11.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.2991, allocations: 45.7 kB / 0.4915 GB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.2996, allocations: 0.6239 MB / 0.4921 GB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.2998, allocations: 307.6 kB / 0.4924 GB, free: 10.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.2999, allocations: 20 kB / 0.4924 GB, free: 10.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3, allocations: 353.9 kB / 0.4927 GB, free: 9.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.3006, allocations: 394.8 kB / 0.4931 GB, free: 9.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.3014, allocations: 0.6289 MB / 0.4937 GB, free: 8.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.3021, allocations: 494.8 kB / 0.4942 GB, free: 8.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3022, allocations: 0 / 0.4942 GB, free: 8.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004064/0.3062, allocations: 2.055 MB / 0.4962 GB, free: 5.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009082/0.3072, allocations: 2.794 MB / 0.4989 GB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3072, allocations: 8 kB / 0.4989 GB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/0.3097, allocations: 0.8128 MB / 0.4997 GB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.3103, allocations: 151.8 kB / 0.4999 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.3241, allocations: 9.922 MB / 0.5096 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.325, allocations: 59.95 kB / 0.5096 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.3251, allocations: 43.94 kB / 0.5097 GB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.3251, allocations: 4.188 kB / 0.5097 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003152/0.3283, allocations: 1.711 MB / 0.5113 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3283, allocations: 8 kB / 0.5114 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.3305, allocations: 0.7349 MB / 0.5121 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.3311, allocations: 163.7 kB / 0.5122 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.3433, allocations: 9.3 MB / 0.5213 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3444, allocations: 51.88 kB / 0.5214 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.3445, allocations: 40 kB / 0.5214 GB, free: 11.09 MB / 398.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.0008806/0.3454, allocations: 481 kB / 0.5219 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.3456, allocations: 106.7 kB / 0.522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.3475, allocations: 1.327 MB / 0.5233 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.3475, allocations: 8 kB / 0.5233 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3475, allocations: 8 kB / 0.5233 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.3475, allocations: 3.984 kB / 0.5233 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.3513, allocations: 2.599 MB / 0.5258 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3513, allocations: 4 kB / 0.5258 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008794/0.3522, allocations: 175.8 kB / 0.526 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.3524, allocations: 90.34 kB / 0.5261 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.3525, allocations: 31.98 kB / 0.5261 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.3551, allocations: 4.121 MB / 0.5301 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3551, allocations: 0 / 0.5301 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.3576, allocations: 1.926 MB / 0.532 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.3581, allocations: 267.6 kB / 0.5323 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.3582, allocations: 31.92 kB / 0.5323 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.3589, allocations: 51.95 kB / 0.5323 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.359, allocations: 56.88 kB / 0.5324 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.359, allocations: 31.92 kB / 0.5324 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009111/0.3599, allocations: 0.6266 MB / 0.533 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.36, allocations: 0 / 0.533 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001826/0.3618, allocations: 0.5548 MB / 0.5336 GB, free: 13.87 MB / 414.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.000297/0.3621, allocations: 154 kB / 0.5337 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004751/0.3669, allocations: 2.952 MB / 0.5366 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3669, allocations: 0 / 0.5366 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.368, allocations: 0.8141 MB / 0.5374 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.369, allocations: 254.3 kB / 0.5376 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.3744, allocations: 3.903 MB / 0.5415 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/0.3754, allocations: 1.346 MB / 0.5428 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008922/0.3763, allocations: 268.8 kB / 0.543 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.3765, allocations: 79.42 kB / 0.5431 GB, free: 3.938 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3765, allocations: 0 / 0.5431 GB, free: 3.938 MB / 414.1 MB Notification: Performance of Templates: time 0.03325/0.4098, allocations: 22.68 MB / 0.5653 GB, free: 13.41 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: