Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.001264/0.001264, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001194/0.001194, allocations: 167.1 kB / 25.61 MB, free: 8.594 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.9084/0.9084, allocations: 177.1 MB / 206.1 MB, free: 4.469 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.1203/0.1203, allocations: 29.43 MB / 292 MB, free: 2.641 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_DFIG,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_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,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_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.18e-05, allocations: 4.875 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.00733/0.007352, allocations: 9.166 MB / 380 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007057/0.01441, allocations: 5.956 MB / 386 MB, free: 17.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.01511, allocations: 71.44 kB / 386.1 MB, free: 17.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.02587, allocations: 5.893 MB / 392 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.02843, allocations: 1.119 MB / 393.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.02981, allocations: 0.6898 MB / 393.8 MB, free: 9.379 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.03313, allocations: 3.35 MB / 397.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009027/0.03403, allocations: 0.8474 MB / 398 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.03552, allocations: 1.555 MB / 399.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.03661, allocations: 1.231 MB / 400.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.03682, allocations: 136 kB / 400.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.03746, allocations: 443.3 kB / 401.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.03791, allocations: 0.904 MB / 402.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004856/0.0384, allocations: 0.6313 MB / 402.9 MB, free: 256 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.04001, allocations: 1.659 MB / 404.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.04002, allocations: 0 / 404.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.04002, allocations: 4 kB / 404.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.04004, allocations: 0 / 404.5 MB, free: 14.58 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002375/0.04241, allocations: 2.063 MB / 406.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.04245, allocations: 8.031 kB / 406.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.04349, allocations: 455.3 kB / 407 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.0448, allocations: 1.024 MB / 408.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.04486, allocations: 106.6 kB / 408.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/0.04517, allocations: 211.8 kB / 408.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.04651, allocations: 1.311 MB / 409.7 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.04654, allocations: 11.89 kB / 409.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.04664, allocations: 55.98 kB / 409.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003355/0.04698, allocations: 174.7 kB / 409.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.04778, allocations: 0.5844 MB / 410.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006281/0.05407, allocations: 7.093 MB / 417.6 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.05493, allocations: 0.7159 MB / 418.3 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.05522, allocations: 251.7 kB / 418.6 MB, free: 16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.05528, allocations: 25 kB / 418.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.05531, allocations: 50.33 kB / 418.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 4.088e-06/0.05532, allocations: 0 / 418.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.003823/0.05914, allocations: 2.349 MB / 421 MB, free: 13.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.05918, allocations: 90.42 kB / 421.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.05975, allocations: 0.8699 MB / 421.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.05982, allocations: 49.7 kB / 422 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.06018, allocations: 0.8076 MB / 422.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.06046, allocations: 0.5385 MB / 423.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.06076, allocations: 329 kB / 423.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.06087, allocations: 480.7 kB / 424.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.06113, allocations: 211.8 kB / 424.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.06167, allocations: 0.8288 MB / 425.2 MB, free: 9.02 MB / 346.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.001355/0.06303, allocations: 1.681 MB / 426.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.06304, allocations: 8 kB / 426.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.002837/0.06587, allocations: 2.053 MB / 428.9 MB, free: 5.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.0659, allocations: 12.72 kB / 428.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.06591, allocations: 19.98 kB / 428.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.06763, allocations: 0.9864 MB / 429.9 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.06821, allocations: 283.6 kB / 430.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/0.07644, allocations: 11.15 MB / 441.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.07714, allocations: 55.89 kB / 441.4 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/0.07723, allocations: 63.98 kB / 441.5 MB, free: 8.012 MB / 362.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.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: 58 * 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 (144): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000449/0.07768, allocations: 264 kB / 441.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.07787, allocations: 175.2 kB / 441.9 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.07927, allocations: 1.009 MB / 442.9 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.07928, allocations: 12 kB / 442.9 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.07929, allocations: 4 kB / 442.9 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.0793, allocations: 11.91 kB / 442.9 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.08174, allocations: 2.079 MB / 445 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.08175, allocations: 12.08 kB / 445 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.08251, allocations: 295.7 kB / 445.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.08277, allocations: 150.6 kB / 445.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.08284, allocations: 39.98 kB / 445.5 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.08585, allocations: 7.425 MB / 452.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.08585, allocations: 7.938 kB / 452.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.08738, allocations: 1.479 MB / 454.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.0877, allocations: 211 kB / 454.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.08781, allocations: 47.88 kB / 454.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.08812, allocations: 28 kB / 454.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.08826, allocations: 109 kB / 454.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.08831, allocations: 31.98 kB / 454.8 MB, free: 9.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003395/0.08865, allocations: 481.1 kB / 455.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08865, allocations: 0 / 455.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001192/0.08984, allocations: 488 kB / 455.8 MB, free: 8.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,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],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,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.0001636/0.09001, allocations: 151 kB / 455.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.09199, allocations: 2.085 MB / 458 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.09199, allocations: 0 / 458 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.09277, allocations: 1.131 MB / 459.1 MB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.09351, allocations: 269.4 kB / 459.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.09785, allocations: 3.873 MB / 463.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.09826, allocations: 476.1 kB / 463.7 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005018/0.09876, allocations: 179.2 kB / 463.9 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/0.09923, allocations: 342 kB / 464.2 MB, free: 216 kB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.09923, allocations: 0 / 464.2 MB, free: 216 kB / 378.7 MB Notification: Performance of Templates: time 0.03505/0.1343, allocations: 25.02 MB / 489.3 MB, free: 7.531 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.9414152279496193]