Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001291/0.001291, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001501/0.001501, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.1886/0.1886, allocations: 38.56 MB / 352.5 MB, free: 12.28 MB / 286.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.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_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_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.002022/0.002022, allocations: 68.08 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3227, allocations: 62.46 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01133/0.3341, allocations: 7.677 MB / 0.5494 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009617/0.3437, allocations: 5.043 MB / 0.5544 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.3449, allocations: 36.94 kB / 0.5544 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.3577, allocations: 5.746 MB / 0.56 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.3601, allocations: 0.8558 MB / 0.5608 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.3615, allocations: 0.503 MB / 0.5613 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003798/0.3653, allocations: 2.612 MB / 0.5639 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009525/0.3663, allocations: 0.5555 MB / 0.5644 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.3676, allocations: 0.794 MB / 0.5652 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.3693, allocations: 1.079 MB / 0.5662 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.3696, allocations: 104 kB / 0.5663 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.3705, allocations: 391.5 kB / 0.5667 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007121/0.3712, allocations: 0.6661 MB / 0.5674 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008917/0.3721, allocations: 0.5717 MB / 0.5679 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.3742, allocations: 1.751 MB / 0.5696 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3742, allocations: 4 kB / 0.5696 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3742, allocations: 3.938 kB / 0.5696 GB, free: 7.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.811e-05/0.3743, allocations: 0 / 0.5696 GB, free: 7.793 MB / 414.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.003486/0.3777, allocations: 1.555 MB / 0.5712 GB, free: 6.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3778, allocations: 11.98 kB / 0.5712 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002488/0.378, allocations: 173.2 kB / 0.5713 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.3795, allocations: 267.8 kB / 0.5716 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.3817, allocations: 0.8775 MB / 0.5725 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.3818, allocations: 69.98 kB / 0.5725 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004589/0.3822, allocations: 191.8 kB / 0.5727 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.3847, allocations: 1.564 MB / 0.5742 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.3848, allocations: 4 kB / 0.5742 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.3849, allocations: 39.98 kB / 0.5743 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006164/0.3855, allocations: 145.9 kB / 0.5744 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.3878, allocations: 1.253 MB / 0.5756 GB, free: 1.488 MB / 414.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.009003/0.3969, allocations: 5.636 MB / 0.5811 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.3985, allocations: 0.878 MB / 0.582 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/0.3993, allocations: 488.5 kB / 0.5825 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.092e-05/0.3994, allocations: 12.98 kB / 0.5825 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3994, allocations: 47.56 kB / 0.5825 GB, free: 10.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.237e-06/0.3994, allocations: 0 / 0.5825 GB, free: 10.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006745/0.4062, allocations: 3.254 MB / 0.5857 GB, free: 6.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.4062, allocations: 86.11 kB / 0.5858 GB, free: 6.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.4073, allocations: 0.7467 MB / 0.5865 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/0.4073, allocations: 45.64 kB / 0.5866 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.4078, allocations: 0.5628 MB / 0.5871 GB, free: 5.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.4081, allocations: 388.7 kB / 0.5875 GB, free: 5.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.4085, allocations: 230.9 kB / 0.5877 GB, free: 4.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4087, allocations: 410.7 kB / 0.5881 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009746/0.4097, allocations: 0.5764 MB / 0.5886 GB, free: 3.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.4109, allocations: 0.897 MB / 0.5895 GB, free: 2.762 MB / 430.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.008913/0.4198, allocations: 3.224 MB / 0.5927 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.4199, allocations: 0 / 0.5927 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006322/0.4262, allocations: 2.702 MB / 0.5953 GB, free: 12.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.4262, allocations: 12 kB / 0.5953 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.4262, allocations: 11.98 kB / 0.5953 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/0.4294, allocations: 1.139 MB / 0.5964 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/0.4303, allocations: 195.7 kB / 0.5966 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/0.4507, allocations: 11.91 MB / 0.6083 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4518, allocations: 55.89 kB / 0.6083 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/0.452, allocations: 52 kB / 0.6084 GB, free: 15.08 MB / 462.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.0009022/0.4529, allocations: 409.4 kB / 0.6088 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.4532, allocations: 99.34 kB / 0.6089 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.4557, allocations: 1.257 MB / 0.6101 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4558, allocations: 12 kB / 0.6101 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4558, allocations: 4 kB / 0.6101 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4558, allocations: 3.984 kB / 0.6101 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.4609, allocations: 2.376 MB / 0.6124 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.4609, allocations: 0 / 0.6124 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.4625, allocations: 279.8 kB / 0.6127 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/0.4626, allocations: 53.69 kB / 0.6127 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4627, allocations: 43.91 kB / 0.6128 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.4649, allocations: 2.624 MB / 0.6153 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4649, allocations: 0 / 0.6153 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.4679, allocations: 1.751 MB / 0.6171 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.4686, allocations: 179.3 kB / 0.6172 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.4688, allocations: 35.94 kB / 0.6173 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.4695, allocations: 47.89 kB / 0.6173 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.4697, allocations: 76.75 kB / 0.6174 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.4697, allocations: 31.98 kB / 0.6174 GB, free: 5.426 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007306/0.4705, allocations: 495 kB / 0.6179 GB, free: 4.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4705, allocations: 4 kB / 0.6179 GB, free: 4.941 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001433/0.4719, allocations: 376 kB / 0.6182 GB, free: 4.574 MB / 462.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.00345/0.4754, allocations: 2.332 MB / 0.6205 GB, free: 2.184 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004222/0.4796, allocations: 2.034 MB / 0.6225 GB, free: 128 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4796, allocations: 0 / 0.6225 GB, free: 128 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.4809, allocations: 0.7387 MB / 0.6232 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.4822, allocations: 232.5 kB / 0.6235 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/0.5086, allocations: 13.91 MB / 0.637 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.5097, allocations: 0.7132 MB / 0.6377 GB, free: 36 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009898/0.5107, allocations: 312 kB / 0.638 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/0.5115, allocations: 455.3 kB / 0.6385 GB, free: 15.28 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5115, allocations: 0 / 0.6385 GB, free: 15.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/0.6112, allocations: 30.75 MB / 0.6685 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.77, allocations: 2.812 kB / 0.6685 GB, free: 0.8438 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.833986282814294] Failed to read output from testmodel.py, exit status != 0: 14.909505966119468 14.938938512 14.559086899 Calling exit ...