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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001989, allocations: 186.9 kB / 21.34 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 247.1 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] 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.3006/0.3006, allocations: 38 MB / 337.2 MB, free: 12.93 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001938/0.001938, allocations: 67.73 kB / 467.5 MB, free: 27.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 58.07 MB / 0.5133 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01421/0.1281, allocations: 11.03 MB / 0.524 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1404, allocations: 7.074 MB / 0.5309 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.1417, allocations: 51.69 kB / 0.531 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02411/0.1659, allocations: 12.87 MB / 0.5436 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.1697, allocations: 1.12 MB / 0.5447 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.1718, allocations: 0.694 MB / 0.5453 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006676/0.1785, allocations: 4.004 MB / 0.5492 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.1801, allocations: 0.9886 MB / 0.5502 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.182, allocations: 1.121 MB / 0.5513 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.1842, allocations: 1.444 MB / 0.5527 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.1845, allocations: 148 kB / 0.5529 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.1857, allocations: 0.515 MB / 0.5534 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.1867, allocations: 0.9039 MB / 0.5542 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.188, allocations: 0.9873 MB / 0.5552 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.1916, allocations: 2.565 MB / 0.5577 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1916, allocations: 4 kB / 0.5577 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1916, allocations: 0 / 0.5577 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.799e-05/0.1917, allocations: 0 / 0.5577 GB, free: 12.17 MB / 430.1 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.004757/0.1965, allocations: 2.281 MB / 0.5599 GB, free: 9.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1965, allocations: 11.89 kB / 0.56 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.1984, allocations: 347.3 kB / 0.5603 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.2012, allocations: 1.347 MB / 0.5616 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.549e-05/0.2013, allocations: 102.7 kB / 0.5617 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005836/0.2019, allocations: 239.8 kB / 0.5619 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.2055, allocations: 2.192 MB / 0.5641 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.2056, allocations: 7.953 kB / 0.5641 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.2058, allocations: 59.92 kB / 0.5641 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006898/0.2065, allocations: 190.8 kB / 0.5643 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/0.2098, allocations: 1.83 MB / 0.5661 GB, free: 3.359 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.2227, allocations: 8.53 MB / 0.5744 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.2256, allocations: 1.909 MB / 0.5763 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.2271, allocations: 0.7929 MB / 0.5771 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-05/0.2272, allocations: 17.31 kB / 0.5771 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.2273, allocations: 47.88 kB / 0.5771 GB, free: 7.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.396e-06/0.2273, allocations: 0 / 0.5771 GB, free: 7.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.2947/0.522, allocations: 9.262 MB / 0.5862 GB, free: 66.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.5221, allocations: 95.17 kB / 0.5863 GB, free: 66.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.5242, allocations: 1.066 MB / 0.5873 GB, free: 66.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003067/0.5245, allocations: 52.98 kB / 0.5874 GB, free: 66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006471/0.5252, allocations: 0.8097 MB / 0.5881 GB, free: 65.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.5258, allocations: 0.616 MB / 0.5887 GB, free: 65.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006323/0.5264, allocations: 356.1 kB / 0.5891 GB, free: 64.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.5265, allocations: 305.3 kB / 0.5894 GB, free: 64.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.5282, allocations: 0.8519 MB / 0.5902 GB, free: 64.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.5303, allocations: 1.341 MB / 0.5915 GB, free: 63.46 MB / 446.1 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.01443/0.5448, allocations: 5.188 MB / 0.5966 GB, free: 61.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-05/0.5448, allocations: 4.375 kB / 0.5966 GB, free: 61.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01074/0.5556, allocations: 4.206 MB / 0.6007 GB, free: 60.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.5556, allocations: 16.03 kB / 0.6007 GB, free: 60.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.311e-05/0.5557, allocations: 15 kB / 0.6007 GB, free: 60.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004805/0.5605, allocations: 1.598 MB / 0.6023 GB, free: 59.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.562, allocations: 308.9 kB / 0.6026 GB, free: 59.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/0.5841, allocations: 20.91 MB / 0.623 GB, free: 43.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.5859, allocations: 95.92 kB / 0.6231 GB, free: 43.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.586, allocations: 80.06 kB / 0.6232 GB, free: 43.18 MB / 446.1 MB Warning: The initial conditions are over specified. The following 6 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 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.5871, allocations: 0.5468 MB / 0.6237 GB, free: 42.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.5875, allocations: 166.9 kB / 0.6239 GB, free: 42.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/0.5917, allocations: 2.803 MB / 0.6266 GB, free: 39.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5917, allocations: 16 kB / 0.6266 GB, free: 39.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5917, allocations: 4 kB / 0.6266 GB, free: 39.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.5918, allocations: 11.97 kB / 0.6266 GB, free: 39.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/0.5989, allocations: 4.817 MB / 0.6313 GB, free: 34.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.599, allocations: 4 kB / 0.6313 GB, free: 34.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.6005, allocations: 343.5 kB / 0.6317 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.6019, allocations: 0.4975 MB / 0.6322 GB, free: 33.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.602, allocations: 55.97 kB / 0.6322 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007915/0.6099, allocations: 12.74 MB / 0.6446 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.61, allocations: 4.031 kB / 0.6447 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/0.6152, allocations: 3.721 MB / 0.6483 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/0.6159, allocations: 367.9 kB / 0.6486 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.6162, allocations: 51.98 kB / 0.6487 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008512/0.617, allocations: 74.31 kB / 0.6488 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.6174, allocations: 133 kB / 0.6489 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/0.6175, allocations: 55.92 kB / 0.6489 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007749/0.6182, allocations: 0.7061 MB / 0.6496 GB, free: 14.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6183, allocations: 0 / 0.6496 GB, free: 14.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001911/0.6202, allocations: 0.5958 MB / 0.6502 GB, free: 14.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003451/0.6205, allocations: 190 kB / 0.6504 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005014/0.6255, allocations: 3.52 MB / 0.6538 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.6256, allocations: 4 kB / 0.6538 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.6279, allocations: 1.89 MB / 0.6557 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.6295, allocations: 346.6 kB / 0.656 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.6363, allocations: 5.477 MB / 0.6614 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009551/0.6373, allocations: 1.628 MB / 0.6629 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/0.6378, allocations: 123.3 kB / 0.6631 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.6378, allocations: 0 / 0.6631 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of Templates: time 0.08051/0.7183, allocations: 65.04 MB / 0.7266 GB, free: 15.7 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] Could not SIGINT process: 1677243. Could not SIGINT process: 1677244. Could not SIGINT process: 1677247. Could not SIGINT process: 1676414. [Calling os._exit(0), Time elapsed: 496.43357432598714] Failed to read output from testmodel.py, exit status != 0: 0.7249654659535736 0.738527496 0.5442849350000001 Calling exit ...