Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 113 kB / 17.73 MB, free: 5.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 190.8 kB / 20.67 MB, free: 2.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2954/0.2954, allocations: 38.01 MB / 336.6 MB, free: 12.95 MB / 270.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 63.89 kB / 466.4 MB, free: 27.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1232, allocations: 58.07 MB / 0.5121 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0138/0.137, allocations: 10.59 MB / 0.5225 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.1491, allocations: 6.234 MB / 0.5286 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.1506, allocations: 47.75 kB / 0.5286 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01228/0.1629, allocations: 5.511 MB / 0.534 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.1657, allocations: 1.073 MB / 0.535 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1675, allocations: 0.6511 MB / 0.5357 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.1722, allocations: 3.209 MB / 0.5388 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.1738, allocations: 1.016 MB / 0.5398 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.1758, allocations: 1.07 MB / 0.5408 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.1783, allocations: 1.343 MB / 0.5422 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004963/0.1788, allocations: 144 kB / 0.5423 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.18, allocations: 419.5 kB / 0.5427 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.181, allocations: 0.8533 MB / 0.5435 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.1823, allocations: 0.9213 MB / 0.5444 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.1858, allocations: 2.273 MB / 0.5467 GB, free: 6.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.1858, allocations: 0 / 0.5467 GB, free: 6.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1858, allocations: 3.938 kB / 0.5467 GB, free: 6.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.1859, allocations: 0 / 0.5467 GB, free: 6.855 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.004395/0.1903, allocations: 2.104 MB / 0.5487 GB, free: 4.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1903, allocations: 11.89 kB / 0.5487 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002903/0.1906, allocations: 224 kB / 0.5489 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.1922, allocations: 291.5 kB / 0.5492 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.1946, allocations: 1.218 MB / 0.5504 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.1947, allocations: 102.6 kB / 0.5505 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/0.1952, allocations: 227.8 kB / 0.5507 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.1985, allocations: 2.111 MB / 0.5528 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.1986, allocations: 7.938 kB / 0.5528 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.1987, allocations: 51.98 kB / 0.5528 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006715/0.1994, allocations: 186.6 kB / 0.553 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.2025, allocations: 1.705 MB / 0.5547 GB, free: 14.4 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.01186/0.2143, allocations: 7.912 MB / 0.5624 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.217, allocations: 1.641 MB / 0.564 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.2182, allocations: 0.6606 MB / 0.5647 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-05/0.2183, allocations: 13 kB / 0.5647 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.2184, allocations: 51.56 kB / 0.5647 GB, free: 3.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.506e-06/0.2184, allocations: 0 / 0.5647 GB, free: 3.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.01033/0.2287, allocations: 5.128 MB / 0.5697 GB, free: 14.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.2289, allocations: 98.45 kB / 0.5698 GB, free: 14.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.2302, allocations: 0.9348 MB / 0.5707 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.2303, allocations: 49.7 kB / 0.5708 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.2309, allocations: 0.7386 MB / 0.5715 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.2314, allocations: 0.5229 MB / 0.572 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.2319, allocations: 307.5 kB / 0.5723 GB, free: 11.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2321, allocations: 301.1 kB / 0.5726 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.2333, allocations: 0.7144 MB / 0.5733 GB, free: 10.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.235, allocations: 1.151 MB / 0.5744 GB, free: 9.324 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.01045/0.2454, allocations: 4.078 MB / 0.5784 GB, free: 5.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.2455, allocations: 4 kB / 0.5784 GB, free: 5.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00732/0.2528, allocations: 3.363 MB / 0.5817 GB, free: 1.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.2529, allocations: 16.09 kB / 0.5817 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/0.2529, allocations: 19.94 kB / 0.5817 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/0.2561, allocations: 1.195 MB / 0.5829 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.2574, allocations: 295.5 kB / 0.5832 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2493/0.5067, allocations: 15.14 MB / 0.598 GB, free: 57.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.5081, allocations: 75.91 kB / 0.598 GB, free: 57.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.5083, allocations: 71.75 kB / 0.5981 GB, free: 57.37 MB / 446.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.001063/0.5093, allocations: 0.495 MB / 0.5986 GB, free: 57.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.5096, allocations: 141.3 kB / 0.5987 GB, free: 57.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.5131, allocations: 2.02 MB / 0.6007 GB, free: 56.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.5131, allocations: 15.03 kB / 0.6007 GB, free: 56.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.5132, allocations: 2.562 kB / 0.6007 GB, free: 56.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.5132, allocations: 11.28 kB / 0.6007 GB, free: 56.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006304/0.5195, allocations: 3.758 MB / 0.6044 GB, free: 54.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.5195, allocations: 6.594 kB / 0.6044 GB, free: 54.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.5211, allocations: 321.7 kB / 0.6047 GB, free: 54.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.5217, allocations: 188.1 kB / 0.6049 GB, free: 54.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.5218, allocations: 52.52 kB / 0.6049 GB, free: 54.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.5258, allocations: 6.677 MB / 0.6114 GB, free: 48.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5258, allocations: 7.844 kB / 0.6115 GB, free: 48.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.5293, allocations: 2.711 MB / 0.6141 GB, free: 46.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/0.5299, allocations: 330.7 kB / 0.6144 GB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.5301, allocations: 45.36 kB / 0.6145 GB, free: 46.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.5308, allocations: 60.84 kB / 0.6145 GB, free: 46.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.531, allocations: 101.8 kB / 0.6146 GB, free: 46.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/0.5311, allocations: 43.73 kB / 0.6147 GB, free: 46.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007584/0.5318, allocations: 0.6261 MB / 0.6153 GB, free: 46.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5318, allocations: 0 / 0.6153 GB, free: 46.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001592/0.5334, allocations: 485.4 kB / 0.6157 GB, free: 46.27 MB / 446.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.003251/0.5367, allocations: 3.318 MB / 0.619 GB, free: 44.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00381/0.5405, allocations: 2.743 MB / 0.6216 GB, free: 42.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5406, allocations: 96 / 0.6216 GB, free: 42.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.5421, allocations: 1.244 MB / 0.6229 GB, free: 40.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.5435, allocations: 319.4 kB / 0.6232 GB, free: 40.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/0.5671, allocations: 17.34 MB / 0.6401 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009282/0.5681, allocations: 1.525 MB / 0.6416 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009989/0.5691, allocations: 399.6 kB / 0.642 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/0.5698, allocations: 0.6243 MB / 0.6426 GB, free: 20.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5698, allocations: 4 kB / 0.6426 GB, free: 20.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08421/0.654, allocations: 39.19 MB / 0.6809 GB, free: 13.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.09, allocations: 21.94 kB / 0.6809 GB, free: 13.18 MB / 478.1 MB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.15476154908538] Failed to read output from testmodel.py, exit status != 0: 16.210844046087004 16.239563206 16.048505515 Calling exit ...