Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.002472/0.002472, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.00284/0.00284, allocations: 161.3 kB / 24.27 MB, free: 152 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.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.2988/0.2988, allocations: 29.41 MB / 290.5 MB, free: 2.434 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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.294e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01703/0.01706, allocations: 8.09 MB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.03105, allocations: 5.291 MB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.0321, allocations: 39.69 kB / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0189/0.051, allocations: 5.881 MB / 388.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.05437, allocations: 0.8666 MB / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.05651, allocations: 0.5416 MB / 389.6 MB, free: 6.559 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006164/0.06267, allocations: 2.639 MB / 392.2 MB, free: 3.914 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.06393, allocations: 0.54 MB / 392.8 MB, free: 3.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.06609, allocations: 1.021 MB / 393.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.06845, allocations: 1.029 MB / 394.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.06875, allocations: 104 kB / 394.9 MB, free: 1.207 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.07004, allocations: 395.3 kB / 395.3 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.07119, allocations: 0.7092 MB / 396 MB, free: 112 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.07228, allocations: 495 kB / 396.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003587/0.07587, allocations: 1.784 MB / 398.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.07588, allocations: 4 kB / 398.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.07588, allocations: 0 / 398.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.0759, allocations: 0 / 398.3 MB, free: 13.83 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004267/0.08016, allocations: 1.737 MB / 400 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.08021, allocations: 15.98 kB / 400 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.08195, allocations: 383.7 kB / 400.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.08423, allocations: 0.8688 MB / 401.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.0843, allocations: 69.92 kB / 401.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.08478, allocations: 171.8 kB / 401.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.08699, allocations: 1.166 MB / 402.7 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.08703, allocations: 7.922 kB / 402.7 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.08715, allocations: 43.98 kB / 402.7 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006689/0.08782, allocations: 149.9 kB / 402.9 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.08945, allocations: 0.6558 MB / 403.5 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.09962, allocations: 6.098 MB / 409.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.101, allocations: 0.567 MB / 410.2 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.1016, allocations: 262.3 kB / 410.4 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.1017, allocations: 17 kB / 410.5 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.1018, allocations: 46.38 kB / 410.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.757e-06/0.1018, allocations: 3.938 kB / 410.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.006068/0.1078, allocations: 2.307 MB / 412.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.1079, allocations: 94.23 kB / 412.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.1091, allocations: 0.8741 MB / 413.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.1092, allocations: 41.7 kB / 413.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/0.1098, allocations: 0.6513 MB / 414.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/0.1103, allocations: 412.8 kB / 414.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004753/0.1108, allocations: 276.5 kB / 415.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005079/0.1113, allocations: 0.6562 MB / 415.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.112, allocations: 274.5 kB / 416.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.1131, allocations: 0.7542 MB / 416.8 MB, free: 10.49 MB / 394.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.00832/0.1215, allocations: 2.465 MB / 419.3 MB, free: 7.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.1215, allocations: 4 kB / 419.3 MB, free: 7.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005729/0.1272, allocations: 2.001 MB / 421.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.1272, allocations: 8 kB / 421.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.1273, allocations: 16 kB / 421.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/0.131, allocations: 1.063 MB / 422.4 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/0.1319, allocations: 199.6 kB / 422.6 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/0.1488, allocations: 8.433 MB / 431 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/0.1497, allocations: 51.92 kB / 431.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.1498, allocations: 59.98 kB / 431.1 MB, free: 11.76 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005643/0.1504, allocations: 260.3 kB / 431.4 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.1506, allocations: 131.3 kB / 431.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.1527, allocations: 0.8526 MB / 432.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.1527, allocations: 8 kB / 432.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1527, allocations: 4 kB / 432.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.1527, allocations: 3.984 kB / 432.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.1575, allocations: 2.003 MB / 434.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.1575, allocations: 0 / 434.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.1591, allocations: 267.7 kB / 434.6 MB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.1593, allocations: 55.55 kB / 434.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.1594, allocations: 35.98 kB / 434.7 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.1623, allocations: 3.475 MB / 438.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/0.1624, allocations: 11.94 kB / 438.2 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.1649, allocations: 1.291 MB / 439.5 MB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/0.1655, allocations: 171.2 kB / 439.7 MB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.1656, allocations: 31.98 kB / 439.7 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.1662, allocations: 43.95 kB / 439.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.1664, allocations: 68.81 kB / 439.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.1665, allocations: 24 kB / 439.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007152/0.1672, allocations: 0.491 MB / 440.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 0 / 440.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001397/0.1686, allocations: 380 kB / 440.7 MB, free: 1.766 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002313/0.1688, allocations: 143 kB / 440.8 MB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1308/0.2996, allocations: 1.779 MB / 442.6 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.2996, allocations: 0 / 442.6 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.3006, allocations: 0.703 MB / 443.3 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3017, allocations: 186 kB / 443.5 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.3058, allocations: 3.173 MB / 446.7 MB, free: 105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.3064, allocations: 0.6618 MB / 447.3 MB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000675/0.3071, allocations: 260.5 kB / 447.6 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.3074, allocations: 73.58 kB / 447.7 MB, free: 104.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.3074, allocations: 0 / 447.7 MB, free: 104.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02625/0.3336, allocations: 18.16 MB / 465.8 MB, free: 103.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.662663149996661]