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.002068/0.002068, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002717/0.002717, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.472/1.472, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.2988/0.2988, allocations: 29.42 MB / 290.5 MB, free: 2.445 MB / 266.7 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 2.414e-06/2.414e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.282e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01732/0.01735, allocations: 10.22 MB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.03016, allocations: 6.475 MB / 385.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.03136, allocations: 67.44 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02783/0.05919, allocations: 14.51 MB / 400.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.06262, allocations: 1.181 MB / 401.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.06498, allocations: 0.752 MB / 402.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007383/0.07237, allocations: 4.226 MB / 406.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.07422, allocations: 0.8592 MB / 407.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.077, allocations: 1.484 MB / 408.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.07947, allocations: 1.406 MB / 410.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.07995, allocations: 152 kB / 410.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.08178, allocations: 0.5654 MB / 410.8 MB, free: 1.293 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.08303, allocations: 0.9701 MB / 411.7 MB, free: 328 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.08417, allocations: 0.6819 MB / 412.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.08802, allocations: 2.621 MB / 415 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.08803, allocations: 4 kB / 415.1 MB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08803, allocations: 0 / 415.1 MB, free: 13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.102e-05/0.08807, allocations: 0 / 415.1 MB, free: 13 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.005242/0.09331, allocations: 2.194 MB / 417.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.09336, allocations: 15.98 kB / 417.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.09582, allocations: 0.5343 MB / 417.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.0991, allocations: 1.31 MB / 419.1 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.09921, allocations: 102.7 kB / 419.2 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/0.09982, allocations: 243.7 kB / 419.4 MB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.1038, allocations: 2.196 MB / 421.6 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.1038, allocations: 7.922 kB / 421.6 MB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.104, allocations: 59.98 kB / 421.7 MB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006476/0.1047, allocations: 186.8 kB / 421.9 MB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.1082, allocations: 1.819 MB / 423.7 MB, free: 4.148 MB / 394.7 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.01344/0.1217, allocations: 7.417 MB / 431.1 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.1245, allocations: 1.377 MB / 432.5 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.1262, allocations: 0.7825 MB / 433.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.25e-05/0.1263, allocations: 21.31 kB / 433.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.1263, allocations: 59.75 kB / 433.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.467e-06/0.1263, allocations: 0 / 433.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.01382/0.1402, allocations: 5.337 MB / 438.7 MB, free: 4.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.1402, allocations: 94.45 kB / 438.8 MB, free: 4.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.1418, allocations: 1.016 MB / 439.8 MB, free: 3.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.1419, allocations: 49.7 kB / 439.9 MB, free: 3.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/0.1426, allocations: 0.8089 MB / 440.7 MB, free: 2.801 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.1432, allocations: 0.5422 MB / 441.2 MB, free: 2.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005453/0.1438, allocations: 331.5 kB / 441.5 MB, free: 1.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1439, allocations: 301.1 kB / 441.8 MB, free: 1.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.1453, allocations: 0.7379 MB / 442.6 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1562/0.3015, allocations: 1.229 MB / 443.8 MB, free: 109.5 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.009777/0.3113, allocations: 4.328 MB / 448.1 MB, free: 108.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.3113, allocations: 3.344 kB / 448.1 MB, free: 108.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007048/0.3184, allocations: 3.7 MB / 451.8 MB, free: 107.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.3184, allocations: 9.312 kB / 451.8 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.3184, allocations: 16.44 kB / 451.8 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004856/0.3233, allocations: 1.72 MB / 453.6 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3244, allocations: 294.4 kB / 453.9 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.3449, allocations: 19.93 MB / 473.8 MB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.3464, allocations: 84.45 kB / 473.9 MB, free: 94.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.3465, allocations: 81.03 kB / 473.9 MB, free: 94.2 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: 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.0008818/0.3474, allocations: 0.5233 MB / 474.5 MB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.3477, allocations: 188.9 kB / 474.7 MB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.3507, allocations: 1.913 MB / 476.6 MB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3507, allocations: 12.22 kB / 476.6 MB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.3507, allocations: 3.219 kB / 476.6 MB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.3507, allocations: 6.75 kB / 476.6 MB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/0.3563, allocations: 3.303 MB / 479.9 MB, free: 91.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3563, allocations: 3.375 kB / 479.9 MB, free: 91.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.358, allocations: 338.6 kB / 480.2 MB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/0.3587, allocations: 224.7 kB / 480.4 MB, free: 91.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.3589, allocations: 49.5 kB / 480.5 MB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004903/0.3638, allocations: 7.312 MB / 487.8 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3638, allocations: 2.156 kB / 487.8 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.3685, allocations: 2.661 MB / 490.5 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/0.3692, allocations: 264.7 kB / 490.7 MB, free: 83.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.3695, allocations: 53.75 kB / 490.8 MB, free: 83.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.3704, allocations: 59.8 kB / 490.8 MB, free: 83.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.3707, allocations: 111.5 kB / 490.9 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.3708, allocations: 43.66 kB / 491 MB, free: 83.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.3719, allocations: 0.655 MB / 491.6 MB, free: 83.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3719, allocations: 0 / 491.6 MB, free: 83.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00236/0.3742, allocations: 0.5419 MB / 492.2 MB, free: 83.35 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.0003929/0.3746, allocations: 180.2 kB / 492.4 MB, free: 83.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006033/0.3807, allocations: 3.174 MB / 495.5 MB, free: 81.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3807, allocations: 0 / 495.5 MB, free: 81.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.3826, allocations: 1.374 MB / 496.9 MB, free: 80.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.3843, allocations: 329 kB / 497.2 MB, free: 80.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/0.3917, allocations: 4.702 MB / 0.4902 GB, free: 77.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.3931, allocations: 1.005 MB / 0.4912 GB, free: 77.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001346/0.3945, allocations: 425.9 kB / 0.4916 GB, free: 76.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.3949, allocations: 109.5 kB / 0.4917 GB, free: 76.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3949, allocations: 0 / 0.4917 GB, free: 76.77 MB / 410.7 MB Notification: Performance of Templates: time 0.04141/0.4363, allocations: 27.01 MB / 0.518 GB, free: 52.52 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.090362775954418]