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.001305/0.001305, 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.001476/0.001476, allocations: 209.2 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1841/0.1841, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002187/0.002187, allocations: 67.91 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3055, allocations: 62.45 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01309/0.3186, allocations: 10.3 MB / 0.552 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.3302, allocations: 6.462 MB / 0.5583 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.3314, allocations: 75 kB / 0.5584 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02547/0.3569, allocations: 14.36 MB / 0.5724 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.36, allocations: 1.14 MB / 0.5735 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.3619, allocations: 0.7174 MB / 0.5742 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005986/0.3679, allocations: 4.184 MB / 0.5783 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.3693, allocations: 0.867 MB / 0.5791 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.371, allocations: 1.16 MB / 0.5803 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.3731, allocations: 1.569 MB / 0.5818 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.3734, allocations: 152 kB / 0.5819 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.3747, allocations: 0.5578 MB / 0.5825 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009787/0.3756, allocations: 0.9194 MB / 0.5834 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.3767, allocations: 0.8205 MB / 0.5842 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.3798, allocations: 2.6 MB / 0.5867 GB, free: 6.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3798, allocations: 0 / 0.5867 GB, free: 6.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3798, allocations: 0 / 0.5867 GB, free: 6.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.3798, allocations: 0 / 0.5867 GB, free: 6.277 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.00455/0.3844, allocations: 2.217 MB / 0.5889 GB, free: 4.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3844, allocations: 11.98 kB / 0.5889 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002968/0.3847, allocations: 232.5 kB / 0.5891 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.3867, allocations: 395.1 kB / 0.5895 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.3897, allocations: 1.232 MB / 0.5907 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3898, allocations: 106.7 kB / 0.5908 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005689/0.3904, allocations: 239.8 kB / 0.591 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.3939, allocations: 2.192 MB / 0.5932 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.3939, allocations: 11.92 kB / 0.5932 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.394, allocations: 59.98 kB / 0.5932 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006614/0.3947, allocations: 186.8 kB / 0.5934 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/0.3979, allocations: 1.823 MB / 0.5952 GB, free: 13.39 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.01258/0.4105, allocations: 7.596 MB / 0.6026 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.4129, allocations: 1.381 MB / 0.604 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4143, allocations: 0.761 MB / 0.6047 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.145e-05/0.4144, allocations: 17.3 kB / 0.6047 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4145, allocations: 47.88 kB / 0.6048 GB, free: 3.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.597e-06/0.4145, allocations: 0 / 0.6048 GB, free: 3.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.0227/0.4372, allocations: 8.476 MB / 0.6131 GB, free: 10.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.4372, allocations: 98.41 kB / 0.6131 GB, free: 10.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.4387, allocations: 1.094 MB / 0.6142 GB, free: 9.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.4389, allocations: 57.69 kB / 0.6143 GB, free: 9.445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/0.4395, allocations: 0.7976 MB / 0.6151 GB, free: 8.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005281/0.44, allocations: 0.6236 MB / 0.6157 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.4406, allocations: 355.4 kB / 0.616 GB, free: 7.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4407, allocations: 301.1 kB / 0.6163 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.4422, allocations: 0.8472 MB / 0.6171 GB, free: 6.508 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.4441, allocations: 1.344 MB / 0.6184 GB, free: 4.957 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.01415/0.4582, allocations: 5.191 MB / 0.6235 GB, free: 15.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.4583, allocations: 4 kB / 0.6235 GB, free: 15.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009925/0.4682, allocations: 3.995 MB / 0.6274 GB, free: 11.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.4682, allocations: 12 kB / 0.6274 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.4682, allocations: 12 kB / 0.6274 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/0.4747, allocations: 1.589 MB / 0.629 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.4766, allocations: 319.5 kB / 0.6293 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03993/0.5166, allocations: 20.02 MB / 0.6488 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.5186, allocations: 96.34 kB / 0.6489 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/0.519, allocations: 79.98 kB / 0.649 GB, free: 4.742 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.001558/0.5205, allocations: 0.5556 MB / 0.6495 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/0.521, allocations: 159 kB / 0.6497 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006823/0.5278, allocations: 2.496 MB / 0.6521 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.5279, allocations: 16 kB / 0.6521 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5279, allocations: 4 kB / 0.6521 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5279, allocations: 11.97 kB / 0.6522 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/0.5371, allocations: 4.285 MB / 0.6563 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.5371, allocations: 8.312 kB / 0.6564 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.5389, allocations: 343.5 kB / 0.6567 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.5405, allocations: 0.4937 MB / 0.6572 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.5407, allocations: 51.97 kB / 0.6572 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.5539, allocations: 11.98 MB / 0.6689 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.5539, allocations: 7.938 kB / 0.6689 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006699/0.5606, allocations: 3.407 MB / 0.6722 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009784/0.5616, allocations: 302.7 kB / 0.6725 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.5619, allocations: 47.98 kB / 0.6726 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008664/0.5628, allocations: 71.92 kB / 0.6726 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003687/0.5631, allocations: 137 kB / 0.6728 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.5632, allocations: 47.98 kB / 0.6728 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001069/0.5643, allocations: 0.7139 MB / 0.6735 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5643, allocations: 384 / 0.6735 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002124/0.5664, allocations: 0.6015 MB / 0.6741 GB, free: 9.965 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.007094/0.5735, allocations: 4.035 MB / 0.678 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006437/0.58, allocations: 3.377 MB / 0.6813 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.58, allocations: 5.562 kB / 0.6814 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003078/0.5831, allocations: 1.822 MB / 0.6831 GB, free: 484 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.5847, allocations: 351.4 kB / 0.6835 GB, free: 140 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/0.6221, allocations: 19.63 MB / 0.7026 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.6235, allocations: 1.054 MB / 0.7037 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001357/0.6249, allocations: 437.3 kB / 0.7041 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.626, allocations: 0.7063 MB / 0.7048 GB, free: 9.539 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/0.626, allocations: 0 / 0.7048 GB, free: 9.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3749/1.001, allocations: 49.78 MB / 0.7534 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.07, allocations: 3.938 kB / 0.7534 GB, free: 163.3 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.938055086007807] Failed to read output from testmodel.py, exit status != 0: 16.218238439993 16.231741897 15.848201628 Calling exit ...