Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.001323/0.001323, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001494/0.001494, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1889/0.1889, allocations: 38.56 MB / 352.5 MB, free: 12.29 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_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",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.003208/0.003208, allocations: 67.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3196, allocations: 62.47 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0123/0.3319, allocations: 9.917 MB / 0.5516 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3421, allocations: 5.75 MB / 0.5572 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009554/0.343, allocations: 64.81 kB / 0.5573 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01238/0.3554, allocations: 6.011 MB / 0.5632 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.3582, allocations: 1.093 MB / 0.5642 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.36, allocations: 0.6706 MB / 0.5649 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004498/0.3645, allocations: 3.306 MB / 0.5681 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.3657, allocations: 0.8474 MB / 0.5689 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3673, allocations: 1.101 MB / 0.57 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.3693, allocations: 1.398 MB / 0.5714 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.3696, allocations: 144 kB / 0.5715 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009702/0.3706, allocations: 447.5 kB / 0.572 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008714/0.3714, allocations: 0.8648 MB / 0.5728 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.3725, allocations: 0.7699 MB / 0.5735 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.3758, allocations: 2.312 MB / 0.5758 GB, free: 1.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3758, allocations: 4 kB / 0.5758 GB, free: 1.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3758, allocations: 0 / 0.5758 GB, free: 1.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.48e-05/0.3759, allocations: 0 / 0.5758 GB, free: 1.48 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004463/0.3803, allocations: 2.029 MB / 0.5778 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3804, allocations: 11.98 kB / 0.5778 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002922/0.3807, allocations: 231.9 kB / 0.578 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.3825, allocations: 335.5 kB / 0.5783 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.3853, allocations: 1.123 MB / 0.5794 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.701e-05/0.3853, allocations: 98.62 kB / 0.5795 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005211/0.3859, allocations: 227.8 kB / 0.5798 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.3892, allocations: 2.103 MB / 0.5818 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/0.3893, allocations: 11.89 kB / 0.5818 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.3894, allocations: 55.98 kB / 0.5819 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006906/0.3901, allocations: 182.6 kB / 0.582 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/0.3932, allocations: 1.705 MB / 0.5837 GB, free: 9.18 MB / 430.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.01174/0.4049, allocations: 7.156 MB / 0.5907 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.4072, allocations: 1.252 MB / 0.5919 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.4083, allocations: 0.6087 MB / 0.5925 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.838e-05/0.4084, allocations: 20.98 kB / 0.5925 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.4084, allocations: 47.56 kB / 0.5926 GB, free: 15.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.637e-06/0.4084, allocations: 0 / 0.5926 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009284/0.4177, allocations: 4.525 MB / 0.597 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.4178, allocations: 98.41 kB / 0.5971 GB, free: 11.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.419, allocations: 0.9541 MB / 0.598 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.214e-05/0.4191, allocations: 49.7 kB / 0.5981 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/0.4197, allocations: 0.7348 MB / 0.5988 GB, free: 9.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.4202, allocations: 0.5268 MB / 0.5993 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.4207, allocations: 303.5 kB / 0.5996 GB, free: 8.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4208, allocations: 313.2 kB / 0.5999 GB, free: 8.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.422, allocations: 0.7027 MB / 0.6006 GB, free: 7.512 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4235, allocations: 1.151 MB / 0.6017 GB, free: 6.172 MB / 446.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.01006/0.4336, allocations: 4.078 MB / 0.6057 GB, free: 1.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.4336, allocations: 4 kB / 0.6057 GB, free: 1.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006908/0.4405, allocations: 3.237 MB / 0.6088 GB, free: 14.65 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.4405, allocations: 12 kB / 0.6089 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.4406, allocations: 19.92 kB / 0.6089 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/0.4436, allocations: 1.18 MB / 0.61 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4448, allocations: 295.6 kB / 0.6103 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.4655, allocations: 14.52 MB / 0.6245 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4668, allocations: 75.89 kB / 0.6246 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.4669, allocations: 79.98 kB / 0.6246 GB, free: 14.02 MB / 478.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000998/0.4679, allocations: 497.2 kB / 0.6251 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.4682, allocations: 139.1 kB / 0.6252 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/0.4715, allocations: 1.796 MB / 0.627 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.4715, allocations: 12 kB / 0.627 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.4715, allocations: 7.984 kB / 0.627 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.4716, allocations: 3.984 kB / 0.627 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006627/0.4782, allocations: 3.312 MB / 0.6303 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4782, allocations: 4 kB / 0.6303 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.4798, allocations: 324 kB / 0.6306 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/0.4803, allocations: 191.2 kB / 0.6308 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.4805, allocations: 51.98 kB / 0.6308 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/0.4863, allocations: 6.232 MB / 0.6369 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4863, allocations: 11.94 kB / 0.6369 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.4909, allocations: 2.488 MB / 0.6393 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/0.4918, allocations: 246.9 kB / 0.6396 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.4921, allocations: 47.94 kB / 0.6396 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.4929, allocations: 59.94 kB / 0.6397 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.4931, allocations: 109 kB / 0.6398 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.206e-05/0.4932, allocations: 39.98 kB / 0.6398 GB, free: 13.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009001/0.4941, allocations: 0.6244 MB / 0.6404 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4941, allocations: 0 / 0.6404 GB, free: 13.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001718/0.4959, allocations: 488 kB / 0.6409 GB, free: 12.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,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],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,10,100.0%), (1,1,100.0%), (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.004451/0.5003, allocations: 3.089 MB / 0.6439 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004794/0.5051, allocations: 2.629 MB / 0.6465 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.5051, allocations: 4 kB / 0.6465 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.507, allocations: 1.198 MB / 0.6476 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5085, allocations: 318.8 kB / 0.6479 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.5379, allocations: 17.11 MB / 0.6647 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.5391, allocations: 0.9316 MB / 0.6656 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001191/0.5403, allocations: 399.6 kB / 0.6659 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008944/0.5412, allocations: 0.6243 MB / 0.6666 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.5412, allocations: 0 / 0.6666 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09127/0.6324, allocations: 40.02 MB / 0.7056 GB, free: 9.945 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.17, allocations: 8 kB / 0.7056 GB, free: 9.938 MB / 0.545 GB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG_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_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.12508362205699] Failed to read output from testmodel.py, exit status != 0: 15.330104453954846 15.34681121 14.9661231 Calling exit ...