Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001146/0.001146, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.004489/0.004489, allocations: 170.3 kB / 24.91 MB, free: 8.766 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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.2636/0.2636, allocations: 29.4 MB / 291.2 MB, free: 2.449 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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 316.9 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.96e-05/4.128e-05, allocations: 2.312 kB / 316.9 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01319/0.01324, allocations: 9.698 MB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.02711, allocations: 6.9 MB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.02887, allocations: 67.44 kB / 333.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01679/0.04566, allocations: 13.74 MB / 347.3 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.04865, allocations: 1.146 MB / 348.4 MB, free: 352 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.0505, allocations: 0.7559 MB / 349.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004128/0.05463, allocations: 4.195 MB / 353.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009927/0.05562, allocations: 0.9099 MB / 354.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.05732, allocations: 1.629 MB / 355.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.05872, allocations: 1.254 MB / 357.2 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.05891, allocations: 144 kB / 357.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009132/0.05983, allocations: 0.5693 MB / 357.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007153/0.06054, allocations: 0.9624 MB / 358.8 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006357/0.06118, allocations: 0.6664 MB / 359.5 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.06317, allocations: 1.935 MB / 361.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.06317, allocations: 0 / 361.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.06317, allocations: 0 / 361.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.06319, allocations: 7.938 kB / 361.4 MB, free: 3.258 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003093/0.06628, allocations: 2.02 MB / 363.5 MB, free: 1.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.06632, allocations: 15.98 kB / 363.5 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.06802, allocations: 440.3 kB / 363.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.0696, allocations: 1.026 MB / 364.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.521e-05/0.06968, allocations: 106.7 kB / 365 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.0701, allocations: 223.7 kB / 365.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.07188, allocations: 1.311 MB / 366.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.07192, allocations: 11.88 kB / 366.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.07204, allocations: 59.98 kB / 366.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004255/0.07247, allocations: 194.8 kB / 366.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.07351, allocations: 0.5978 MB / 367.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006492/0.08, allocations: 5.943 MB / 373.4 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.08118, allocations: 0.8 MB / 374.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.08177, allocations: 353.5 kB / 374.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-05/0.08184, allocations: 25.31 kB / 374.5 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.08187, allocations: 47.88 kB / 374.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 3.216e-06/0.08188, allocations: 3.938 kB / 374.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.005268/0.08714, allocations: 2.651 MB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.08719, allocations: 94.42 kB / 377.3 MB, free: 2.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.08788, allocations: 0.845 MB / 378.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/0.08796, allocations: 53.7 kB / 378.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.08833, allocations: 0.67 MB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.08867, allocations: 0.5383 MB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.08905, allocations: 303.3 kB / 379.7 MB, free: 356 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.08913, allocations: 313 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.08952, allocations: 218.8 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.09015, allocations: 0.6665 MB / 380.9 MB, free: 14.96 MB / 362.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.001793/0.09194, allocations: 1.6 MB / 382.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.09195, allocations: 4 kB / 382.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003991/0.09595, allocations: 2.053 MB / 384.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.09597, allocations: 18.28 kB / 384.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.09599, allocations: 12 kB / 384.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/0.09906, allocations: 1.257 MB / 385.9 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.0999, allocations: 303.6 kB / 386.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.111, allocations: 13.27 MB / 399.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.1115, allocations: 56.08 kB / 399.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/0.1116, allocations: 63.98 kB / 399.5 MB, free: 11.44 MB / 378.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.PI.x = 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: 64 * 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 (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003719/0.112, allocations: 228.2 kB / 399.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.1121, allocations: 127.9 kB / 399.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1132, allocations: 0.9272 MB / 400.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1132, allocations: 20 kB / 400.8 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1132, allocations: 4 kB / 400.8 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.1132, allocations: 7.969 kB / 400.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.1154, allocations: 1.808 MB / 402.7 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1154, allocations: 4 kB / 402.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.1165, allocations: 431.2 kB / 403.1 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.1168, allocations: 196 kB / 403.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.362e-05/0.1169, allocations: 47.97 kB / 403.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.1197, allocations: 6.392 MB / 409.7 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1197, allocations: 3.938 kB / 409.7 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.121, allocations: 1.289 MB / 411 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.1213, allocations: 202.9 kB / 411.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1214, allocations: 39.98 kB / 411.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.1217, allocations: 32 kB / 411.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.1219, allocations: 109 kB / 411.4 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.1219, allocations: 31.98 kB / 411.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003084/0.1222, allocations: 407.5 kB / 411.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1222, allocations: 0 / 411.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001245/0.1235, allocations: 0.5429 MB / 412.4 MB, free: 13.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],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],PI.x) * 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 (137): * Single equations (assignments): 131 * 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.0003198/0.1238, allocations: 172.2 kB / 412.5 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.1261, allocations: 2.26 MB / 414.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.471e-05/0.1261, allocations: 17.81 kB / 414.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008162/0.1269, allocations: 1 MB / 415.8 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.1276, allocations: 334.3 kB / 416.1 MB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.1321, allocations: 3.525 MB / 419.6 MB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/0.1328, allocations: 0.4892 MB / 420.1 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006375/0.1334, allocations: 204.4 kB / 420.3 MB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/0.134, allocations: 341.1 kB / 420.7 MB, free: 5.359 MB / 394.7 MB Notification: Performance of SimCode: time 2.585e-06/0.134, allocations: 0 / 420.7 MB, free: 5.359 MB / 394.7 MB Notification: Performance of Templates: time 0.1776/0.3117, allocations: 28.87 MB / 449.5 MB, free: 104.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.781184691004455]