Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001906/0.001906, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001989/0.001989, allocations: 165.3 kB / 24.27 MB, free: 148 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3241/0.3241, allocations: 29.41 MB / 290.5 MB, free: 2.406 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.266e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.02173/0.02177, allocations: 10.85 MB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.03866, allocations: 6.821 MB / 386.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.04025, allocations: 63.5 kB / 386.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0423/0.08256, allocations: 14.58 MB / 401.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.08703, allocations: 1.146 MB / 402.3 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.08926, allocations: 0.7092 MB / 403 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008526/0.09779, allocations: 4.124 MB / 407.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.09947, allocations: 0.8358 MB / 408 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.102, allocations: 1.449 MB / 409.4 MB, free: 2.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.1046, allocations: 1.375 MB / 410.8 MB, free: 1.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003456/0.1049, allocations: 144 kB / 411 MB, free: 1.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.1064, allocations: 0.5537 MB / 411.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1075, allocations: 0.9585 MB / 412.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.1086, allocations: 0.6625 MB / 413.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.1124, allocations: 2.559 MB / 415.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1124, allocations: 0 / 415.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1124, allocations: 4 kB / 415.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.09e-05/0.1125, allocations: 0 / 415.7 MB, free: 12.33 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005606/0.1181, allocations: 2.365 MB / 418.1 MB, free: 9.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1181, allocations: 15.98 kB / 418.1 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.1205, allocations: 0.5032 MB / 418.6 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.1239, allocations: 1.215 MB / 419.8 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.124, allocations: 102.7 kB / 419.9 MB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006247/0.1246, allocations: 223.8 kB / 420.1 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.1278, allocations: 1.615 MB / 421.7 MB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.1278, allocations: 11.89 kB / 421.7 MB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.128, allocations: 55.98 kB / 421.8 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006896/0.1287, allocations: 190.6 kB / 422 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.1309, allocations: 0.9359 MB / 422.9 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.1453, allocations: 8.366 MB / 431.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.1475, allocations: 0.8866 MB / 432.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.1486, allocations: 486.2 kB / 432.7 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/0.1487, allocations: 24.94 kB / 432.7 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.582e-05/0.1488, allocations: 50.33 kB / 432.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.727e-06/0.1488, allocations: 0 / 432.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.008654/0.1575, allocations: 3.424 MB / 436.1 MB, free: 7.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.1575, allocations: 90.42 kB / 436.2 MB, free: 7.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.1592, allocations: 1.169 MB / 437.4 MB, free: 5.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.1593, allocations: 49.7 kB / 437.5 MB, free: 5.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008488/0.1601, allocations: 0.8974 MB / 438.4 MB, free: 4.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/0.1607, allocations: 0.5504 MB / 438.9 MB, free: 4.426 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007431/0.1615, allocations: 373.1 kB / 439.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.1617, allocations: 484.7 kB / 439.7 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008319/0.1625, allocations: 359.8 kB / 440.1 MB, free: 3.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.1641, allocations: 1.043 MB / 441.1 MB, free: 1.914 MB / 410.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.2306/0.3947, allocations: 3.661 MB / 444.8 MB, free: 107.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.494e-05/0.3948, allocations: 3.219 kB / 444.8 MB, free: 107.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.009786/0.4046, allocations: 2.556 MB / 447.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.4046, allocations: 12.53 kB / 447.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.686e-05/0.4046, allocations: 12.91 kB / 447.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/0.4101, allocations: 1.265 MB / 448.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.4115, allocations: 313.2 kB / 449 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.428, allocations: 13.9 MB / 462.8 MB, free: 96.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.4295, allocations: 72.84 kB / 462.9 MB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003388/0.4298, allocations: 71.14 kB / 463 MB, free: 96.41 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 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 63 * 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 (155): * Single equations (assignments): 150 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.4309, allocations: 334.1 kB / 463.3 MB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/0.4313, allocations: 188.8 kB / 463.5 MB, free: 96.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.4343, allocations: 1.259 MB / 464.8 MB, free: 95.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.4343, allocations: 12.97 kB / 464.8 MB, free: 95.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4343, allocations: 3.094 kB / 464.8 MB, free: 95.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.4343, allocations: 6.562 kB / 464.8 MB, free: 95.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005623/0.4399, allocations: 2.787 MB / 467.6 MB, free: 94.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.44, allocations: 0 / 467.6 MB, free: 94.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.4415, allocations: 325.8 kB / 467.9 MB, free: 94.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005665/0.4421, allocations: 185 kB / 468.1 MB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.4422, allocations: 47.14 kB / 468.1 MB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.4464, allocations: 9.271 MB / 477.4 MB, free: 85.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4464, allocations: 5.672 kB / 477.4 MB, free: 85.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.4494, allocations: 1.818 MB / 479.2 MB, free: 84.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/0.4501, allocations: 238 kB / 479.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.4503, allocations: 39.47 kB / 479.5 MB, free: 84.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/0.451, allocations: 63.09 kB / 479.5 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.4513, allocations: 95.97 kB / 479.6 MB, free: 84.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/0.4514, allocations: 48.16 kB / 479.7 MB, free: 84.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008339/0.4522, allocations: 0.6479 MB / 480.3 MB, free: 83.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4522, allocations: 0 / 480.3 MB, free: 83.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002042/0.4542, allocations: 0.5083 MB / 480.8 MB, free: 83.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,inverter2.vDC1,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]) * 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 (126): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,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.0004223/0.4547, allocations: 172.4 kB / 481 MB, free: 83.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003967/0.4586, allocations: 2.588 MB / 483.6 MB, free: 82.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4586, allocations: 0.5625 kB / 483.6 MB, free: 82.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.4604, allocations: 1.416 MB / 485 MB, free: 81.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.4617, allocations: 290.9 kB / 485.3 MB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/0.4683, allocations: 4.031 MB / 489.3 MB, free: 78.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.4694, allocations: 0.9061 MB / 490.2 MB, free: 78.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001001/0.4704, allocations: 364.8 kB / 490.6 MB, free: 78.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.4707, allocations: 108.9 kB / 490.7 MB, free: 78.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4707, allocations: 0 / 490.7 MB, free: 78.41 MB / 410.7 MB Notification: Performance of Templates: time 0.04027/0.511, allocations: 25.57 MB / 0.5042 GB, free: 64.88 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.033156846067868]