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.000888/0.000888, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009647/0.0009647, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2203/0.2203, allocations: 29.42 MB / 291.2 MB, free: 2.477 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.323e-06/1.323e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.781e-05, allocations: 3.016 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007448/0.007466, allocations: 9.189 MB / 326 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006933/0.0144, allocations: 6.095 MB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.01488, allocations: 67.44 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0067/0.02158, allocations: 5.807 MB / 338 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.02308, allocations: 1.1 MB / 339.1 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.02419, allocations: 0.7208 MB / 339.8 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.02655, allocations: 3.325 MB / 343.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006966/0.02724, allocations: 0.8943 MB / 344 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.02844, allocations: 1.543 MB / 345.6 MB, free: 3.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009347/0.02937, allocations: 1.173 MB / 346.7 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.02951, allocations: 136 kB / 346.9 MB, free: 1.844 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.03003, allocations: 435.3 kB / 347.3 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005005/0.03053, allocations: 0.904 MB / 348.2 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.031, allocations: 0.6314 MB / 348.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.03243, allocations: 1.662 MB / 350.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.03243, allocations: 0 / 350.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03243, allocations: 0 / 350.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.03245, allocations: 0 / 350.5 MB, free: 14.21 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.001926/0.03437, allocations: 1.879 MB / 352.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.0344, allocations: 15.98 kB / 352.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009287/0.03533, allocations: 380.4 kB / 352.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.03643, allocations: 0.9359 MB / 353.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.03648, allocations: 106.6 kB / 353.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.0368, allocations: 219.7 kB / 354 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.03804, allocations: 1.253 MB / 355.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.03808, allocations: 15.89 kB / 355.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.03817, allocations: 55.98 kB / 355.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/0.03847, allocations: 178.7 kB / 355.5 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.03918, allocations: 0.5416 MB / 356.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.04418, allocations: 5.589 MB / 361.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/0.04495, allocations: 0.6973 MB / 362.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.04521, allocations: 219.5 kB / 362.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.04527, allocations: 25 kB / 362.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.0453, allocations: 43.56 kB / 362.6 MB, free: 1.598 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.435e-06/0.0453, allocations: 4 kB / 362.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=138): time 0.003463/0.04876, allocations: 2.215 MB / 364.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.0488, allocations: 90.42 kB / 364.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.04925, allocations: 0.7371 MB / 365.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.04932, allocations: 49.7 kB / 365.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.04958, allocations: 0.6232 MB / 366.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.04982, allocations: 0.5228 MB / 366.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.05018, allocations: 279.4 kB / 367.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.05025, allocations: 305.1 kB / 367.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.05061, allocations: 187.9 kB / 367.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.05122, allocations: 0.6101 MB / 368.2 MB, free: 11.71 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.001686/0.05291, allocations: 1.468 MB / 369.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.05291, allocations: 4 kB / 369.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.003597/0.05651, allocations: 1.77 MB / 371.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.05654, allocations: 8 kB / 371.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.05656, allocations: 16 kB / 371.5 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.05882, allocations: 0.9547 MB / 372.5 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.05962, allocations: 283.5 kB / 372.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.07012, allocations: 8.732 MB / 381.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.07097, allocations: 51.98 kB / 381.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.0711, allocations: 55.98 kB / 381.6 MB, free: 13.8 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.0005839/0.07168, allocations: 227.2 kB / 381.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.0719, allocations: 119.9 kB / 381.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.07342, allocations: 0.8543 MB / 382.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.07343, allocations: 12 kB / 382.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.07344, allocations: 4 kB / 382.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.07345, allocations: 3.984 kB / 382.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.07656, allocations: 1.806 MB / 384.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.07657, allocations: 0 / 384.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.07735, allocations: 300.1 kB / 384.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.07765, allocations: 170.8 kB / 385 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.711e-05/0.07772, allocations: 43.97 kB / 385.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.08026, allocations: 5.293 MB / 390.4 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.08027, allocations: 11.98 kB / 390.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.08149, allocations: 1.253 MB / 391.6 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.08174, allocations: 187 kB / 391.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.08184, allocations: 40.09 kB / 391.9 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.08211, allocations: 39.94 kB / 391.9 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.08224, allocations: 105 kB / 392 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.08228, allocations: 31.98 kB / 392 MB, free: 2.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004166/0.0827, allocations: 347.3 kB / 392.4 MB, free: 2.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0827, allocations: 0 / 392.4 MB, free: 2.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001126/0.08383, allocations: 480 kB / 392.9 MB, free: 1.887 MB / 362.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.0001907/0.08402, allocations: 140.1 kB / 393 MB, free: 1.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.08577, allocations: 1.796 MB / 394.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.08578, allocations: 16.5 kB / 394.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006386/0.08642, allocations: 0.8729 MB / 395.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.08715, allocations: 288 kB / 396 MB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.09104, allocations: 3.335 MB / 399.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.0916, allocations: 468.2 kB / 399.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.09203, allocations: 183.2 kB / 399.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.0925, allocations: 305.2 kB / 400.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.09251, allocations: 0 / 400.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of Templates: time 0.02634/0.1188, allocations: 24.43 MB / 424.7 MB, free: 2.203 MB / 394.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.3991175037808716]