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.0007633/0.0007634, allocations: 94 kB / 16.31 MB, free: 5.586 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.0008387/0.0008387, allocations: 181.5 kB / 17.2 MB, free: 5.504 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.245/1.245, allocations: 223.3 MB / 241.2 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2736/0.2736, allocations: 38.06 MB / 330.4 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 12 kB / 400.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2513, allocations: 59.16 MB / 459.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.008715/0.2601, allocations: 10.57 MB / 469.8 MB, free: 22.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.2682, allocations: 6.311 MB / 476.1 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.2695, allocations: 66.91 kB / 476.2 MB, free: 18.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.2854, allocations: 11.84 MB / 488 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.2875, allocations: 0.8085 MB / 488.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.2888, allocations: 0.5054 MB / 489.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.2921, allocations: 3.836 MB / 493.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.2935, allocations: 1.091 MB / 494.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007176/0.2942, allocations: 0.7193 MB / 495 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.295, allocations: 0.9183 MB / 495.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.2951, allocations: 56 kB / 496 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.2956, allocations: 323.4 kB / 496.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.2959, allocations: 0.5025 MB / 496.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.2962, allocations: 300.9 kB / 497.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.2972, allocations: 1.726 MB / 498.8 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2972, allocations: 0 / 498.8 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2972, allocations: 0 / 498.8 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.2972, allocations: 0 / 498.8 MB, free: 356 kB / 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.002864/0.3001, allocations: 1.655 MB / 0.4887 GB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3001, allocations: 12.03 kB / 0.4887 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.3009, allocations: 229.9 kB / 0.489 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.3028, allocations: 1.117 MB / 0.49 GB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.3029, allocations: 82.2 kB / 0.4901 GB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.3032, allocations: 135.9 kB / 0.4903 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.3053, allocations: 1.485 MB / 0.4917 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.3054, allocations: 4 kB / 0.4917 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-05/0.3055, allocations: 51.98 kB / 0.4918 GB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.3056, allocations: 78.05 kB / 0.4918 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.3075, allocations: 1.214 MB / 0.493 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006864/0.3144, allocations: 5.717 MB / 0.4986 GB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.3158, allocations: 0.9737 MB / 0.4996 GB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.3165, allocations: 498 kB / 0.5 GB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.3166, allocations: 8.656 kB / 0.5 GB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.3166, allocations: 51.16 kB / 0.5001 GB, free: 2.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=76): time 2.334e-06/0.3167, allocations: 0 / 0.5001 GB, free: 2.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.006339/0.323, allocations: 3.726 MB / 0.5037 GB, free: 14.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.3231, allocations: 171.2 kB / 0.5039 GB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3242, allocations: 0.9167 MB / 0.5048 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.3243, allocations: 45.7 kB / 0.5048 GB, free: 13.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.3247, allocations: 0.6277 MB / 0.5054 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.3249, allocations: 307.6 kB / 0.5057 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.325, allocations: 19.94 kB / 0.5057 GB, free: 12.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3251, allocations: 349.9 kB / 0.5061 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.3257, allocations: 401.8 kB / 0.5065 GB, free: 11.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007543/0.3265, allocations: 0.6405 MB / 0.5071 GB, free: 11.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.3272, allocations: 498.8 kB / 0.5076 GB, free: 10.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3272, allocations: 0 / 0.5076 GB, free: 10.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003857/0.3311, allocations: 2.098 MB / 0.5096 GB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.3313, allocations: 303.8 kB / 0.5099 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3313, allocations: 8 kB / 0.5099 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.3337, allocations: 0.8519 MB / 0.5107 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.3343, allocations: 151.8 kB / 0.5109 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.3475, allocations: 9.88 MB / 0.5205 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/0.3484, allocations: 72 kB / 0.5206 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.3485, allocations: 40 kB / 0.5206 GB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.3485, allocations: 4 kB / 0.5207 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003193/0.3517, allocations: 1.754 MB / 0.5224 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3517, allocations: 8.125 kB / 0.5224 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.3539, allocations: 0.7695 MB / 0.5231 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.3544, allocations: 155.7 kB / 0.5233 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.3661, allocations: 9.306 MB / 0.5324 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/0.3669, allocations: 51.95 kB / 0.5324 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.367, allocations: 43.98 kB / 0.5325 GB, free: 48 kB / 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 (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.0007059/0.3677, allocations: 476.9 kB / 0.5329 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.3678, allocations: 114.7 kB / 0.533 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.3698, allocations: 1.331 MB / 0.5343 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3698, allocations: 15.92 kB / 0.5343 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3698, allocations: 11.95 kB / 0.5343 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3698, allocations: 3.984 kB / 0.5343 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/0.3734, allocations: 2.653 MB / 0.5369 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3734, allocations: 4 kB / 0.5369 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/0.3742, allocations: 179.8 kB / 0.5371 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.3745, allocations: 90.5 kB / 0.5372 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.3745, allocations: 31.97 kB / 0.5372 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.3772, allocations: 4.132 MB / 0.5413 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3772, allocations: 0 / 0.5413 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.3796, allocations: 1.922 MB / 0.5431 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.3799, allocations: 267.6 kB / 0.5434 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.3801, allocations: 24 kB / 0.5434 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.3806, allocations: 55.95 kB / 0.5435 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.3807, allocations: 60.86 kB / 0.5435 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.3808, allocations: 24 kB / 0.5436 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008349/0.3816, allocations: 0.6384 MB / 0.5442 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3817, allocations: 3.938 kB / 0.5442 GB, free: 3.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001736/0.3834, allocations: 0.5469 MB / 0.5447 GB, free: 2.754 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.0002878/0.3837, allocations: 154.7 kB / 0.5449 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004837/0.3885, allocations: 3.009 MB / 0.5478 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3886, allocations: 8.062 kB / 0.5478 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3896, allocations: 0.8297 MB / 0.5486 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.3908, allocations: 258.2 kB / 0.5489 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.3959, allocations: 3.908 MB / 0.5527 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008856/0.3968, allocations: 1.328 MB / 0.554 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008162/0.3976, allocations: 272.7 kB / 0.5542 GB, free: 8.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.3978, allocations: 79.36 kB / 0.5543 GB, free: 8.742 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3978, allocations: 0 / 0.5543 GB, free: 8.742 MB / 430.1 MB Notification: Performance of Templates: time 0.03328/0.4311, allocations: 23.23 MB / 0.577 GB, free: 1.676 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: