Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 87.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9613/0.9613, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2257/0.2257, allocations: 29.42 MB / 290.9 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.511e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008186/0.008201, allocations: 9.75 MB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007488/0.01569, allocations: 6.849 MB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.01632, allocations: 67.44 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01424/0.03056, allocations: 14.37 MB / 400.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.03242, allocations: 1.158 MB / 401.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.03364, allocations: 0.7559 MB / 402.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003262/0.0369, allocations: 4.23 MB / 406.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008944/0.0378, allocations: 0.8591 MB / 407.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.03921, allocations: 1.621 MB / 409.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.04025, allocations: 1.325 MB / 410.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.04041, allocations: 144 kB / 410.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006878/0.04109, allocations: 0.5576 MB / 411.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005397/0.04163, allocations: 0.9702 MB / 412.3 MB, free: 200 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004984/0.04213, allocations: 0.6665 MB / 413 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.0437, allocations: 1.923 MB / 414.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.0437, allocations: 0 / 414.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0437, allocations: 0 / 414.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.04372, allocations: 0 / 414.9 MB, free: 13.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.002333/0.04605, allocations: 2.303 MB / 417.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.04608, allocations: 11.98 kB / 417.2 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.04727, allocations: 0.5382 MB / 417.7 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.04856, allocations: 1.2 MB / 418.9 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.04862, allocations: 110.7 kB / 419 MB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.04895, allocations: 223.8 kB / 419.3 MB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.05055, allocations: 1.496 MB / 420.8 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.05058, allocations: 4 kB / 420.8 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/0.05067, allocations: 55.98 kB / 420.8 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003306/0.051, allocations: 194.6 kB / 421 MB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.05218, allocations: 0.7899 MB / 421.8 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006096/0.05828, allocations: 7.682 MB / 429.5 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.0594, allocations: 0.905 MB / 430.4 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.06001, allocations: 447 kB / 430.8 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/0.06008, allocations: 25.3 kB / 430.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.06011, allocations: 62.7 kB / 430.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.815e-06/0.06012, allocations: 0 / 430.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.005035/0.06515, allocations: 3.442 MB / 434.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.06521, allocations: 94.41 kB / 434.4 MB, free: 9.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.06601, allocations: 1.007 MB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.06608, allocations: 53.73 kB / 435.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.06651, allocations: 0.874 MB / 436.4 MB, free: 7.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.06685, allocations: 0.5578 MB / 436.9 MB, free: 6.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/0.06719, allocations: 341.1 kB / 437.3 MB, free: 6.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.06732, allocations: 484.7 kB / 437.7 MB, free: 6.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.06777, allocations: 307.8 kB / 438 MB, free: 5.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/0.06854, allocations: 0.9722 MB / 439 MB, free: 4.496 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.07105, allocations: 2.03 MB / 441 MB, free: 2.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.07107, allocations: 7.984 kB / 441 MB, free: 2.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.1819/0.2529, allocations: 2.599 MB / 443.6 MB, free: 88.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.253, allocations: 12.34 kB / 443.7 MB, free: 88.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.253, allocations: 22.69 kB / 443.7 MB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/0.2561, allocations: 1.373 MB / 445.1 MB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.2568, allocations: 283.3 kB / 445.3 MB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.2678, allocations: 17.9 MB / 463.2 MB, free: 74.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.2686, allocations: 75.56 kB / 463.3 MB, free: 74.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.2687, allocations: 80.53 kB / 463.4 MB, free: 74.91 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * 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 initialization (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004951/0.2692, allocations: 268.7 kB / 463.6 MB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.2694, allocations: 189.4 kB / 463.8 MB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.2708, allocations: 1.219 MB / 465 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2708, allocations: 14.66 kB / 465.1 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2708, allocations: 2.875 kB / 465.1 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2709, allocations: 11.86 kB / 465.1 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.2738, allocations: 2.544 MB / 467.6 MB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2738, allocations: 5.5 kB / 467.6 MB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/0.2747, allocations: 339.8 kB / 468 MB, free: 74.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.275, allocations: 178.8 kB / 468.1 MB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/0.2751, allocations: 49.41 kB / 468.2 MB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.2775, allocations: 9.181 MB / 477.4 MB, free: 65.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2775, allocations: 0 / 477.4 MB, free: 65.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.2793, allocations: 1.679 MB / 479 MB, free: 64.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.2797, allocations: 243.3 kB / 479.3 MB, free: 64.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.2798, allocations: 48.83 kB / 479.3 MB, free: 64.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.2802, allocations: 59.08 kB / 479.4 MB, free: 64.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.2804, allocations: 108.9 kB / 479.5 MB, free: 64.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.2804, allocations: 39.77 kB / 479.5 MB, free: 64.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.2809, allocations: 0.5655 MB / 480.1 MB, free: 64.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2809, allocations: 4 kB / 480.1 MB, free: 64.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001455/0.2823, allocations: 0.545 MB / 480.6 MB, free: 64.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],PI.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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,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.0003273/0.2827, allocations: 181.2 kB / 480.8 MB, free: 64.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.2853, allocations: 2.894 MB / 483.7 MB, free: 62.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.2853, allocations: 0 / 483.7 MB, free: 62.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.2862, allocations: 1.366 MB / 485.1 MB, free: 62.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.2871, allocations: 310 kB / 485.4 MB, free: 62.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.292, allocations: 4.095 MB / 489.5 MB, free: 59.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.2924, allocations: 0.4951 MB / 490 MB, free: 59.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006949/0.2931, allocations: 361.6 kB / 490.3 MB, free: 59.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.2933, allocations: 105.9 kB / 490.4 MB, free: 59.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2933, allocations: 0 / 490.4 MB, free: 59.68 MB / 410.7 MB Notification: Performance of Templates: time 0.03759/0.3309, allocations: 28.22 MB / 0.5065 GB, free: 52.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.139181051868945]