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.001632/0.001631, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.002024/0.002024, allocations: 192 kB / 18.61 MB, free: 4.543 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.512/1.512, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1925/0.1925, allocations: 38.04 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 65.92 kB / 400.3 MB, free: 33.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1396, allocations: 58.06 MB / 458.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01528/0.1549, allocations: 10.38 MB / 468.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1688, allocations: 6.288 MB / 475 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.1712, allocations: 35.81 kB / 475 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02398/0.1953, allocations: 12.49 MB / 487.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.1986, allocations: 0.793 MB / 488.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.2007, allocations: 0.6234 MB / 488.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006363/0.2071, allocations: 3.517 MB / 492.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.2097, allocations: 1.203 MB / 493.6 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.2118, allocations: 0.9144 MB / 494.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.2139, allocations: 0.9884 MB / 495.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000581/0.2145, allocations: 156 kB / 495.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.216, allocations: 467.3 kB / 496.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006906/0.2167, allocations: 0.6039 MB / 496.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009756/0.2177, allocations: 0.8048 MB / 497.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.2203, allocations: 2.266 MB / 499.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2203, allocations: 0 / 499.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2203, allocations: 0 / 499.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.2203, allocations: 4 kB / 499.8 MB, free: 13.66 MB / 382.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.004177/0.2245, allocations: 1.907 MB / 0.49 GB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2246, allocations: 12.03 kB / 0.49 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/0.2255, allocations: 218.9 kB / 0.4902 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.228, allocations: 1.191 MB / 0.4914 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.2281, allocations: 86.2 kB / 0.4915 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.2284, allocations: 136 kB / 0.4916 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.2307, allocations: 1.477 MB / 0.493 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.2307, allocations: 11.84 kB / 0.493 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.2309, allocations: 47.98 kB / 0.4931 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.231, allocations: 82.03 kB / 0.4932 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.2331, allocations: 1.206 MB / 0.4943 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008101/0.2412, allocations: 5.662 MB / 0.4999 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2428, allocations: 0.9663 MB / 0.5008 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2819/0.5247, allocations: 484.2 kB / 0.5013 GB, free: 57.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.914e-05/0.5248, allocations: 9.719 kB / 0.5013 GB, free: 57.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.5249, allocations: 44.27 kB / 0.5013 GB, free: 57.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 3.437e-06/0.5249, allocations: 0 / 0.5013 GB, free: 57.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.008878/0.5338, allocations: 3.68 MB / 0.5049 GB, free: 56.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.5339, allocations: 172.7 kB / 0.5051 GB, free: 55.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.5357, allocations: 0.9237 MB / 0.506 GB, free: 55.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.5358, allocations: 42.17 kB / 0.506 GB, free: 55.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.5362, allocations: 0.6287 MB / 0.5066 GB, free: 55.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.5366, allocations: 307.2 kB / 0.5069 GB, free: 54.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.5369, allocations: 181.4 kB / 0.5071 GB, free: 54.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.537, allocations: 352.5 kB / 0.5074 GB, free: 54.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007546/0.5378, allocations: 401.3 kB / 0.5078 GB, free: 54.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/0.5386, allocations: 0.6382 MB / 0.5084 GB, free: 53.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.5403, allocations: 1.088 MB / 0.5095 GB, free: 53.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.5403, allocations: 2.906 kB / 0.5095 GB, free: 53.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004804/0.5451, allocations: 2.044 MB / 0.5115 GB, free: 52.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.5452, allocations: 8.906 kB / 0.5115 GB, free: 52.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5452, allocations: 6.469 kB / 0.5115 GB, free: 52.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.5482, allocations: 0.7899 MB / 0.5123 GB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007422/0.5489, allocations: 151.8 kB / 0.5124 GB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/0.565, allocations: 10.54 MB / 0.5227 GB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5662, allocations: 58.61 kB / 0.5228 GB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.5663, allocations: 38.53 kB / 0.5228 GB, free: 45.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001218/0.5675, allocations: 0.6886 MB / 0.5235 GB, free: 44.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006141/0.5682, allocations: 0.6192 MB / 0.5241 GB, free: 44.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/0.5693, allocations: 1.037 MB / 0.5251 GB, free: 43.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.077e-06/0.5693, allocations: 1.812 kB / 0.5251 GB, free: 43.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003832/0.5732, allocations: 1.884 MB / 0.527 GB, free: 42.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5732, allocations: 8.25 kB / 0.527 GB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.5732, allocations: 7.062 kB / 0.527 GB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.5756, allocations: 0.7699 MB / 0.5277 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.5762, allocations: 157 kB / 0.5279 GB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.5878, allocations: 10.08 MB / 0.5377 GB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5892, allocations: 51.97 kB / 0.5378 GB, free: 33.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.5894, allocations: 43.92 kB / 0.5378 GB, free: 33.29 MB / 382.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 (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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.5898, allocations: 244 kB / 0.538 GB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.5901, allocations: 110.6 kB / 0.5381 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.5919, allocations: 1.34 MB / 0.5395 GB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.592, allocations: 8 kB / 0.5395 GB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.592, allocations: 4 kB / 0.5395 GB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.592, allocations: 3.984 kB / 0.5395 GB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.5956, allocations: 2.636 MB / 0.542 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5957, allocations: 4 kB / 0.542 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/0.5966, allocations: 180 kB / 0.5422 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.5968, allocations: 86.48 kB / 0.5423 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/0.5969, allocations: 31.92 kB / 0.5423 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.5991, allocations: 4.5 MB / 0.5467 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5991, allocations: 3.172 kB / 0.5467 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.6017, allocations: 1.913 MB / 0.5486 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006471/0.6023, allocations: 267.7 kB / 0.5489 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.6025, allocations: 20 kB / 0.5489 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.6032, allocations: 43.95 kB / 0.5489 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6034, allocations: 52.92 kB / 0.549 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/0.6035, allocations: 23.98 kB / 0.549 GB, free: 21.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009923/0.6045, allocations: 0.6539 MB / 0.5496 GB, free: 20.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6045, allocations: 0 / 0.5496 GB, free: 20.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002395/0.6069, allocations: 0.5466 MB / 0.5502 GB, free: 19.93 MB / 382.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 (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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/0.6073, allocations: 156 kB / 0.5503 GB, free: 19.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005559/0.6128, allocations: 3.01 MB / 0.5532 GB, free: 16.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.6129, allocations: 4.125 kB / 0.5533 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.6141, allocations: 0.8178 MB / 0.5541 GB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.6159, allocations: 299 kB / 0.5543 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.6217, allocations: 3.224 MB / 0.5575 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009291/0.6227, allocations: 1.34 MB / 0.5588 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009883/0.6237, allocations: 263 kB / 0.559 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.624, allocations: 79.42 kB / 0.5591 GB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.624, allocations: 4 kB / 0.5591 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.04338/0.6674, allocations: 25.38 MB / 0.5839 GB, free: 1.5 MB / 398.1 MB 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 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)