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.000996/0.000996, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002504, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001045/0.001045, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.00248, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9764/0.9764, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1402/1.117, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1123/0.1123, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1197/0.232, allocations: 9.541 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.072e-06/1.072e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.828e-05, allocations: 3.953 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01172/0.01174, allocations: 9.329 MB / 293.8 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.02344, allocations: 6.146 MB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.02509, allocations: 67.44 kB / 300 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.03683, allocations: 5.519 MB / 305.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.03978, allocations: 1.138 MB / 306.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.04111, allocations: 0.6897 MB / 307.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003217/0.04433, allocations: 3.302 MB / 310.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007973/0.04512, allocations: 0.8165 MB / 311.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.04658, allocations: 1.636 MB / 313.1 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.0477, allocations: 1.2 MB / 314.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.04786, allocations: 140 kB / 314.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008092/0.04866, allocations: 443.3 kB / 314.9 MB, free: 212 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.04922, allocations: 0.8145 MB / 315.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.04971, allocations: 0.5146 MB / 316.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.05125, allocations: 1.534 MB / 317.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.05126, allocations: 0 / 317.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.05126, allocations: 4 kB / 317.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.05128, allocations: 0 / 317.7 MB, free: 13.33 MB / 314.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.002154/0.05344, allocations: 2.261 MB / 320 MB, free: 11.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.05346, allocations: 8.031 kB / 320 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.05478, allocations: 469.5 kB / 320.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.05589, allocations: 0.936 MB / 321.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.05594, allocations: 102.6 kB / 321.5 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/0.05628, allocations: 207.7 kB / 321.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.05745, allocations: 1.26 MB / 322.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.05748, allocations: 11.89 kB / 323 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.05757, allocations: 51.98 kB / 323 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/0.05788, allocations: 194.7 kB / 323.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/0.05879, allocations: 0.5533 MB / 323.8 MB, free: 7.078 MB / 314.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(line.v[3,4]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008079/0.06687, allocations: 5.671 MB / 329.4 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.06811, allocations: 0.6944 MB / 330.1 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.0685, allocations: 224.5 kB / 330.3 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/0.06858, allocations: 25 kB / 330.4 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.06862, allocations: 47.56 kB / 330.4 MB, free: 144 kB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 3.727e-06/0.06863, allocations: 0 / 330.4 MB, free: 144 kB / 314.7 MB Notification: Performance of matching and sorting (n=138): time 0.004608/0.07324, allocations: 2.258 MB / 332.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.07328, allocations: 90.42 kB / 332.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.07374, allocations: 0.741 MB / 333.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.07381, allocations: 57.73 kB / 333.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.07408, allocations: 0.6273 MB / 334.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.07433, allocations: 0.5189 MB / 334.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.0746, allocations: 291.4 kB / 335 MB, free: 11.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.07467, allocations: 309 kB / 335.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.0749, allocations: 179.9 kB / 335.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.07533, allocations: 0.6101 MB / 336.1 MB, free: 10.19 MB / 330.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.001275/0.0766, allocations: 1.444 MB / 337.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.07661, allocations: 4 kB / 337.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.001713/0.07832, allocations: 1.351 MB / 338.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.07834, allocations: 15.94 kB / 338.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.07836, allocations: 12 kB / 338.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.07977, allocations: 0.7077 MB / 339.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.08047, allocations: 355.5 kB / 340 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006302/0.08677, allocations: 8.798 MB / 348.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.08726, allocations: 60.11 kB / 348.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.08733, allocations: 59.98 kB / 348.9 MB, free: 12.71 MB / 346.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 $DER.line.v[2,4] = line.v[1,4] * line.omega[1] $DER.line.v[1,4] = (-line.v[2,4]) * line.omega[1]. 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 4 systems {(1,1,100.0%), (1,18,100.0%), (3,17,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000348/0.08768, allocations: 232.1 kB / 349.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.08782, allocations: 115.9 kB / 349.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000992/0.08881, allocations: 0.8542 MB / 350.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.08882, allocations: 16 kB / 350.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.08882, allocations: 0 / 350.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.08883, allocations: 11.97 kB / 350.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.09095, allocations: 1.802 MB / 351.9 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.09096, allocations: 4 kB / 351.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.09198, allocations: 419.4 kB / 352.3 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.0922, allocations: 179.1 kB / 352.5 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.09248, allocations: 168.2 kB / 352.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.09254, allocations: 51.92 kB / 352.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.09484, allocations: 5.318 MB / 358 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.09485, allocations: 4 kB / 358 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.09611, allocations: 1.26 MB / 359.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.09621, allocations: 47.92 kB / 359.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.0965, allocations: 31.94 kB / 359.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.09666, allocations: 101.1 kB / 359.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.0967, allocations: 31.98 kB / 359.5 MB, free: 1.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002576/0.09696, allocations: 351.2 kB / 359.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09696, allocations: 3.938 kB / 359.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001038/0.098, allocations: 484 kB / 360.3 MB, free: 0.6562 MB / 346.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.0001606/0.09816, allocations: 137.7 kB / 360.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.09983, allocations: 1.709 MB / 362.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.837e-05/0.09985, allocations: 16.5 kB / 362.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008326/0.1007, allocations: 1.076 MB / 363.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.1021, allocations: 2.475 MB / 365.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/0.121, allocations: 3.174 MB / 368.9 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1214, allocations: 460.1 kB / 369.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005116/0.1219, allocations: 183.6 kB / 369.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.1224, allocations: 309.2 kB / 369.8 MB, free: 6.398 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1224, allocations: 0 / 369.8 MB, free: 6.398 MB / 362.7 MB Notification: Performance of Templates: time 0.02596/0.1484, allocations: 23.29 MB / 393.1 MB, free: 15.47 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 -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.232982477173209]