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.001396/0.001396, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001023/0.001023, allocations: 164.5 kB / 24.99 MB, free: 8.746 MB / 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.9813/0.9813, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2618/0.2618, allocations: 29.42 MB / 291.2 MB, free: 2.504 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.[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.313e-06/1.313e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.666e-05, allocations: 5.812 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008537/0.008554, allocations: 10.98 MB / 380.6 MB, free: 304 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008832/0.01739, allocations: 6.826 MB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.01808, allocations: 67.44 kB / 387.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01876/0.03684, allocations: 14.53 MB / 402 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.03885, allocations: 1.177 MB / 403.2 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.04022, allocations: 0.7521 MB / 404 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004204/0.04442, allocations: 4.226 MB / 408.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.04544, allocations: 0.8553 MB / 409 MB, free: 3.781 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.047, allocations: 1.496 MB / 410.5 MB, free: 2.281 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.0485, allocations: 1.414 MB / 412 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.0487, allocations: 148 kB / 412.1 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.0495, allocations: 0.5693 MB / 412.7 MB, free: 152 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007323/0.05023, allocations: 0.978 MB / 413.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008631/0.05109, allocations: 0.6781 MB / 414.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.05304, allocations: 1.954 MB / 416.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.05304, allocations: 0 / 416.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.05304, allocations: 0 / 416.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.05306, allocations: 0 / 416.3 MB, free: 12.53 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.003089/0.05615, allocations: 2.326 MB / 418.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.05618, allocations: 23.97 kB / 418.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.05783, allocations: 0.5265 MB / 419.2 MB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.0597, allocations: 1.254 MB / 420.4 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.05978, allocations: 102.7 kB / 420.5 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.06021, allocations: 235.7 kB / 420.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.06241, allocations: 1.493 MB / 422.2 MB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.06245, allocations: 7.938 kB / 422.2 MB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.06258, allocations: 59.98 kB / 422.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004277/0.063, allocations: 190.7 kB / 422.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.06455, allocations: 0.8015 MB / 423.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007464/0.07201, allocations: 7.67 MB / 431 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.07343, allocations: 0.905 MB / 431.9 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.07423, allocations: 451 kB / 432.3 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.934e-05/0.0743, allocations: 33.3 kB / 432.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.07434, allocations: 50.69 kB / 432.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.466e-06/0.07434, allocations: 0 / 432.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.00518/0.07952, allocations: 3.446 MB / 435.8 MB, free: 8.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.07957, allocations: 98.36 kB / 435.9 MB, free: 8.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.08029, allocations: 1.012 MB / 436.9 MB, free: 7.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.08036, allocations: 49.7 kB / 437 MB, free: 7.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.08075, allocations: 0.874 MB / 437.9 MB, free: 6.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.08103, allocations: 0.5618 MB / 438.4 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.08134, allocations: 345.1 kB / 438.8 MB, free: 5.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.08142, allocations: 476.8 kB / 439.2 MB, free: 4.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.08187, allocations: 307.8 kB / 439.5 MB, free: 4.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/0.08261, allocations: 0.9912 MB / 440.5 MB, free: 3.309 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.002161/0.08477, allocations: 2.052 MB / 442.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.08477, allocations: 4 kB / 442.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.1538/0.2385, allocations: 2.621 MB / 445.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.2386, allocations: 15.53 kB / 445.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.2386, allocations: 15.94 kB / 445.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/0.242, allocations: 1.377 MB / 446.6 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.2429, allocations: 287.7 kB / 446.9 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.2558, allocations: 17.88 MB / 464.8 MB, free: 94.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.2567, allocations: 84.12 kB / 464.8 MB, free: 94.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.2569, allocations: 75.02 kB / 464.9 MB, free: 94.39 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.000491/0.2573, allocations: 277.9 kB / 465.2 MB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.2576, allocations: 188.3 kB / 465.4 MB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.2593, allocations: 1.211 MB / 466.6 MB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.2593, allocations: 16.44 kB / 466.6 MB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2593, allocations: 4 kB / 466.6 MB, free: 93.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2594, allocations: 10.12 kB / 466.6 MB, free: 93.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.2629, allocations: 2.547 MB / 469.2 MB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.2629, allocations: 3.125 kB / 469.2 MB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.264, allocations: 341.5 kB / 469.5 MB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.2644, allocations: 184.5 kB / 469.7 MB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.2645, allocations: 44.2 kB / 469.7 MB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.2672, allocations: 9.172 MB / 478.9 MB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2672, allocations: 7.438 kB / 478.9 MB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.2693, allocations: 1.673 MB / 480.6 MB, free: 82.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.2696, allocations: 251.8 kB / 480.8 MB, free: 82.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.2698, allocations: 46.53 kB / 480.9 MB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.2703, allocations: 51.98 kB / 480.9 MB, free: 82.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.2704, allocations: 114.1 kB / 481 MB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.2705, allocations: 40.47 kB / 481.1 MB, free: 82.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003866/0.2709, allocations: 0.5689 MB / 481.6 MB, free: 82.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2709, allocations: 0 / 481.6 MB, free: 82.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00118/0.272, allocations: 0.5435 MB / 482.2 MB, free: 82.06 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.0002874/0.2723, allocations: 202 kB / 482.4 MB, free: 81.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.2747, allocations: 2.882 MB / 485.3 MB, free: 80.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2747, allocations: 1.688 kB / 485.3 MB, free: 80.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.2755, allocations: 1.377 MB / 486.6 MB, free: 79.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/0.2763, allocations: 300 kB / 486.9 MB, free: 79.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.2806, allocations: 4.147 MB / 491.1 MB, free: 76.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.281, allocations: 0.4972 MB / 491.6 MB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006318/0.2816, allocations: 363.1 kB / 491.9 MB, free: 76.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.2819, allocations: 112.1 kB / 492 MB, free: 76.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2819, allocations: 0 / 492 MB, free: 76.54 MB / 410.7 MB Notification: Performance of Templates: time 0.03019/0.312, allocations: 27.17 MB / 0.507 GB, free: 63.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: 3.9401075940113515]