Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001357/0.001357, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001438/0.001438, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.473/1.473, 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 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.1957/0.1957, allocations: 38.53 MB / 352.4 MB, free: 12.57 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_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.002163/0.002163, allocations: 67.91 kB / 492.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3262, allocations: 62.47 MB / 0.542 GB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01463/0.3408, allocations: 11.29 MB / 0.553 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.355, allocations: 7.164 MB / 0.56 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.3564, allocations: 72.62 kB / 0.5601 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02738/0.3838, allocations: 14.48 MB / 0.5742 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003573/0.3874, allocations: 1.151 MB / 0.5753 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.3896, allocations: 0.7173 MB / 0.576 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007069/0.3967, allocations: 4.184 MB / 0.5801 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.3983, allocations: 0.8592 MB / 0.581 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.4007, allocations: 1.156 MB / 0.5821 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.4033, allocations: 1.561 MB / 0.5836 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.4036, allocations: 152 kB / 0.5838 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.405, allocations: 0.5968 MB / 0.5844 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.4061, allocations: 0.9233 MB / 0.5853 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.4074, allocations: 0.9873 MB / 0.5862 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.4111, allocations: 2.58 MB / 0.5887 GB, free: 4.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4111, allocations: 0 / 0.5887 GB, free: 4.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4111, allocations: 0 / 0.5887 GB, free: 4.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.4111, allocations: 4 kB / 0.5887 GB, free: 4.535 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.005744/0.4169, allocations: 2.219 MB / 0.5909 GB, free: 2.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.417, allocations: 15.98 kB / 0.5909 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004376/0.4174, allocations: 232.5 kB / 0.5911 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.4196, allocations: 395.1 kB / 0.5915 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.4233, allocations: 1.232 MB / 0.5927 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.4234, allocations: 102.7 kB / 0.5928 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006728/0.4241, allocations: 243.8 kB / 0.5931 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.4278, allocations: 2.196 MB / 0.5952 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/0.4279, allocations: 11.94 kB / 0.5952 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.428, allocations: 59.92 kB / 0.5953 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006227/0.4287, allocations: 190.8 kB / 0.5955 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003295/0.432, allocations: 1.827 MB / 0.5972 GB, free: 11.63 MB / 446.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.01327/0.4452, allocations: 8.418 MB / 0.6055 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.4477, allocations: 1.392 MB / 0.6068 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.4491, allocations: 0.7473 MB / 0.6075 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.4492, allocations: 25.38 kB / 0.6076 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.4493, allocations: 47.88 kB / 0.6076 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.537e-06/0.4493, allocations: 0 / 0.6076 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.0243/0.4736, allocations: 8.486 MB / 0.6159 GB, free: 8.027 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.4736, allocations: 98.45 kB / 0.616 GB, free: 7.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.4751, allocations: 1.067 MB / 0.617 GB, free: 6.832 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.4753, allocations: 57.7 kB / 0.6171 GB, free: 6.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006632/0.4759, allocations: 0.7976 MB / 0.6179 GB, free: 5.961 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00061/0.4765, allocations: 0.6275 MB / 0.6185 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005596/0.4771, allocations: 355.4 kB / 0.6188 GB, free: 4.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4772, allocations: 301.1 kB / 0.6191 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.4788, allocations: 0.8511 MB / 0.6199 GB, free: 3.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.4807, allocations: 1.341 MB / 0.6213 GB, free: 2.277 MB / 462.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.0142/0.4949, allocations: 5.195 MB / 0.6263 GB, free: 12.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.4949, allocations: 4 kB / 0.6263 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009491/0.5044, allocations: 3.991 MB / 0.6302 GB, free: 8.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.5045, allocations: 15.5 kB / 0.6302 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.5045, allocations: 12 kB / 0.6303 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/0.5094, allocations: 1.604 MB / 0.6318 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.5107, allocations: 311.5 kB / 0.6321 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03037/0.5411, allocations: 20.29 MB / 0.6519 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.5426, allocations: 91.92 kB / 0.652 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.5428, allocations: 83.98 kB / 0.6521 GB, free: 1.758 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001006/0.5438, allocations: 0.5508 MB / 0.6526 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.5441, allocations: 163 kB / 0.6528 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.5495, allocations: 2.5 MB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.5495, allocations: 16 kB / 0.6552 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.5495, allocations: 4 kB / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.5495, allocations: 7.969 kB / 0.6553 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009552/0.5591, allocations: 4.483 MB / 0.6596 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5591, allocations: 4.312 kB / 0.6596 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.5609, allocations: 343.5 kB / 0.66 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.5625, allocations: 0.4897 MB / 0.6604 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.5626, allocations: 55.95 kB / 0.6605 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.5757, allocations: 12.04 MB / 0.6723 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5757, allocations: 4 kB / 0.6723 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007207/0.5829, allocations: 3.401 MB / 0.6756 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.584, allocations: 302.8 kB / 0.6759 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.5843, allocations: 47.98 kB / 0.6759 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009579/0.5852, allocations: 71.92 kB / 0.676 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.5856, allocations: 137 kB / 0.6761 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.5857, allocations: 47.98 kB / 0.6762 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001085/0.5868, allocations: 0.7178 MB / 0.6769 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5868, allocations: 0 / 0.6769 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002333/0.5891, allocations: 0.5937 MB / 0.6774 GB, free: 6.738 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,line.v[1,2],line.v[1,3],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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007352/0.5965, allocations: 4.043 MB / 0.6814 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006267/0.6027, allocations: 3.374 MB / 0.6847 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6027, allocations: 0 / 0.6847 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.6059, allocations: 1.831 MB / 0.6865 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.6075, allocations: 346.8 kB / 0.6868 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/0.644, allocations: 19.61 MB / 0.706 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.6456, allocations: 1.649 MB / 0.7076 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001272/0.6469, allocations: 437.3 kB / 0.708 GB, free: 6.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.6479, allocations: 0.7063 MB / 0.7087 GB, free: 5.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.6479, allocations: 0 / 0.7087 GB, free: 5.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3224/0.9703, allocations: 50.17 MB / 0.7577 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/17.67, allocations: 11.55 kB / 0.7577 GB, free: 157.2 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI_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_PSGI.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.60115480099921] Failed to read output from testmodel.py, exit status != 0: 17.825906787002168 17.846607416 17.431373733 Calling exit ...