Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001277/0.001277, allocations: 80.92 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.001589/0.001589, allocations: 172.5 kB / 24.91 MB, free: 9.195 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.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2652/0.2652, allocations: 29.42 MB / 291.2 MB, free: 2.48 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_PSGI,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_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.54e-05, allocations: 3.016 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009405/0.00943, allocations: 9.726 MB / 326.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.02014, allocations: 6.897 MB / 333.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.02164, allocations: 67.44 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01724/0.03888, allocations: 13.94 MB / 347.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.04203, allocations: 1.154 MB / 348.7 MB, free: 68 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.04394, allocations: 0.7598 MB / 349.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005885/0.04982, allocations: 4.172 MB / 353.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.05167, allocations: 0.9255 MB / 354.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.05474, allocations: 1.613 MB / 356.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.05662, allocations: 1.247 MB / 357.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.05704, allocations: 144 kB / 357.5 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.05822, allocations: 0.5732 MB / 358.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007948/0.05902, allocations: 0.9585 MB / 359.1 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.06011, allocations: 0.6741 MB / 359.7 MB, free: 4.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.06314, allocations: 1.935 MB / 361.7 MB, free: 3.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.06314, allocations: 0 / 361.7 MB, free: 3.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.06315, allocations: 0 / 361.7 MB, free: 3.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.197e-05/0.06323, allocations: 0 / 361.7 MB, free: 3.008 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.003119/0.06635, allocations: 2.028 MB / 363.7 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.06639, allocations: 19.97 kB / 363.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.06774, allocations: 436.4 kB / 364.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.06938, allocations: 1.026 MB / 365.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.06945, allocations: 110.7 kB / 365.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.06981, allocations: 219.8 kB / 365.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.07134, allocations: 1.318 MB / 366.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.07138, allocations: 7.938 kB / 366.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/0.07148, allocations: 59.97 kB / 366.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000334/0.07181, allocations: 190.8 kB / 367.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.07308, allocations: 0.59 MB / 367.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007206/0.08029, allocations: 5.947 MB / 373.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.08131, allocations: 0.8 MB / 374.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008144/0.08212, allocations: 349.5 kB / 374.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.08219, allocations: 29.3 kB / 374.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.08223, allocations: 59.8 kB / 374.8 MB, free: 5.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 6.011e-06/0.08224, allocations: 0 / 374.8 MB, free: 5.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.004952/0.08719, allocations: 2.647 MB / 377.5 MB, free: 2.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.08725, allocations: 98.42 kB / 377.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.08789, allocations: 0.8372 MB / 378.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.08796, allocations: 53.73 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.08833, allocations: 0.6661 MB / 379.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.08866, allocations: 0.546 MB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.089, allocations: 307.3 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.08912, allocations: 309.1 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.08948, allocations: 222.7 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.08998, allocations: 0.6587 MB / 381.2 MB, free: 14.71 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.001691/0.09167, allocations: 1.6 MB / 382.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.09169, allocations: 7.938 kB / 382.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003117/0.0948, allocations: 2.048 MB / 384.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.09483, allocations: 15.92 kB / 384.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.09485, allocations: 16 kB / 384.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.0974, allocations: 1.255 MB / 386.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.09808, allocations: 299.6 kB / 386.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.1103, allocations: 13.26 MB / 399.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.1114, allocations: 59.94 kB / 399.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.1115, allocations: 59.98 kB / 399.8 MB, free: 11.2 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.0006116/0.1121, allocations: 232.3 kB / 400 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.1123, allocations: 131.9 kB / 400.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.1135, allocations: 0.9233 MB / 401 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.1136, allocations: 16 kB / 401.1 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1136, allocations: 4 kB / 401.1 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.1136, allocations: 7.969 kB / 401.1 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.1162, allocations: 1.82 MB / 402.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.1162, allocations: 4.25 kB / 402.9 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.1177, allocations: 428.7 kB / 403.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.1181, allocations: 195.9 kB / 403.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.1181, allocations: 43.98 kB / 403.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.1215, allocations: 6.404 MB / 410 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1215, allocations: 3.938 kB / 410 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.1235, allocations: 1.282 MB / 411.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.1239, allocations: 199 kB / 411.4 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.124, allocations: 47.97 kB / 411.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.1244, allocations: 32 kB / 411.5 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.1246, allocations: 109 kB / 411.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.1247, allocations: 31.98 kB / 411.6 MB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003979/0.1251, allocations: 403.5 kB / 412 MB, free: 14.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1251, allocations: 0 / 412 MB, free: 14.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001643/0.1267, allocations: 0.5429 MB / 412.6 MB, free: 13.68 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.0003562/0.1271, allocations: 170.1 kB / 412.8 MB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.1299, allocations: 2.275 MB / 415 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.891e-05/0.1299, allocations: 21.81 kB / 415 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.1309, allocations: 0.9925 MB / 416 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.132, allocations: 324.7 kB / 416.4 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.1374, allocations: 3.531 MB / 419.9 MB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.1379, allocations: 0.4892 MB / 420.4 MB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006963/0.1386, allocations: 204.4 kB / 420.6 MB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.1392, allocations: 333.1 kB / 420.9 MB, free: 5.105 MB / 394.7 MB Notification: Performance of SimCode: time 2.745e-06/0.1392, allocations: 0 / 420.9 MB, free: 5.105 MB / 394.7 MB Notification: Performance of Templates: time 0.2238/0.363, allocations: 28.87 MB / 449.8 MB, free: 99.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.9430098650045693]