Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001762/0.001762, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.0024/0.0024, allocations: 209.6 kB / 20.75 MB, free: 2.27 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2308/0.2308, allocations: 38.52 MB / 348.7 MB, free: 2.645 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-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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1178, allocations: 62.43 MB / 0.5367 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01089/0.1287, allocations: 8.184 MB / 0.5447 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009646/0.1383, allocations: 5.561 MB / 0.5501 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.139, allocations: 35.69 kB / 0.5501 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.1499, allocations: 5.266 MB / 0.5553 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1523, allocations: 0.852 MB / 0.5561 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1538, allocations: 0.4912 MB / 0.5566 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004026/0.1578, allocations: 2.53 MB / 0.5591 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009171/0.1587, allocations: 0.5128 MB / 0.5596 GB, free: 28 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.1602, allocations: 0.7823 MB / 0.5603 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.1618, allocations: 1.122 MB / 0.5614 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.162, allocations: 104 kB / 0.5615 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008492/0.1629, allocations: 403.5 kB / 0.5619 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006785/0.1635, allocations: 0.6623 MB / 0.5626 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007943/0.1643, allocations: 0.6997 MB / 0.5632 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.1665, allocations: 1.74 MB / 0.5649 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1665, allocations: 3.938 kB / 0.5649 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1665, allocations: 0 / 0.5649 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.1665, allocations: 0 / 0.5649 GB, free: 10.5 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003445/0.17, allocations: 1.618 MB / 0.5665 GB, free: 8.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.17, allocations: 12.03 kB / 0.5665 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.1702, allocations: 165.2 kB / 0.5667 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.1718, allocations: 275.8 kB / 0.567 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.1738, allocations: 0.9691 MB / 0.5679 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.1739, allocations: 73.91 kB / 0.568 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/0.1744, allocations: 187.8 kB / 0.5681 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.177, allocations: 1.559 MB / 0.5697 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.177, allocations: 4 kB / 0.5697 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.1771, allocations: 43.97 kB / 0.5697 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006647/0.1778, allocations: 153.9 kB / 0.5699 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.1801, allocations: 1.249 MB / 0.5711 GB, free: 4.016 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.009694/0.1898, allocations: 6.467 MB / 0.5774 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.1914, allocations: 0.8747 MB / 0.5783 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/0.1923, allocations: 492.5 kB / 0.5787 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.1923, allocations: 16.97 kB / 0.5787 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.1924, allocations: 47.5 kB / 0.5788 GB, free: 11.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 2.726e-06/0.1924, allocations: 0 / 0.5788 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.007405/0.1998, allocations: 3.697 MB / 0.5824 GB, free: 7.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.1999, allocations: 90.11 kB / 0.5825 GB, free: 7.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2009, allocations: 0.7312 MB / 0.5832 GB, free: 7.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/0.201, allocations: 41.7 kB / 0.5832 GB, free: 6.988 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00049/0.2015, allocations: 0.5667 MB / 0.5838 GB, free: 6.414 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.2019, allocations: 392.7 kB / 0.5842 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/0.2023, allocations: 234.9 kB / 0.5844 GB, free: 5.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002865/0.2026, allocations: 414.7 kB / 0.5848 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.2036, allocations: 0.5647 MB / 0.5853 GB, free: 4.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.2049, allocations: 0.8853 MB / 0.5862 GB, free: 3.797 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.009156/0.2141, allocations: 3.232 MB / 0.5894 GB, free: 452 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.2141, allocations: 4 kB / 0.5894 GB, free: 448 kB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.2385/0.4526, allocations: 2.687 MB / 0.592 GB, free: 50.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.4526, allocations: 9.953 kB / 0.592 GB, free: 50.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.4527, allocations: 8.781 kB / 0.592 GB, free: 50.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/0.456, allocations: 1.16 MB / 0.5931 GB, free: 50.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.4569, allocations: 199.6 kB / 0.5933 GB, free: 50.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.4759, allocations: 12.29 MB / 0.6053 GB, free: 44.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009303/0.4768, allocations: 56.08 kB / 0.6054 GB, free: 44.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.477, allocations: 51.39 kB / 0.6054 GB, free: 44.88 MB / 446.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006148/0.4776, allocations: 413.3 kB / 0.6058 GB, free: 44.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.4777, allocations: 101.9 kB / 0.6059 GB, free: 44.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.48, allocations: 1.411 MB / 0.6073 GB, free: 43.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.48, allocations: 14.03 kB / 0.6073 GB, free: 43.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.48, allocations: 5.125 kB / 0.6073 GB, free: 43.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.48, allocations: 5.156 kB / 0.6073 GB, free: 43.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.4841, allocations: 2.655 MB / 0.6099 GB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.4841, allocations: 5.5 kB / 0.6099 GB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.4855, allocations: 274.9 kB / 0.6102 GB, free: 42.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.4857, allocations: 63.48 kB / 0.6102 GB, free: 42.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.4858, allocations: 35.66 kB / 0.6103 GB, free: 42.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.4871, allocations: 2.847 MB / 0.6131 GB, free: 39.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4871, allocations: 0 / 0.6131 GB, free: 39.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.4896, allocations: 1.897 MB / 0.6149 GB, free: 38.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.49, allocations: 263.6 kB / 0.6152 GB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.4902, allocations: 34.22 kB / 0.6152 GB, free: 38.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.4907, allocations: 41 kB / 0.6152 GB, free: 38.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.4909, allocations: 69.47 kB / 0.6153 GB, free: 38.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/0.491, allocations: 33.16 kB / 0.6153 GB, free: 38.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005832/0.4916, allocations: 500 kB / 0.6158 GB, free: 38.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4916, allocations: 1.641 kB / 0.6158 GB, free: 38.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001251/0.4928, allocations: 377.7 kB / 0.6162 GB, free: 38.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.00243/0.4952, allocations: 2.489 MB / 0.6186 GB, free: 36.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003313/0.4985, allocations: 2.038 MB / 0.6206 GB, free: 35.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4986, allocations: 4 kB / 0.6206 GB, free: 35.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.4994, allocations: 0.732 MB / 0.6213 GB, free: 34.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.5004, allocations: 221.2 kB / 0.6215 GB, free: 34.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.5195, allocations: 13.92 MB / 0.6351 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.5203, allocations: 1.314 MB / 0.6364 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007815/0.5211, allocations: 312 kB / 0.6367 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.5216, allocations: 451.3 kB / 0.6371 GB, free: 18.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5216, allocations: 0 / 0.6371 GB, free: 18.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.6253, allocations: 30.52 MB / 0.6669 GB, free: 3.801 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.27, allocations: 10.88 kB / 0.6669 GB, free: 3.797 MB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.400141734164208] Failed to read output from testmodel.py, exit status != 0: 15.389798047021031 15.415022428 15.243561539 Calling exit ...