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.001218/0.001218, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001401/0.001401, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 8 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.1878/0.1878, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.002075/0.002075, allocations: 75.89 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 62.46 MB / 0.542 GB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01114/0.334, allocations: 8.32 MB / 0.5501 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009609/0.3436, allocations: 5.577 MB / 0.5556 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008628/0.3445, allocations: 37.56 kB / 0.5556 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01337/0.3578, allocations: 5.888 MB / 0.5613 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.3606, allocations: 0.8597 MB / 0.5622 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.3623, allocations: 0.5068 MB / 0.5627 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004633/0.3669, allocations: 2.624 MB / 0.5652 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009263/0.3679, allocations: 0.5672 MB / 0.5658 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.3691, allocations: 0.7863 MB / 0.5666 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.3707, allocations: 1.118 MB / 0.5677 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.3709, allocations: 104 kB / 0.5678 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000818/0.3717, allocations: 411.5 kB / 0.5681 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.3723, allocations: 0.67 MB / 0.5688 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007293/0.3731, allocations: 0.692 MB / 0.5695 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.3751, allocations: 1.74 MB / 0.5712 GB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3751, allocations: 4 kB / 0.5712 GB, free: 6.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.3751, allocations: 0 / 0.5712 GB, free: 6.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.3751, allocations: 0 / 0.5712 GB, free: 6.559 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.003323/0.3784, allocations: 1.551 MB / 0.5727 GB, free: 4.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3785, allocations: 11.98 kB / 0.5727 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/0.3787, allocations: 177.1 kB / 0.5729 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.3802, allocations: 271.8 kB / 0.5731 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.3823, allocations: 0.8735 MB / 0.574 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/0.3824, allocations: 77.97 kB / 0.5741 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/0.3828, allocations: 183.8 kB / 0.5742 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.3853, allocations: 1.564 MB / 0.5758 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/0.3853, allocations: 8 kB / 0.5758 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.3854, allocations: 35.98 kB / 0.5758 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000601/0.386, allocations: 149.9 kB / 0.576 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.3883, allocations: 1.249 MB / 0.5772 GB, free: 260 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.009055/0.3973, allocations: 6.365 MB / 0.5834 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.399, allocations: 0.8735 MB / 0.5842 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008399/0.3998, allocations: 488.5 kB / 0.5847 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.107e-05/0.3999, allocations: 20.97 kB / 0.5847 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.3999, allocations: 47.5 kB / 0.5848 GB, free: 8.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 2.594e-06/0.3999, allocations: 0 / 0.5848 GB, free: 8.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007012/0.4069, allocations: 3.246 MB / 0.5879 GB, free: 4.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.407, allocations: 90.05 kB / 0.588 GB, free: 4.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.408, allocations: 0.7313 MB / 0.5887 GB, free: 3.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.244e-05/0.4081, allocations: 45.69 kB / 0.5888 GB, free: 3.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/0.4085, allocations: 0.5628 MB / 0.5893 GB, free: 3.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.4089, allocations: 384.8 kB / 0.5897 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/0.4092, allocations: 238.8 kB / 0.5899 GB, free: 2.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.4095, allocations: 418.7 kB / 0.5903 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009949/0.4105, allocations: 0.5608 MB / 0.5909 GB, free: 1.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.4117, allocations: 0.8931 MB / 0.5917 GB, free: 0.7109 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.008836/0.4205, allocations: 3.228 MB / 0.5949 GB, free: 13.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4206, allocations: 0 / 0.5949 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006281/0.4268, allocations: 2.694 MB / 0.5975 GB, free: 10.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.4269, allocations: 10.81 kB / 0.5975 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.4269, allocations: 12 kB / 0.5976 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/0.43, allocations: 1.152 MB / 0.5987 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/0.4309, allocations: 199.7 kB / 0.5989 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.4506, allocations: 12.08 MB / 0.6107 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/0.4515, allocations: 71.84 kB / 0.6107 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.4517, allocations: 52 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.0007061/0.4524, allocations: 409.3 kB / 0.6112 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.4525, allocations: 95.39 kB / 0.6113 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.4551, allocations: 1.257 MB / 0.6125 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.4551, allocations: 15.98 kB / 0.6125 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4551, allocations: 0 / 0.6125 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4551, allocations: 3.984 kB / 0.6125 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.4598, allocations: 2.486 MB / 0.6149 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4599, allocations: 8.031 kB / 0.6149 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.4615, allocations: 279.6 kB / 0.6152 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.4617, allocations: 53.67 kB / 0.6153 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.379e-05/0.4618, allocations: 43.97 kB / 0.6153 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.464, allocations: 2.629 MB / 0.6179 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.464, allocations: 4 kB / 0.6179 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.4671, allocations: 1.751 MB / 0.6196 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/0.4677, allocations: 183.2 kB / 0.6198 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.4678, allocations: 35.98 kB / 0.6198 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.4684, allocations: 43.95 kB / 0.6198 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4685, allocations: 72.75 kB / 0.6199 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.4686, allocations: 24 kB / 0.6199 GB, free: 3.066 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006511/0.4693, allocations: 0.4912 MB / 0.6204 GB, free: 2.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4693, allocations: 0 / 0.6204 GB, free: 2.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001274/0.4705, allocations: 380 kB / 0.6208 GB, free: 2.207 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.003344/0.4739, allocations: 2.324 MB / 0.623 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.4779, allocations: 2.038 MB / 0.625 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4779, allocations: 0 / 0.625 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.4792, allocations: 0.7372 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.001088/0.4802, allocations: 211.6 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.02462/0.5049, allocations: 13.96 MB / 0.6396 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.5059, allocations: 1.302 MB / 0.6409 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008453/0.5068, allocations: 320 kB / 0.6412 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/0.5075, allocations: 459.3 kB / 0.6416 GB, free: 12.27 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5075, allocations: 0 / 0.6416 GB, free: 12.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07774/0.5852, allocations: 31.7 MB / 0.6726 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/15.78, allocations: 18.36 kB / 0.6726 GB, free: 12.77 MB / 0.5137 GB " [Timeout remaining time 644] (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: 18.687509354000213] Failed to read output from testmodel.py, exit status != 0: 15.92286557800253 15.941392242 15.562374163 Calling exit ...