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.001812/0.001812, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.002147/0.002147, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2417/0.2417, allocations: 38.52 MB / 352.4 MB, free: 12.59 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.002069/0.002069, allocations: 71.91 kB / 492.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3156, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01046/0.326, allocations: 8.329 MB / 0.5501 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009416/0.3355, allocations: 5.569 MB / 0.5556 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.3366, allocations: 41.34 kB / 0.5556 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01299/0.3496, allocations: 5.879 MB / 0.5613 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.3519, allocations: 0.8521 MB / 0.5622 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3534, allocations: 0.5068 MB / 0.5627 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004422/0.3578, allocations: 2.631 MB / 0.5652 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/0.3587, allocations: 0.5477 MB / 0.5658 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.3599, allocations: 0.7939 MB / 0.5666 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.3617, allocations: 1.129 MB / 0.5677 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.3619, allocations: 104 kB / 0.5678 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.3627, allocations: 407.5 kB / 0.5681 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006766/0.3634, allocations: 0.6739 MB / 0.5688 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007539/0.3641, allocations: 0.6842 MB / 0.5695 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.3662, allocations: 1.747 MB / 0.5712 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3662, allocations: 0 / 0.5712 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3662, allocations: 0 / 0.5712 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.686e-05/0.3662, allocations: 0 / 0.5712 GB, free: 6.57 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.003262/0.3695, allocations: 1.555 MB / 0.5727 GB, free: 4.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3695, allocations: 15.98 kB / 0.5727 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.3697, allocations: 165.2 kB / 0.5729 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.3712, allocations: 279.8 kB / 0.5731 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3733, allocations: 0.8657 MB / 0.574 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.3733, allocations: 77.95 kB / 0.5741 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004518/0.3738, allocations: 183.8 kB / 0.5742 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.3764, allocations: 1.564 MB / 0.5758 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.3764, allocations: 7.938 kB / 0.5758 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3765, allocations: 35.98 kB / 0.5758 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006246/0.3771, allocations: 153.9 kB / 0.5759 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.3795, allocations: 1.253 MB / 0.5772 GB, free: 268 kB / 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.009399/0.3889, allocations: 6.361 MB / 0.5834 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.3906, allocations: 0.8774 MB / 0.5842 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.3914, allocations: 488.5 kB / 0.5847 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.3915, allocations: 20.97 kB / 0.5847 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.3915, allocations: 39.56 kB / 0.5848 GB, free: 8.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.116e-06/0.3915, allocations: 4 kB / 0.5848 GB, free: 8.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007124/0.3986, allocations: 3.246 MB / 0.5879 GB, free: 4.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.3987, allocations: 90.11 kB / 0.588 GB, free: 4.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/0.3997, allocations: 0.7313 MB / 0.5887 GB, free: 3.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.915e-05/0.3998, allocations: 41.7 kB / 0.5888 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.4003, allocations: 0.5667 MB / 0.5893 GB, free: 3.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.4006, allocations: 384.8 kB / 0.5897 GB, free: 2.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/0.401, allocations: 230.9 kB / 0.5899 GB, free: 2.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.4012, allocations: 410.7 kB / 0.5903 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4022, allocations: 0.5686 MB / 0.5909 GB, free: 1.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.4035, allocations: 0.8853 MB / 0.5917 GB, free: 0.7383 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.008988/0.4125, allocations: 3.24 MB / 0.5949 GB, free: 13.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.4125, allocations: 4 kB / 0.5949 GB, free: 13.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006229/0.4187, allocations: 2.698 MB / 0.5975 GB, free: 10.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4187, allocations: 8 kB / 0.5975 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.4188, allocations: 8 kB / 0.5975 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/0.4219, allocations: 1.162 MB / 0.5987 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.4228, allocations: 203.7 kB / 0.5989 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.4427, allocations: 12.09 MB / 0.6107 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.4437, allocations: 63.8 kB / 0.6107 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4438, allocations: 55.98 kB / 0.6108 GB, free: 12.82 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.0007172/0.4445, allocations: 389.4 kB / 0.6112 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.4447, allocations: 103.4 kB / 0.6113 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.4472, allocations: 1.257 MB / 0.6125 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4472, allocations: 11.94 kB / 0.6125 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4472, allocations: 4 kB / 0.6125 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4472, allocations: 3.984 kB / 0.6125 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/0.4523, allocations: 2.486 MB / 0.6149 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4523, allocations: 4 kB / 0.6149 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.4539, allocations: 271.7 kB / 0.6152 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.4541, allocations: 69.75 kB / 0.6153 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.4542, allocations: 35.98 kB / 0.6153 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.4565, allocations: 2.625 MB / 0.6179 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.4565, allocations: 11.92 kB / 0.6179 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.4595, allocations: 1.751 MB / 0.6196 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/0.4601, allocations: 187.2 kB / 0.6198 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.4602, allocations: 35.98 kB / 0.6198 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.4608, allocations: 39.95 kB / 0.6198 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.461, allocations: 76.75 kB / 0.6199 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.461, allocations: 27.98 kB / 0.6199 GB, free: 3.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007131/0.4618, allocations: 499 kB / 0.6204 GB, free: 2.586 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4618, allocations: 0 / 0.6204 GB, free: 2.586 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001344/0.4631, allocations: 376 kB / 0.6208 GB, free: 2.219 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.003317/0.4664, allocations: 2.332 MB / 0.623 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.4705, allocations: 2.042 MB / 0.625 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4705, allocations: 8.062 kB / 0.625 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.4716, allocations: 0.7254 MB / 0.6258 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4727, allocations: 213.8 kB / 0.626 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/0.4977, allocations: 13.95 MB / 0.6396 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.4988, allocations: 1.31 MB / 0.6409 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009157/0.4997, allocations: 316 kB / 0.6412 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007219/0.5004, allocations: 459.3 kB / 0.6416 GB, free: 12.29 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5004, allocations: 0 / 0.6416 GB, free: 12.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08043/0.5808, allocations: 31.72 MB / 0.6726 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/15.84, allocations: 7.312 kB / 0.6726 GB, free: 12.77 MB / 0.5137 GB " [Timeout remaining time 644] (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: 19.120569143997272] Failed to read output from testmodel.py, exit status != 0: 15.979553465003846 15.997388038 15.627616067 Calling exit ...