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.001577/0.001577, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001646/0.001646, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.1737/0.1737, allocations: 29.43 MB / 290.1 MB, free: 3.273 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.321e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01201/0.01204, allocations: 10.22 MB / 440.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.02405, allocations: 6.475 MB / 447.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.02585, allocations: 67.44 kB / 447.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2079/0.2338, allocations: 14.32 MB / 461.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.2363, allocations: 1.171 MB / 463 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.2382, allocations: 0.7513 MB / 463.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005395/0.2436, allocations: 4.203 MB / 467.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.2449, allocations: 0.8518 MB / 468.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.2472, allocations: 1.488 MB / 470.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.2491, allocations: 1.412 MB / 471.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.2494, allocations: 149.3 kB / 471.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.2504, allocations: 0.5596 MB / 472.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006532/0.2511, allocations: 0.9693 MB / 473.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007753/0.2518, allocations: 0.6817 MB / 474 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.2541, allocations: 2.623 MB / 476.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2542, allocations: 0 / 476.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2542, allocations: 2.25 kB / 476.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.2542, allocations: 0 / 476.6 MB, free: 8.414 MB / 366.1 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.003521/0.2577, allocations: 2.196 MB / 478.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2577, allocations: 11.98 kB / 478.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.2597, allocations: 404.4 kB / 479.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.2619, allocations: 1.239 MB / 480.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.2619, allocations: 102.9 kB / 480.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/0.2624, allocations: 248.7 kB / 480.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.2648, allocations: 2.184 MB / 483 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.2649, allocations: 8 kB / 483 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.265, allocations: 62.39 kB / 483.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005769/0.2656, allocations: 182.8 kB / 483.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.2679, allocations: 1.823 MB / 485.1 MB, free: 164 kB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.2793, allocations: 7.38 MB / 492.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.2818, allocations: 1.376 MB / 493.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.2833, allocations: 0.7831 MB / 494.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/0.2834, allocations: 14.34 kB / 494.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.2835, allocations: 55.78 kB / 494.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.156e-06/0.2835, allocations: 0 / 494.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01242/0.2959, allocations: 5.294 MB / 500 MB, free: 1.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.2959, allocations: 90.42 kB / 0.4883 GB, free: 1.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.2972, allocations: 1.012 MB / 0.4893 GB, free: 4 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.2974, allocations: 49.7 kB / 0.4894 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.298, allocations: 0.8107 MB / 0.4902 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/0.2985, allocations: 0.5422 MB / 0.4907 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000534/0.2991, allocations: 327.4 kB / 0.491 GB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2992, allocations: 305.1 kB / 0.4913 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3005, allocations: 0.7472 MB / 0.492 GB, free: 13.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.3022, allocations: 1.236 MB / 0.4932 GB, free: 11.8 MB / 398.1 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.0118/0.314, allocations: 4.315 MB / 0.4975 GB, free: 7.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.3141, allocations: 4 kB / 0.4975 GB, free: 7.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.00888/0.3229, allocations: 3.623 MB / 0.501 GB, free: 3.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.323, allocations: 12 kB / 0.501 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.367e-05/0.323, allocations: 16 kB / 0.501 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004465/0.3275, allocations: 1.451 MB / 0.5024 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3287, allocations: 282.8 kB / 0.5027 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02759/0.3563, allocations: 19.82 MB / 0.5221 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3576, allocations: 87.95 kB / 0.5222 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.3578, allocations: 76 kB / 0.5222 GB, free: 13.54 MB / 430.1 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: 66 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 137 * 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.0009867/0.3587, allocations: 0.5258 MB / 0.5227 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.359, allocations: 147.1 kB / 0.5229 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/0.3625, allocations: 1.913 MB / 0.5247 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3625, allocations: 16 kB / 0.5248 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3625, allocations: 7.984 kB / 0.5248 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3626, allocations: 7.922 kB / 0.5248 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/0.3688, allocations: 3.301 MB / 0.528 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3688, allocations: 4.25 kB / 0.528 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.3705, allocations: 339.6 kB / 0.5283 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.3711, allocations: 208 kB / 0.5285 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.3712, allocations: 47.97 kB / 0.5286 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006341/0.3776, allocations: 7.29 MB / 0.5357 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3776, allocations: 0 / 0.5357 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/0.3822, allocations: 2.622 MB / 0.5383 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/0.383, allocations: 262.9 kB / 0.5385 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.3832, allocations: 43.98 kB / 0.5385 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007798/0.3839, allocations: 68.16 kB / 0.5386 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.3842, allocations: 109 kB / 0.5387 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/0.3843, allocations: 39.98 kB / 0.5388 GB, free: 11.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009922/0.3853, allocations: 0.6611 MB / 0.5394 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3853, allocations: 0 / 0.5394 GB, free: 11.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002061/0.3874, allocations: 0.5468 MB / 0.5399 GB, free: 10.76 MB / 446.1 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.0004348/0.3878, allocations: 179.3 kB / 0.5401 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005719/0.3935, allocations: 3.151 MB / 0.5432 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3935, allocations: 4 kB / 0.5432 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.3957, allocations: 1.356 MB / 0.5445 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.3973, allocations: 321.7 kB / 0.5448 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.4048, allocations: 4.656 MB / 0.5494 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.406, allocations: 0.9928 MB / 0.5503 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001205/0.4072, allocations: 428.1 kB / 0.5507 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.4076, allocations: 108.5 kB / 0.5508 GB, free: 15.34 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4076, allocations: 4 kB / 0.5508 GB, free: 15.34 MB / 462.1 MB Notification: Performance of Templates: time 0.04724/0.4549, allocations: 26.88 MB / 0.5771 GB, free: 4.828 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.5939293429255486] Failed to read output from testmodel.py, exit status != 0: 0.4637245871126652 0.47810261 0.220907012 Calling exit ...