Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001005/0.001005, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009779/0.0009779, allocations: 165 kB / 24.56 MB, free: 12 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 0.9235/0.9235, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2231/0.2231, allocations: 29.42 MB / 290.9 MB, free: 2.492 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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_IG,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_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,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_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.575e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006927/0.006943, allocations: 7.416 MB / 377 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007562/0.0145, allocations: 5.307 MB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006382/0.01514, allocations: 35.69 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007975/0.02312, allocations: 5.753 MB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.0248, allocations: 0.8665 MB / 389 MB, free: 7.551 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.02585, allocations: 0.5417 MB / 389.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.02839, allocations: 2.627 MB / 392.2 MB, free: 4.375 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007835/0.02918, allocations: 0.5556 MB / 392.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.03053, allocations: 1.138 MB / 393.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.03154, allocations: 0.9467 MB / 394.8 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.03168, allocations: 100 kB / 394.9 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.03232, allocations: 387.4 kB / 395.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.03278, allocations: 0.6858 MB / 396 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.03331, allocations: 482.9 kB / 396.5 MB, free: 84 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.03494, allocations: 1.285 MB / 397.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.03494, allocations: 0 / 397.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.03494, allocations: 4 kB / 397.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.03496, allocations: 0 / 397.7 MB, free: 14.79 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.002011/0.03697, allocations: 1.639 MB / 399.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.03703, allocations: 11.98 kB / 399.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009877/0.03801, allocations: 379.7 kB / 399.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.03905, allocations: 0.8337 MB / 400.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.0391, allocations: 69.92 kB / 400.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/0.03961, allocations: 175.8 kB / 400.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.04106, allocations: 1.065 MB / 401.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.0411, allocations: 7.938 kB / 401.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.04118, allocations: 43.98 kB / 402 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/0.04151, allocations: 149.9 kB / 402.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.04235, allocations: 0.527 MB / 402.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.04714, allocations: 5.738 MB / 408.4 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.04794, allocations: 0.5245 MB / 408.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.04829, allocations: 222.3 kB / 409.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.04834, allocations: 13 kB / 409.1 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.04838, allocations: 54.39 kB / 409.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.316e-06/0.04838, allocations: 0 / 409.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.003464/0.05185, allocations: 2.103 MB / 411.3 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.05199, allocations: 86.11 kB / 411.4 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.05258, allocations: 0.7219 MB / 412.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.05264, allocations: 41.7 kB / 412.1 MB, free: 15.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.05295, allocations: 0.6279 MB / 412.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.05316, allocations: 396.8 kB / 413.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.0534, allocations: 240.5 kB / 413.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.05361, allocations: 0.6093 MB / 414 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.05396, allocations: 238.5 kB / 414.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.05451, allocations: 0.6649 MB / 414.9 MB, free: 12.87 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.001384/0.05589, allocations: 1.378 MB / 416.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.0559, allocations: 4 kB / 416.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002734/0.05863, allocations: 1.884 MB / 418.1 MB, free: 9.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.05866, allocations: 11.98 kB / 418.2 MB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.05867, allocations: 12 kB / 418.2 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.06075, allocations: 1.033 MB / 419.2 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.06117, allocations: 195.7 kB / 419.4 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008228/0.0694, allocations: 8.002 MB / 427.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.06994, allocations: 51.97 kB / 427.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.07002, allocations: 51.98 kB / 427.5 MB, free: 15.83 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: 41 * Number of states: 0 () * 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 initialization (94): * Single equations (assignments): 92 * 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.0003447/0.07037, allocations: 232.2 kB / 427.7 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.0705, allocations: 135.3 kB / 427.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009815/0.07148, allocations: 0.7589 MB / 428.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.07149, allocations: 12 kB / 428.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.07149, allocations: 0 / 428.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.0715, allocations: 3.984 kB / 428.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.07371, allocations: 1.749 MB / 430.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.07371, allocations: 7.938 kB / 430.4 MB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.0745, allocations: 271.7 kB / 430.6 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.07461, allocations: 55.5 kB / 430.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/0.07468, allocations: 35.98 kB / 430.7 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.07629, allocations: 3.468 MB / 434.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.07629, allocations: 7.984 kB / 434.2 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.07756, allocations: 1.138 MB / 435.4 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.07781, allocations: 171.2 kB / 435.5 MB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.0779, allocations: 35.98 kB / 435.6 MB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.07818, allocations: 35.97 kB / 435.6 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.0783, allocations: 72.75 kB / 435.7 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.07835, allocations: 35.98 kB / 435.7 MB, free: 7.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003441/0.07869, allocations: 419 kB / 436.1 MB, free: 6.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07869, allocations: 0 / 436.1 MB, free: 6.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000971/0.07967, allocations: 380 kB / 436.5 MB, free: 6.426 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.0001792/0.07984, allocations: 143 kB / 436.6 MB, free: 6.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.08214, allocations: 1.658 MB / 438.3 MB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.08215, allocations: 0 / 438.3 MB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.08276, allocations: 0.6434 MB / 438.9 MB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.08346, allocations: 186.8 kB / 439.1 MB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.08803, allocations: 3.136 MB / 442.2 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.08834, allocations: 360.2 kB / 442.6 MB, free: 128 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.13/0.2183, allocations: 257.6 kB / 442.8 MB, free: 92.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.2187, allocations: 73.95 kB / 442.9 MB, free: 92.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.875e-06/0.2187, allocations: 0 / 442.9 MB, free: 92.18 MB / 410.7 MB Notification: Performance of Templates: time 0.0207/0.2394, allocations: 18.7 MB / 461.6 MB, free: 90.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.686515560373664]