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.001204/0.001204, 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.004502/0.004502, allocations: 169.9 kB / 24.91 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2459/0.2459, allocations: 29.42 MB / 291.2 MB, free: 2.41 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.292e-06/1.292e-06, allocations: 0 / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.09e-05, allocations: 6.312 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008246/0.008267, allocations: 9.688 MB / 326.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008717/0.01698, allocations: 6.892 MB / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007601/0.01774, allocations: 71.38 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01441/0.03216, allocations: 14.04 MB / 347.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.03454, allocations: 1.166 MB / 348.7 MB, free: 64 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.03588, allocations: 0.7637 MB / 349.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.03919, allocations: 4.187 MB / 353.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008768/0.04007, allocations: 0.9138 MB / 354.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.04163, allocations: 1.621 MB / 356.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.04267, allocations: 1.25 MB / 357.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.04283, allocations: 144 kB / 357.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007118/0.04354, allocations: 0.5537 MB / 358.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.04411, allocations: 0.9702 MB / 359.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.04463, allocations: 0.6664 MB / 359.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.04622, allocations: 1.935 MB / 361.7 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.04622, allocations: 4 kB / 361.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04622, allocations: 0 / 361.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.04624, allocations: 0 / 361.7 MB, free: 2.996 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.00233/0.04857, allocations: 2.02 MB / 363.7 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.0486, allocations: 15.98 kB / 363.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.04968, allocations: 444.3 kB / 364.2 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.05088, allocations: 1.029 MB / 365.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.05094, allocations: 106.7 kB / 365.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/0.05127, allocations: 227.7 kB / 365.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.05246, allocations: 1.314 MB / 366.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.0525, allocations: 11.92 kB / 366.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.459e-05/0.05259, allocations: 55.98 kB / 366.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002983/0.05289, allocations: 186.8 kB / 367.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.05366, allocations: 0.6017 MB / 367.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.0589, allocations: 5.935 MB / 373.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.05976, allocations: 0.7923 MB / 374.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.06021, allocations: 353.4 kB / 374.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.06028, allocations: 33.31 kB / 374.8 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.06031, allocations: 47.88 kB / 374.8 MB, free: 5.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 2.615e-06/0.06031, allocations: 0 / 374.8 MB, free: 5.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.004191/0.0645, allocations: 2.643 MB / 377.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.06454, allocations: 102.3 kB / 377.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.06504, allocations: 0.8411 MB / 378.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.06511, allocations: 57.73 kB / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.06537, allocations: 0.6622 MB / 379.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.06563, allocations: 0.5422 MB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.0659, allocations: 303.3 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.06597, allocations: 309 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.06625, allocations: 222.7 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.0667, 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.001311/0.06801, allocations: 1.6 MB / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.06802, allocations: 4 kB / 382.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003158/0.07118, allocations: 2.052 MB / 384.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.0712, allocations: 11.94 kB / 384.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.07121, allocations: 20 kB / 384.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.07348, allocations: 1.256 MB / 386.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.07399, allocations: 271.5 kB / 386.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.08458, allocations: 13.21 MB / 399.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.08526, allocations: 63.92 kB / 399.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.08538, allocations: 60 kB / 399.7 MB, free: 11.28 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.0004282/0.0858, allocations: 228.3 kB / 399.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.08601, allocations: 127.9 kB / 400 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.08736, allocations: 0.9271 MB / 401 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.08737, allocations: 16 kB / 401 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.08737, allocations: 11.98 kB / 401 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.08739, allocations: 7.969 kB / 401 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.0902, allocations: 1.816 MB / 402.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.0902, allocations: 0 / 402.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.09127, allocations: 307.9 kB / 403.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.09166, allocations: 196.1 kB / 403.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/0.09175, allocations: 43.98 kB / 403.4 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/0.09512, allocations: 6.396 MB / 409.8 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.09512, allocations: 0 / 409.8 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.09679, allocations: 1.29 MB / 411 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.09713, allocations: 198.9 kB / 411.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.09728, allocations: 51.91 kB / 411.3 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.0977, allocations: 28 kB / 411.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.09788, allocations: 113 kB / 411.4 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.09794, allocations: 27.98 kB / 411.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003758/0.09832, allocations: 403.5 kB / 411.8 MB, free: 14.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09832, allocations: 0 / 411.8 MB, free: 14.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001757/0.1001, allocations: 0.5429 MB / 412.4 MB, free: 13.88 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.000328/0.1004, allocations: 173.7 kB / 412.6 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.103, allocations: 2.263 MB / 414.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.19e-05/0.103, allocations: 17.81 kB / 414.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000978/0.104, allocations: 0.9976 MB / 415.8 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009738/0.105, allocations: 328.3 kB / 416.2 MB, free: 9.945 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.1101, allocations: 3.521 MB / 419.7 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.1106, allocations: 0.4891 MB / 420.2 MB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005724/0.1111, allocations: 204.2 kB / 420.4 MB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/0.1118, allocations: 329.1 kB / 420.7 MB, free: 5.324 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1118, allocations: 0 / 420.7 MB, free: 5.324 MB / 394.7 MB Notification: Performance of Templates: time 0.1699/0.2817, allocations: 28.57 MB / 449.3 MB, free: 103.9 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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.892275203950703]