Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0009358/0.0009358, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009683/0.0009683, allocations: 161 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 1.111/1.111, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.232/0.232, allocations: 29.42 MB / 290.9 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.841e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01077/0.01079, allocations: 9.734 MB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.02133, allocations: 6.853 MB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.02266, allocations: 71.44 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0196/0.04226, allocations: 14.08 MB / 400.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.04483, allocations: 1.162 MB / 401.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.04632, allocations: 0.7482 MB / 402.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004808/0.05113, allocations: 4.234 MB / 406.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.05246, allocations: 0.8591 MB / 407.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.05457, allocations: 1.473 MB / 408.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.05653, allocations: 1.414 MB / 410.3 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.057, allocations: 152 kB / 410.4 MB, free: 2.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.05813, allocations: 0.5655 MB / 411 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.05881, allocations: 0.9702 MB / 411.9 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.05985, allocations: 0.6898 MB / 412.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.06261, allocations: 1.947 MB / 414.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.06261, allocations: 0 / 414.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.06261, allocations: 0 / 414.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.654e-05/0.06269, allocations: 0 / 414.6 MB, free: 13.91 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.003266/0.06596, allocations: 2.338 MB / 416.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.066, allocations: 11.98 kB / 416.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.06734, allocations: 0.5226 MB / 417.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.06909, allocations: 1.262 MB / 418.7 MB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/0.06914, allocations: 102.7 kB / 418.8 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/0.06949, allocations: 231.7 kB / 419 MB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.07142, allocations: 1.489 MB / 420.5 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.07145, allocations: 3.938 kB / 420.5 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/0.07155, allocations: 59.98 kB / 420.6 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003393/0.07189, allocations: 186.8 kB / 420.8 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.07326, allocations: 0.7937 MB / 421.6 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007026/0.08028, allocations: 7.697 MB / 429.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.0815, allocations: 0.8972 MB / 430.2 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.08215, allocations: 450 kB / 430.6 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.08223, allocations: 25.3 kB / 430.6 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.08226, allocations: 58.7 kB / 430.7 MB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.436e-06/0.08227, allocations: 3.938 kB / 430.7 MB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.005473/0.08774, allocations: 3.435 MB / 434.1 MB, free: 9.734 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.08779, allocations: 94.42 kB / 434.2 MB, free: 9.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.08882, allocations: 1.019 MB / 435.2 MB, free: 8.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/0.0889, allocations: 53.7 kB / 435.3 MB, free: 8.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.08934, allocations: 0.8741 MB / 436.2 MB, free: 7.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.08969, allocations: 0.5579 MB / 436.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.09004, allocations: 337.1 kB / 437 MB, free: 6.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.09014, allocations: 480.8 kB / 437.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.09066, allocations: 307.8 kB / 437.8 MB, free: 5.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/0.09147, allocations: 0.9834 MB / 438.8 MB, free: 4.711 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.002108/0.09358, allocations: 2.064 MB / 440.9 MB, free: 2.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.09359, allocations: 8 kB / 440.9 MB, free: 2.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.1574/0.251, allocations: 2.621 MB / 443.5 MB, free: 88.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.2511, allocations: 16.62 kB / 443.5 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.2511, allocations: 12.81 kB / 443.5 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.2541, allocations: 1.374 MB / 444.9 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.2548, allocations: 294.8 kB / 445.2 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.2669, allocations: 17.88 MB / 463.1 MB, free: 75.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/0.2679, allocations: 79.34 kB / 463.1 MB, free: 75.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.268, allocations: 78.5 kB / 463.2 MB, free: 75.06 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.0005855/0.2686, allocations: 284.1 kB / 463.5 MB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.2688, allocations: 194.2 kB / 463.7 MB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.2704, allocations: 1.206 MB / 464.9 MB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2704, allocations: 12.94 kB / 464.9 MB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2704, allocations: 3.219 kB / 464.9 MB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2704, allocations: 14.11 kB / 464.9 MB, free: 74.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.2737, allocations: 2.546 MB / 467.5 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2737, allocations: 2.656 kB / 467.5 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/0.2746, allocations: 332.4 kB / 467.8 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.275, allocations: 182.3 kB / 468 MB, free: 74.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/0.275, allocations: 46.42 kB / 468 MB, free: 74.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/0.2779, allocations: 9.172 MB / 477.2 MB, free: 65.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2779, allocations: 10.56 kB / 477.2 MB, free: 65.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.2799, allocations: 1.672 MB / 478.9 MB, free: 64.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.2803, allocations: 250.3 kB / 479.1 MB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2804, allocations: 51.95 kB / 479.2 MB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.2808, allocations: 55.81 kB / 479.2 MB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.281, allocations: 111.8 kB / 479.3 MB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.2811, allocations: 44.03 kB / 479.4 MB, free: 64.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005715/0.2816, allocations: 0.5668 MB / 479.9 MB, free: 64.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2816, allocations: 0 / 479.9 MB, free: 64.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001535/0.2832, allocations: 0.5423 MB / 480.5 MB, free: 64.6 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.0003256/0.2835, allocations: 181.8 kB / 480.7 MB, free: 64.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.2863, allocations: 2.899 MB / 483.6 MB, free: 63.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2863, allocations: 0 / 483.6 MB, free: 63.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009698/0.2873, allocations: 1.369 MB / 484.9 MB, free: 62.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.2882, allocations: 316.2 kB / 485.2 MB, free: 62.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.2932, allocations: 4.129 MB / 489.4 MB, free: 60 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.2936, allocations: 0.4964 MB / 489.9 MB, free: 59.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006975/0.2943, allocations: 360.9 kB / 490.2 MB, free: 59.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.2946, allocations: 117.7 kB / 490.3 MB, free: 59.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2946, allocations: 0 / 490.3 MB, free: 59.78 MB / 410.7 MB Notification: Performance of Templates: time 0.03239/0.3269, allocations: 27.18 MB / 0.5054 GB, free: 53.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.020495133008808]