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.0009297/0.0009297, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001214/0.001214, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.16/1.16, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2492/0.2492, allocations: 29.42 MB / 291.2 MB, free: 2.434 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 2.786e-06/2.786e-06, allocations: 0 / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.787e-05/4.066e-05, allocations: 6.969 kB / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01367/0.01371, allocations: 9.663 MB / 326.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.02746, allocations: 6.9 MB / 333.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.02921, allocations: 71.44 kB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01557/0.04479, allocations: 13.81 MB / 347.3 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.04773, allocations: 1.173 MB / 348.4 MB, free: 316 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.04954, allocations: 0.7599 MB / 349.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005555/0.0551, allocations: 4.195 MB / 353.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.05685, allocations: 0.9177 MB / 354.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.05939, allocations: 1.621 MB / 355.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.06089, allocations: 1.25 MB / 357.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.06111, allocations: 140 kB / 357.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009881/0.0621, allocations: 0.5576 MB / 357.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006589/0.06276, allocations: 0.9663 MB / 358.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007097/0.06347, allocations: 0.6664 MB / 359.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.06571, allocations: 1.935 MB / 361.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.06572, allocations: 0 / 361.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.06572, allocations: 0 / 361.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.292e-05/0.06577, allocations: 3.984 kB / 361.5 MB, free: 3.238 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.002574/0.06835, allocations: 2.032 MB / 363.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.0684, allocations: 11.98 kB / 363.5 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.06996, allocations: 440.3 kB / 363.9 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.07171, allocations: 1.018 MB / 364.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.07179, allocations: 110.7 kB / 365.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004487/0.07224, allocations: 223.7 kB / 365.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.07393, allocations: 1.314 MB / 366.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.07398, allocations: 7.938 kB / 366.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.0741, allocations: 55.98 kB / 366.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004106/0.07451, allocations: 190.8 kB / 366.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.07571, allocations: 0.6055 MB / 367.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006998/0.08271, allocations: 5.939 MB / 373.4 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.0839, allocations: 0.791 MB / 374.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.08449, allocations: 357.4 kB / 374.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.408e-05/0.08457, allocations: 29.3 kB / 374.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.08461, allocations: 55.88 kB / 374.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 3.737e-06/0.08461, allocations: 0 / 374.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.005562/0.09017, allocations: 2.643 MB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.09023, allocations: 98.36 kB / 377.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.09092, allocations: 0.8451 MB / 378.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.091, allocations: 49.7 kB / 378.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.09136, allocations: 0.67 MB / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.09172, allocations: 0.5422 MB / 379.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000392/0.09211, allocations: 307.3 kB / 379.7 MB, free: 332 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.09219, allocations: 305.1 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.09259, allocations: 222.7 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.09321, allocations: 0.6665 MB / 380.9 MB, free: 14.94 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.001821/0.09503, allocations: 1.6 MB / 382.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.09504, allocations: 4 kB / 382.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004006/0.09904, allocations: 2.052 MB / 384.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.09907, allocations: 15.94 kB / 384.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.0991, allocations: 12 kB / 384.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003127/0.1022, allocations: 1.253 MB / 385.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/0.103, allocations: 275.5 kB / 386.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.1161, allocations: 13.2 MB / 399.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.117, allocations: 55.95 kB / 399.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.1172, allocations: 64.11 kB / 399.5 MB, free: 11.52 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.0005565/0.1177, allocations: 235.3 kB / 399.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.1179, allocations: 123.9 kB / 399.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.1194, allocations: 0.9311 MB / 400.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.1194, allocations: 16 kB / 400.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1194, allocations: 4 kB / 400.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.1194, allocations: 11.95 kB / 400.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.1224, allocations: 1.824 MB / 402.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1224, allocations: 4 kB / 402.6 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.1235, allocations: 307.9 kB / 402.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.1239, allocations: 192.1 kB / 403.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.124, allocations: 47.97 kB / 403.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.1273, allocations: 6.388 MB / 409.5 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1273, allocations: 4.219 kB / 409.5 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.1291, allocations: 1.286 MB / 410.8 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.1295, allocations: 199 kB / 411 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.1296, allocations: 43.92 kB / 411 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.1301, allocations: 32 kB / 411.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.1303, allocations: 105 kB / 411.2 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.1304, allocations: 35.98 kB / 411.2 MB, free: 15.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004871/0.1308, allocations: 403.5 kB / 411.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1308, allocations: 0 / 411.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001935/0.1328, allocations: 0.5429 MB / 412.2 MB, free: 14.12 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.0003753/0.1332, allocations: 172.5 kB / 412.3 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.136, allocations: 2.259 MB / 414.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.88e-05/0.136, allocations: 19.5 kB / 414.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008503/0.1369, allocations: 1.004 MB / 415.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.1378, allocations: 333.1 kB / 415.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.1427, allocations: 3.521 MB / 419.4 MB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.1432, allocations: 0.493 MB / 419.9 MB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005631/0.1437, allocations: 200.2 kB / 420.1 MB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.1443, allocations: 333.1 kB / 420.5 MB, free: 5.551 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.1443, allocations: 0 / 420.5 MB, free: 5.551 MB / 394.7 MB Notification: Performance of Templates: time 0.2105/0.3548, allocations: 28.57 MB / 449 MB, free: 104 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.142411706969142]