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.001278/0.001278, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001402/0.001402, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1917/0.1917, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] 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.002149/0.002149, allocations: 71.83 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3265, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.0103/0.3368, allocations: 7.674 MB / 0.5494 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009276/0.3461, allocations: 5.038 MB / 0.5543 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009751/0.347, allocations: 42.38 kB / 0.5544 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01451/0.3616, allocations: 5.809 MB / 0.5601 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.3644, allocations: 0.8519 MB / 0.5609 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.3663, allocations: 0.5185 MB / 0.5614 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004807/0.3711, allocations: 2.62 MB / 0.564 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.3724, allocations: 0.5555 MB / 0.5645 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.3743, allocations: 0.794 MB / 0.5653 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.3768, allocations: 1.121 MB / 0.5664 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.3771, allocations: 104 kB / 0.5665 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3784, allocations: 403.5 kB / 0.5669 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.3795, allocations: 0.6623 MB / 0.5675 GB, free: 10 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.3809, allocations: 0.5717 MB / 0.5681 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.3836, allocations: 1.755 MB / 0.5698 GB, free: 7.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3836, allocations: 0 / 0.5698 GB, free: 7.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3836, allocations: 0 / 0.5698 GB, free: 7.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.237e-05/0.3836, allocations: 0 / 0.5698 GB, free: 7.664 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.003832/0.3875, allocations: 1.564 MB / 0.5713 GB, free: 6.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3875, allocations: 11.98 kB / 0.5713 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002857/0.3878, allocations: 165.2 kB / 0.5715 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.3894, allocations: 275.8 kB / 0.5717 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.3916, allocations: 0.8697 MB / 0.5726 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.3917, allocations: 73.98 kB / 0.5726 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.3922, allocations: 187.8 kB / 0.5728 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.3948, allocations: 1.56 MB / 0.5744 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/0.3948, allocations: 11.88 kB / 0.5744 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.3949, allocations: 43.97 kB / 0.5744 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006347/0.3956, allocations: 149.9 kB / 0.5745 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.3979, allocations: 1.245 MB / 0.5758 GB, free: 1.355 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.008921/0.4068, allocations: 5.644 MB / 0.5813 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.4085, allocations: 0.8703 MB / 0.5821 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.4094, allocations: 496.4 kB / 0.5826 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.278e-05/0.4094, allocations: 12.98 kB / 0.5826 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4095, allocations: 43.56 kB / 0.5827 GB, free: 10.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.928e-06/0.4095, allocations: 0 / 0.5827 GB, free: 10.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007118/0.4166, allocations: 3.258 MB / 0.5858 GB, free: 6.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.4166, allocations: 90.11 kB / 0.5859 GB, free: 6.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/0.4176, allocations: 0.7389 MB / 0.5866 GB, free: 5.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.4177, allocations: 41.7 kB / 0.5867 GB, free: 5.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.4182, allocations: 0.5706 MB / 0.5872 GB, free: 5.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.4185, allocations: 380.8 kB / 0.5876 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004058/0.4189, allocations: 234.8 kB / 0.5878 GB, free: 4.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002645/0.4192, allocations: 418.8 kB / 0.5882 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.4203, allocations: 0.5647 MB / 0.5888 GB, free: 3.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.4216, allocations: 0.8892 MB / 0.5896 GB, free: 2.637 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.008563/0.4301, allocations: 3.228 MB / 0.5928 GB, free: 15.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4301, allocations: 7.938 kB / 0.5928 GB, free: 15.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006176/0.4363, allocations: 2.694 MB / 0.5954 GB, free: 12.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.4363, allocations: 8 kB / 0.5954 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.4364, allocations: 12 kB / 0.5955 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/0.4394, allocations: 1.135 MB / 0.5966 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/0.4404, allocations: 211.6 kB / 0.5968 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/0.4603, allocations: 11.92 MB / 0.6084 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/0.4613, allocations: 59.95 kB / 0.6085 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.4615, allocations: 52 kB / 0.6085 GB, free: 14.93 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.0007594/0.4622, allocations: 398.9 kB / 0.6089 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.4625, allocations: 103.3 kB / 0.609 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.4649, allocations: 1.253 MB / 0.6102 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.465, allocations: 12 kB / 0.6102 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.465, allocations: 7.984 kB / 0.6102 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.465, allocations: 3.984 kB / 0.6102 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.4701, allocations: 2.372 MB / 0.6126 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4701, allocations: 4.219 kB / 0.6126 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.4716, allocations: 275.7 kB / 0.6128 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/0.4718, allocations: 53.67 kB / 0.6129 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4719, allocations: 39.97 kB / 0.6129 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.4742, allocations: 2.628 MB / 0.6155 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4742, allocations: 320 / 0.6155 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.4772, allocations: 1.754 MB / 0.6172 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.4777, allocations: 179.3 kB / 0.6174 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.4779, allocations: 35.98 kB / 0.6174 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.4785, allocations: 43.91 kB / 0.6174 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.4787, allocations: 72.81 kB / 0.6175 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.4788, allocations: 35.98 kB / 0.6175 GB, free: 5.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007749/0.4796, allocations: 495 kB / 0.618 GB, free: 4.816 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4796, allocations: 0 / 0.618 GB, free: 4.816 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001437/0.481, allocations: 376 kB / 0.6184 GB, free: 4.449 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.003423/0.4844, allocations: 2.336 MB / 0.6207 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004329/0.4888, allocations: 2.037 MB / 0.6226 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4888, allocations: 3.938 kB / 0.6226 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.4901, allocations: 0.7348 MB / 0.6234 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.4913, allocations: 225.7 kB / 0.6236 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/0.518, allocations: 13.92 MB / 0.6372 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.5191, allocations: 0.7093 MB / 0.6379 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.5201, allocations: 312 kB / 0.6382 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008077/0.5209, allocations: 455.3 kB / 0.6386 GB, free: 15.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5209, allocations: 4 kB / 0.6386 GB, free: 15.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0786/0.5995, allocations: 31.24 MB / 0.6691 GB, free: 208 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.63, allocations: 10.75 kB / 0.6691 GB, free: 200 kB / 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.728025424992666] Failed to read output from testmodel.py, exit status != 0: 14.772152179852128 14.788677068 14.401753807 Calling exit ...