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.001366/0.001366, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001851/0.001851, allocations: 161 kB / 24.56 MB, free: 20 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.057/1.057, allocations: 177.1 MB / 205 MB, free: 5.293 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.2411/0.2411, allocations: 29.41 MB / 290.9 MB, free: 2.453 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.723e-06/1.723e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.748e-05, allocations: 2.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008744/0.008772, allocations: 9.737 MB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009524/0.0183, allocations: 6.845 MB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.01958, allocations: 67.44 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01654/0.03612, allocations: 14.09 MB / 400.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.03902, allocations: 1.15 MB / 401.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.04065, allocations: 0.7442 MB / 402.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00481/0.04546, allocations: 4.245 MB / 406.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.04665, allocations: 0.8553 MB / 407.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.04833, allocations: 1.473 MB / 408.8 MB, free: 3.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.04999, allocations: 1.414 MB / 410.3 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.05022, allocations: 152 kB / 410.4 MB, free: 2.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.05115, allocations: 0.5577 MB / 411 MB, free: 1.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006519/0.0518, allocations: 0.978 MB / 411.9 MB, free: 0.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006389/0.05244, allocations: 0.6859 MB / 412.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.05443, allocations: 1.943 MB / 414.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.05444, allocations: 4 kB / 414.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.05444, allocations: 0 / 414.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.05446, allocations: 0 / 414.6 MB, free: 13.94 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.002799/0.05726, allocations: 2.334 MB / 416.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.0573, allocations: 11.98 kB / 416.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.05877, allocations: 0.5343 MB / 417.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.06042, allocations: 1.25 MB / 418.7 MB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.06048, allocations: 106.7 kB / 418.8 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/0.06082, allocations: 227.7 kB / 419 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.0629, allocations: 1.489 MB / 420.5 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.06294, allocations: 12 kB / 420.5 MB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.06306, allocations: 51.98 kB / 420.6 MB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004447/0.0635, allocations: 198.7 kB / 420.8 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.0651, allocations: 0.7899 MB / 421.6 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00864/0.07374, allocations: 7.693 MB / 429.3 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.07526, allocations: 0.9011 MB / 430.2 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/0.07612, allocations: 451.1 kB / 430.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.49e-05/0.0762, allocations: 21.31 kB / 430.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.07625, allocations: 50.7 kB / 430.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 5.18e-06/0.07625, allocations: 3.938 kB / 430.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.006823/0.08307, allocations: 3.45 MB / 434.1 MB, free: 9.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.08312, allocations: 94.36 kB / 434.2 MB, free: 9.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.08414, allocations: 1.012 MB / 435.2 MB, free: 8.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.08421, allocations: 49.7 kB / 435.3 MB, free: 8.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/0.08473, allocations: 0.8701 MB / 436.2 MB, free: 7.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.08511, allocations: 0.5618 MB / 436.7 MB, free: 7.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/0.08553, allocations: 341.1 kB / 437 MB, free: 6.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.08564, allocations: 480.8 kB / 437.5 MB, free: 6.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.08624, allocations: 307.8 kB / 437.8 MB, free: 5.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.08737, allocations: 0.995 MB / 438.8 MB, free: 4.727 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.002474/0.08985, allocations: 2.064 MB / 440.9 MB, free: 2.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.08986, allocations: 4 kB / 440.9 MB, free: 2.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.1635/0.2533, allocations: 2.616 MB / 443.5 MB, free: 88.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.2534, allocations: 20.36 kB / 443.5 MB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.2534, allocations: 13.31 kB / 443.5 MB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/0.2564, allocations: 1.381 MB / 444.9 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.257, allocations: 287.6 kB / 445.2 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.2684, allocations: 17.87 MB / 463.1 MB, free: 74.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.2692, allocations: 81.06 kB / 463.1 MB, free: 74.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.2694, allocations: 76.98 kB / 463.2 MB, free: 74.87 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.0004773/0.2699, allocations: 270.4 kB / 463.5 MB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.27, allocations: 200 kB / 463.7 MB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.2715, allocations: 1.211 MB / 464.9 MB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.2715, allocations: 13.28 kB / 464.9 MB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2715, allocations: 3.438 kB / 464.9 MB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.2716, allocations: 7.125 kB / 464.9 MB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.2748, allocations: 2.541 MB / 467.4 MB, free: 74.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2748, allocations: 3.25 kB / 467.5 MB, free: 74.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.2756, allocations: 345.9 kB / 467.8 MB, free: 74.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003405/0.276, allocations: 174.2 kB / 468 MB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.2761, allocations: 48.3 kB / 468 MB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.2786, allocations: 9.175 MB / 477.2 MB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2786, allocations: 10.38 kB / 477.2 MB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.2805, allocations: 1.673 MB / 478.9 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.2809, allocations: 248.1 kB / 479.1 MB, free: 64.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.281, allocations: 53.5 kB / 479.2 MB, free: 64.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.2814, allocations: 52.25 kB / 479.2 MB, free: 64.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.2815, allocations: 107.8 kB / 479.3 MB, free: 64.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.2816, allocations: 44.3 kB / 479.4 MB, free: 64.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004578/0.282, allocations: 0.5723 MB / 479.9 MB, free: 64.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.282, allocations: 0 / 479.9 MB, free: 64.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001481/0.2835, allocations: 0.5466 MB / 480.5 MB, free: 64.42 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.0003411/0.2839, allocations: 187.6 kB / 480.7 MB, free: 64.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.2866, allocations: 2.891 MB / 483.6 MB, free: 62.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2866, allocations: 5.188 kB / 483.6 MB, free: 62.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009213/0.2875, allocations: 1.368 MB / 484.9 MB, free: 62.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.2884, allocations: 310.5 kB / 485.2 MB, free: 62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.2937, allocations: 4.132 MB / 489.4 MB, free: 59.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.2941, allocations: 0.4983 MB / 489.9 MB, free: 59.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007333/0.2948, allocations: 368.5 kB / 490.2 MB, free: 59.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.2951, allocations: 106.3 kB / 490.3 MB, free: 59.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/0.2951, allocations: 0 / 490.3 MB, free: 59.76 MB / 410.7 MB Notification: Performance of Templates: time 0.03504/0.3301, allocations: 27.18 MB / 0.5054 GB, free: 53.4 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.100392992142588]