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.001333/0.001333, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001496/0.001496, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1855/0.1855, allocations: 38.54 MB / 352.5 MB, free: 12.31 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.002259/0.002259, allocations: 71.84 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3124, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01274/0.3251, allocations: 9.916 MB / 0.5516 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.3357, allocations: 5.754 MB / 0.5572 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3369, allocations: 67.91 kB / 0.5573 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01293/0.3499, allocations: 6.078 MB / 0.5632 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.3527, allocations: 1.085 MB / 0.5643 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.3545, allocations: 0.6745 MB / 0.565 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004628/0.3592, allocations: 3.317 MB / 0.5682 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.3605, allocations: 0.8553 MB / 0.569 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.3621, allocations: 1.105 MB / 0.5701 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.3642, allocations: 1.448 MB / 0.5715 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.3645, allocations: 148 kB / 0.5717 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000918/0.3654, allocations: 451.5 kB / 0.5721 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008612/0.3662, allocations: 0.8765 MB / 0.573 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000953/0.3672, allocations: 0.766 MB / 0.5737 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.3699, allocations: 2.308 MB / 0.576 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.3699, allocations: 0 / 0.576 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3699, allocations: 0 / 0.576 GB, free: 1.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.3699, allocations: 0 / 0.576 GB, free: 1.32 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.004126/0.374, allocations: 2.039 MB / 0.5779 GB, free: 15.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3741, allocations: 11.98 kB / 0.578 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002846/0.3744, allocations: 224 kB / 0.5782 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.3761, allocations: 335.5 kB / 0.5785 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.3788, allocations: 1.123 MB / 0.5796 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.3789, allocations: 102.6 kB / 0.5797 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005063/0.3794, allocations: 223.9 kB / 0.5799 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.3826, allocations: 2.099 MB / 0.582 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.3827, allocations: 15.89 kB / 0.582 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.3828, allocations: 59.95 kB / 0.582 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006686/0.3835, allocations: 190.6 kB / 0.5822 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.3864, allocations: 1.697 MB / 0.5839 GB, free: 9.016 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.01166/0.398, allocations: 7.149 MB / 0.5908 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.4003, allocations: 1.25 MB / 0.5921 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.4014, allocations: 0.6137 MB / 0.5927 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.775e-05/0.4015, allocations: 20.98 kB / 0.5927 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.4015, allocations: 47.5 kB / 0.5927 GB, free: 15.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.467e-06/0.4015, allocations: 0 / 0.5927 GB, free: 15.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009388/0.4109, allocations: 4.521 MB / 0.5971 GB, free: 11.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.411, allocations: 98.41 kB / 0.5972 GB, free: 10.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.4123, allocations: 0.958 MB / 0.5982 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.4124, allocations: 49.7 kB / 0.5982 GB, free: 9.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.413, allocations: 0.7387 MB / 0.5989 GB, free: 9.203 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000475/0.4135, allocations: 0.5228 MB / 0.5995 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/0.414, allocations: 315.5 kB / 0.5998 GB, free: 8.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4141, allocations: 305.1 kB / 0.6 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.4153, allocations: 0.7106 MB / 0.6007 GB, free: 7.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.4169, allocations: 1.151 MB / 0.6019 GB, free: 6.008 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.01023/0.4271, allocations: 4.07 MB / 0.6058 GB, free: 1.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/0.4271, allocations: 4 kB / 0.6058 GB, free: 1.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00726/0.4344, allocations: 3.233 MB / 0.609 GB, free: 14.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.4344, allocations: 12 kB / 0.609 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/0.4345, allocations: 19.94 kB / 0.609 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.4377, allocations: 1.176 MB / 0.6102 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.4389, allocations: 307.5 kB / 0.6105 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/0.4596, allocations: 14.51 MB / 0.6246 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.4609, allocations: 79.88 kB / 0.6247 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/0.4612, allocations: 75.92 kB / 0.6248 GB, free: 13.87 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.001216/0.4624, allocations: 0.4894 MB / 0.6253 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.4628, allocations: 139.1 kB / 0.6254 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.4665, allocations: 1.8 MB / 0.6272 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.4665, allocations: 12 kB / 0.6272 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.4665, allocations: 8 kB / 0.6272 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.4665, allocations: 3.984 kB / 0.6272 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007142/0.4737, allocations: 3.304 MB / 0.6304 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.4737, allocations: 4 kB / 0.6304 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.4754, allocations: 323.6 kB / 0.6307 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/0.4759, allocations: 199.3 kB / 0.6309 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.476, allocations: 47.98 kB / 0.631 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005783/0.4818, allocations: 6.216 MB / 0.637 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.4818, allocations: 11.94 kB / 0.637 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/0.4862, allocations: 2.488 MB / 0.6395 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008483/0.487, allocations: 254.9 kB / 0.6397 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.4873, allocations: 47.97 kB / 0.6398 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.4881, allocations: 56.06 kB / 0.6398 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.4883, allocations: 108.9 kB / 0.6399 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/0.4884, allocations: 43.98 kB / 0.64 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009458/0.4894, allocations: 0.6283 MB / 0.6406 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4894, allocations: 0 / 0.6406 GB, free: 13.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00179/0.4911, allocations: 488 kB / 0.641 GB, free: 12.55 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.004889/0.496, allocations: 3.09 MB / 0.6441 GB, free: 9.363 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005082/0.5011, allocations: 2.63 MB / 0.6466 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.5011, allocations: 4 kB / 0.6466 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.5031, allocations: 1.198 MB / 0.6478 GB, free: 5.434 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.505, allocations: 330.7 kB / 0.6481 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/0.5363, allocations: 17.09 MB / 0.6648 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.5378, allocations: 0.9354 MB / 0.6657 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001189/0.539, allocations: 407.6 kB / 0.6661 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/0.5399, allocations: 0.6203 MB / 0.6667 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.5399, allocations: 0 / 0.6667 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/0.6407, allocations: 40.65 MB / 0.7064 GB, free: 9.148 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.19, allocations: 7.219 kB / 0.7064 GB, free: 9.148 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.086282098956872] Failed to read output from testmodel.py, exit status != 0: 15.342964679002762 15.371907281 14.997096051 Calling exit ...