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.001166/0.001166, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00125/0.00125, allocations: 168.5 kB / 24.82 MB, free: 9.203 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 0.9958/0.9958, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.323/0.323, allocations: 29.42 MB / 291.2 MB, free: 2.383 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.373e-06/1.373e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.243e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008525/0.008537, allocations: 9.609 MB / 379.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007139/0.01568, allocations: 6.763 MB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.01624, allocations: 71.38 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.02934, allocations: 14.2 MB / 400.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.03081, allocations: 1.162 MB / 401.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.03189, allocations: 0.7442 MB / 402.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.0349, allocations: 4.257 MB / 406.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.0356, allocations: 0.8631 MB / 407.8 MB, free: 4.906 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.03685, allocations: 1.629 MB / 409.4 MB, free: 3.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.0379, allocations: 1.328 MB / 410.7 MB, free: 1.941 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.03807, allocations: 148 kB / 410.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.0387, allocations: 0.5615 MB / 411.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005349/0.03924, allocations: 0.9546 MB / 412.4 MB, free: 284 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.03973, allocations: 0.6702 MB / 413.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.04139, allocations: 1.935 MB / 415 MB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.04139, allocations: 0 / 415 MB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.04139, allocations: 0 / 415 MB, free: 13.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.0414, allocations: 0 / 415 MB, free: 13.66 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.002261/0.04366, allocations: 2.225 MB / 417.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.0437, allocations: 15.98 kB / 417.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.04477, allocations: 0.4953 MB / 417.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.046, allocations: 1.145 MB / 418.9 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.04606, allocations: 102.7 kB / 419 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.04637, allocations: 219.8 kB / 419.2 MB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.04796, allocations: 1.36 MB / 420.5 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.048, allocations: 11.92 kB / 420.6 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.0481, allocations: 55.98 kB / 420.6 MB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003248/0.04842, allocations: 190.8 kB / 420.8 MB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/0.04937, allocations: 0.6404 MB / 421.4 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/0.05549, allocations: 7.525 MB / 429 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.05638, allocations: 0.8111 MB / 429.8 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.05684, allocations: 391.1 kB / 430.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-05/0.0569, allocations: 25.31 kB / 430.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.05694, allocations: 54.62 kB / 430.2 MB, free: 13.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 6.762e-06/0.05694, allocations: 0 / 430.2 MB, free: 13.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.003977/0.06092, allocations: 2.746 MB / 433 MB, free: 11.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.06096, allocations: 90.42 kB / 433.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.06159, allocations: 0.995 MB / 434.1 MB, free: 9.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.06165, allocations: 49.7 kB / 434.1 MB, free: 9.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007477/0.0624, allocations: 0.8817 MB / 435 MB, free: 8.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.06271, allocations: 0.5656 MB / 435.6 MB, free: 8.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.06304, allocations: 345 kB / 435.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.06315, allocations: 476.8 kB / 436.4 MB, free: 7.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.06343, allocations: 231.8 kB / 436.6 MB, free: 7.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/0.06404, allocations: 0.89 MB / 437.5 MB, free: 6.203 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.001527/0.06557, allocations: 1.815 MB / 439.3 MB, free: 4.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.06558, allocations: 4 kB / 439.3 MB, free: 4.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003565/0.06914, allocations: 2.365 MB / 441.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.06916, allocations: 15.94 kB / 441.7 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.06918, allocations: 15.98 kB / 441.7 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.07152, allocations: 1.298 MB / 443 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.07203, allocations: 275.6 kB / 443.3 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1662/0.2382, allocations: 17.33 MB / 460.6 MB, free: 76.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.2392, allocations: 65.7 kB / 460.6 MB, free: 76.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.2393, allocations: 63.19 kB / 460.7 MB, free: 76.39 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 $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.0005149/0.2398, allocations: 275.1 kB / 461 MB, free: 76.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.24, allocations: 194.3 kB / 461.2 MB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2412, allocations: 1.1 MB / 462.3 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2412, allocations: 15.75 kB / 462.3 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2412, allocations: 3.344 kB / 462.3 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2412, allocations: 6.984 kB / 462.3 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.244, allocations: 2.152 MB / 464.4 MB, free: 75.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.244, allocations: 3.125 kB / 464.5 MB, free: 75.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007896/0.2448, allocations: 311 kB / 464.8 MB, free: 75.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.2451, allocations: 174.7 kB / 464.9 MB, free: 75.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/0.2452, allocations: 46.62 kB / 465 MB, free: 75.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/0.248, allocations: 9.043 MB / 474 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.248, allocations: 5.219 kB / 474 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.2502, allocations: 1.533 MB / 475.6 MB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.2506, allocations: 232.4 kB / 475.8 MB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2507, allocations: 44.66 kB / 475.8 MB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.2511, allocations: 33 kB / 475.9 MB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.2512, allocations: 106.2 kB / 476 MB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.2513, allocations: 35.58 kB / 476 MB, free: 66.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004135/0.2517, allocations: 0.5317 MB / 476.5 MB, free: 66.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2517, allocations: 0 / 476.5 MB, free: 66.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001719/0.2534, allocations: 0.5456 MB / 477.1 MB, free: 66.02 MB / 410.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.0003351/0.2538, allocations: 178.6 kB / 477.2 MB, free: 65.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.2563, allocations: 2.756 MB / 480 MB, free: 64.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2563, allocations: 0 / 480 MB, free: 64.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008413/0.2571, allocations: 1.308 MB / 481.3 MB, free: 63.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.258, allocations: 308.3 kB / 481.6 MB, free: 63.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.2633, allocations: 4.054 MB / 485.7 MB, free: 61.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.2638, allocations: 0.4994 MB / 486.2 MB, free: 61.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006116/0.2645, allocations: 198.9 kB / 486.4 MB, free: 61.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005591/0.265, allocations: 377.3 kB / 486.7 MB, free: 61.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.784e-06/0.265, allocations: 0 / 486.7 MB, free: 61.38 MB / 410.7 MB Notification: Performance of Templates: time 0.03974/0.3047, allocations: 28.65 MB / 0.5033 GB, free: 56.13 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: 3.7988636242225766]