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.002618/0.002618, allocations: 92.22 kB / 20.91 MB, free: 3.508 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.003134/0.003134, allocations: 165 kB / 24.22 MB, free: 208 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.312/0.312, allocations: 29.41 MB / 290.4 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 368.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.459e-05, allocations: 2.312 kB / 368.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01561/0.01564, allocations: 10.6 MB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.02736, allocations: 6.017 MB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007578/0.02812, allocations: 67.44 kB / 385.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01415/0.04227, allocations: 6.149 MB / 391.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.04515, allocations: 1.107 MB / 392.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.04712, allocations: 0.7052 MB / 393.4 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005704/0.05282, allocations: 3.344 MB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.05422, allocations: 0.8513 MB / 397.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.05634, allocations: 1.426 MB / 399 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.05851, allocations: 1.329 MB / 400.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002839/0.05879, allocations: 144 kB / 400.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009834/0.05978, allocations: 447.3 kB / 400.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.06081, allocations: 0.9118 MB / 401.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009289/0.06173, allocations: 0.6508 MB / 402.5 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.06441, allocations: 1.686 MB / 404.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.06441, allocations: 0 / 404.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.06441, allocations: 0 / 404.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.06443, allocations: 0 / 404.2 MB, free: 7.82 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004643/0.06907, allocations: 2.146 MB / 406.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.06911, allocations: 19.98 kB / 406.4 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.07115, allocations: 467.4 kB / 406.8 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.07395, allocations: 1.141 MB / 408 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.07405, allocations: 106.6 kB / 408.1 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005381/0.07459, allocations: 207.8 kB / 408.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.07744, allocations: 1.42 MB / 409.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.07748, allocations: 7.953 kB / 409.7 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.07765, allocations: 63.91 kB / 409.7 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007044/0.07835, allocations: 182.7 kB / 409.9 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.0805, allocations: 0.7345 MB / 410.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.09305, allocations: 7.23 MB / 417.9 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.09498, allocations: 0.8157 MB / 418.7 MB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.09568, allocations: 306.3 kB / 419 MB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-05/0.09577, allocations: 21 kB / 419 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.09583, allocations: 50.39 kB / 419.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.487e-06/0.09583, allocations: 0 / 419.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.007909/0.1037, allocations: 3.01 MB / 422.1 MB, free: 5.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.1038, allocations: 94.36 kB / 422.2 MB, free: 5.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.105, allocations: 0.8825 MB / 423.1 MB, free: 4.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.1051, allocations: 53.73 kB / 423.1 MB, free: 4.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007372/0.1058, allocations: 0.7999 MB / 423.9 MB, free: 3.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007891/0.1066, allocations: 0.5385 MB / 424.5 MB, free: 2.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/0.1072, allocations: 317.1 kB / 424.8 MB, free: 2.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.1074, allocations: 480.7 kB / 425.2 MB, free: 2.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000757/0.1082, allocations: 303.8 kB / 425.5 MB, free: 1.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.1096, allocations: 0.9221 MB / 426.5 MB, free: 0.6484 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.00339/0.113, allocations: 1.938 MB / 428.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.113, allocations: 4 kB / 428.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006285/0.1193, allocations: 2.295 MB / 430.7 MB, free: 12.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1193, allocations: 12 kB / 430.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.1193, allocations: 12 kB / 430.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/0.1232, allocations: 1.035 MB / 431.7 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.1245, allocations: 291.6 kB / 432 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/0.2754, allocations: 11.55 MB / 443.6 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2764, allocations: 79.05 kB / 443.7 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.2765, allocations: 68.88 kB / 443.7 MB, free: 104.6 MB / 410.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: 60 * 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 (146): * Single equations (assignments): 142 * 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.0004331/0.277, allocations: 262.1 kB / 444 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.2772, allocations: 183.1 kB / 444.2 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.2793, allocations: 1.131 MB / 445.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2793, allocations: 16.69 kB / 445.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2793, allocations: 6.875 kB / 445.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2793, allocations: 6.938 kB / 445.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.2835, allocations: 2.449 MB / 447.8 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2835, allocations: 3.438 kB / 447.8 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.2849, allocations: 322.5 kB / 448.1 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/0.2854, allocations: 152 kB / 448.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/0.2855, allocations: 54.66 kB / 448.3 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.2886, allocations: 7.547 MB / 455.8 MB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2886, allocations: 10.31 kB / 455.8 MB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.291, allocations: 1.628 MB / 457.5 MB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.2916, allocations: 229.2 kB / 457.7 MB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.2918, allocations: 42.53 kB / 457.7 MB, free: 96.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.2925, allocations: 55.34 kB / 457.8 MB, free: 96.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.2927, allocations: 107 kB / 457.9 MB, free: 96.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.2927, allocations: 41.98 kB / 457.9 MB, free: 96.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004697/0.2932, allocations: 0.4965 MB / 458.4 MB, free: 95.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2932, allocations: 0 / 458.4 MB, free: 95.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001488/0.2947, allocations: 486.4 kB / 458.9 MB, free: 95.76 MB / 410.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.0002011/0.2949, allocations: 160.1 kB / 459.1 MB, free: 95.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.298, allocations: 2.234 MB / 461.3 MB, free: 94.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.298, allocations: 3.719 kB / 461.3 MB, free: 94.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.2992, allocations: 1.174 MB / 462.5 MB, free: 93.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.3004, allocations: 282.2 kB / 462.8 MB, free: 93.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.3059, allocations: 3.95 MB / 466.7 MB, free: 91.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3063, allocations: 477 kB / 467.2 MB, free: 91.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008066/0.3071, allocations: 325.1 kB / 467.5 MB, free: 91.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.3074, allocations: 102.8 kB / 467.6 MB, free: 91.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3074, allocations: 0 / 467.6 MB, free: 91.27 MB / 410.7 MB Notification: Performance of Templates: time 0.03378/0.3412, allocations: 23.39 MB / 491 MB, free: 87.41 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: 5.837521682027727]