Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001287/0.001287, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001633/0.001633, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.195/0.195, allocations: 38.54 MB / 352.5 MB, free: 12.55 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.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",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.00205/0.00205, allocations: 63.89 kB / 492.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3706, allocations: 62.46 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.02196/0.3926, allocations: 9.803 MB / 0.5516 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.4041, allocations: 3.649 MB / 0.5551 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.4053, allocations: 46.09 kB / 0.5552 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005091/0.4104, allocations: 1.137 MB / 0.5563 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004247/0.4147, allocations: 0.9098 MB / 0.5572 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.4171, allocations: 495.9 kB / 0.5577 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.42, allocations: 1.808 MB / 0.5594 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.4212, allocations: 0.755 MB / 0.5602 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.4226, allocations: 0.786 MB / 0.5609 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.4241, allocations: 0.9696 MB / 0.5619 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.4243, allocations: 104 kB / 0.562 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.4256, allocations: 0.6278 MB / 0.5626 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006762/0.4263, allocations: 0.6506 MB / 0.5632 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008246/0.4271, allocations: 0.7037 MB / 0.5639 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.4296, allocations: 1.923 MB / 0.5658 GB, free: 12.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4296, allocations: 4 kB / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4297, allocations: 0 / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.4297, allocations: 0 / 0.5658 GB, free: 12.08 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003479/0.4332, allocations: 1.598 MB / 0.5674 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4332, allocations: 19.92 kB / 0.5674 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002429/0.4334, allocations: 177.6 kB / 0.5675 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.4354, allocations: 315.8 kB / 0.5678 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.4376, allocations: 0.8656 MB / 0.5687 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.4376, allocations: 82.09 kB / 0.5688 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.438, allocations: 139.9 kB / 0.5689 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.4405, allocations: 1.489 MB / 0.5704 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/0.4405, allocations: 11.89 kB / 0.5704 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.4406, allocations: 47.98 kB / 0.5704 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/0.4409, allocations: 98.11 kB / 0.5705 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.4431, allocations: 1.265 MB / 0.5717 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00881/0.4519, allocations: 5.523 MB / 0.5771 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4529, allocations: 0.5618 MB / 0.5777 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.4535, allocations: 380 kB / 0.578 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.4536, allocations: 8.656 kB / 0.5781 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.4536, allocations: 43.16 kB / 0.5781 GB, free: 14.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.4536, allocations: 0 / 0.5781 GB, free: 14.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.007809/0.4615, allocations: 3.22 MB / 0.5812 GB, free: 11.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.4615, allocations: 85.77 kB / 0.5813 GB, free: 11.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.4625, allocations: 0.7391 MB / 0.582 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.4626, allocations: 41.7 kB / 0.5821 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.4631, allocations: 0.6013 MB / 0.5827 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.4634, allocations: 277.7 kB / 0.5829 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.4636, allocations: 182.6 kB / 0.5831 GB, free: 9.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.4639, allocations: 406.7 kB / 0.5835 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.4645, allocations: 385.8 kB / 0.5839 GB, free: 8.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/0.4655, allocations: 0.6574 MB / 0.5845 GB, free: 8.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.4671, allocations: 1.148 MB / 0.5856 GB, free: 6.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.4671, allocations: 4 kB / 0.5856 GB, free: 6.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003651/0.4708, allocations: 1.69 MB / 0.5873 GB, free: 5.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4708, allocations: 8 kB / 0.5873 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002814/0.4736, allocations: 1.294 MB / 0.5886 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.4756, allocations: 0.5769 MB / 0.5891 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.4763, allocations: 175.7 kB / 0.5893 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.4895, allocations: 9.943 MB / 0.599 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000794/0.4903, allocations: 56.02 kB / 0.599 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/0.4904, allocations: 43.94 kB / 0.5991 GB, free: 8.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * 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 initialization (93): * Single equations (assignments): 89 * 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): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006379/0.4911, allocations: 381.4 kB / 0.5995 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.4912, allocations: 95.38 kB / 0.5995 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.4937, allocations: 1.244 MB / 0.6008 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.4937, allocations: 8 kB / 0.6008 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4937, allocations: 8 kB / 0.6008 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4937, allocations: 4.172 kB / 0.6008 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.4984, allocations: 2.359 MB / 0.6031 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4984, allocations: 7.922 kB / 0.6031 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.4989, allocations: 107.8 kB / 0.6032 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.5001, allocations: 376 kB / 0.6036 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.5002, allocations: 27.98 kB / 0.6036 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009284/0.5095, allocations: 8.797 MB / 0.6122 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5095, allocations: 0 / 0.6122 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.5125, allocations: 1.675 MB / 0.6138 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.513, allocations: 163.2 kB / 0.614 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.5132, allocations: 31.92 kB / 0.614 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.5137, allocations: 31.97 kB / 0.614 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.5138, allocations: 64.48 kB / 0.6141 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.5139, allocations: 23.98 kB / 0.6141 GB, free: 8.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007488/0.5146, allocations: 0.5029 MB / 0.6146 GB, free: 7.941 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5146, allocations: 0 / 0.6146 GB, free: 7.941 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001479/0.5161, allocations: 363.9 kB / 0.6149 GB, free: 7.586 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003442/0.5196, allocations: 2.265 MB / 0.6172 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.5222, allocations: 1.527 MB / 0.6186 GB, free: 3.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5223, allocations: 3.938 kB / 0.6187 GB, free: 3.676 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.5241, allocations: 1.069 MB / 0.6197 GB, free: 2.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5252, allocations: 202 kB / 0.6199 GB, free: 2.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.5423, allocations: 9.923 MB / 0.6296 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.5434, allocations: 1.266 MB / 0.6308 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006455/0.5441, allocations: 215.6 kB / 0.631 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/0.5447, allocations: 447.3 kB / 0.6314 GB, free: 6.055 MB / 478.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5447, allocations: 0 / 0.6314 GB, free: 6.055 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09695/0.6416, allocations: 26.09 MB / 0.6569 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.05, allocations: 10.97 kB / 0.6569 GB, free: 12.13 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.01718946800247] Failed to read output from testmodel.py, exit status != 0: 16.182249836994743 16.1972621 15.764230742 Calling exit ...