Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001445/0.001445, allocations: 119.8 kB / 20.44 MB, free: 1.461 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.001463/0.001463, allocations: 214.1 kB / 23.74 MB, free: 4.688 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1856/0.1856, allocations: 38.52 MB / 352.4 MB, free: 12.56 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.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",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.002205/0.002205, allocations: 64.19 kB / 492.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4017, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01023/0.4119, allocations: 7.738 MB / 0.5496 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005256/0.4172, allocations: 3.052 MB / 0.5525 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.4176, allocations: 38.03 kB / 0.5526 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.4197, allocations: 0.7607 MB / 0.5533 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.4216, allocations: 0.7118 MB / 0.554 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.4227, allocations: 379.2 kB / 0.5544 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.4245, allocations: 1.356 MB / 0.5557 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008302/0.4254, allocations: 0.5625 MB / 0.5563 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009398/0.4263, allocations: 0.5659 MB / 0.5568 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.4274, allocations: 0.6802 MB / 0.5575 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.4276, allocations: 75.97 kB / 0.5575 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.4287, allocations: 0.538 MB / 0.5581 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004806/0.4292, allocations: 454.8 kB / 0.5585 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.4298, allocations: 0.5093 MB / 0.559 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.4317, allocations: 1.44 MB / 0.5604 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4317, allocations: 0 / 0.5604 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4317, allocations: 0 / 0.5604 GB, free: 1.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.4317, allocations: 4 kB / 0.5604 GB, free: 1.641 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002582/0.4343, allocations: 1.232 MB / 0.5616 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.4343, allocations: 15.98 kB / 0.5616 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.4345, allocations: 139.6 kB / 0.5618 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.4358, allocations: 216.1 kB / 0.562 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.4375, allocations: 0.6732 MB / 0.5626 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.305e-05/0.4376, allocations: 66.11 kB / 0.5627 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.4379, allocations: 99.88 kB / 0.5628 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.4397, allocations: 1.096 MB / 0.5639 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.4397, allocations: 0 / 0.5639 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.4398, allocations: 36 kB / 0.5639 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.44, allocations: 73.89 kB / 0.564 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.4415, allocations: 0.8704 MB / 0.5648 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006015/0.4475, allocations: 3.891 MB / 0.5686 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.4481, allocations: 334.8 kB / 0.5689 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.4485, allocations: 266.9 kB / 0.5692 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.4486, allocations: 8.438 kB / 0.5692 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.4486, allocations: 38.94 kB / 0.5692 GB, free: 8.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.4486, allocations: 0 / 0.5692 GB, free: 8.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003412/0.452, allocations: 1.664 MB / 0.5709 GB, free: 6.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.4521, allocations: 81.55 kB / 0.5709 GB, free: 6.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.4528, allocations: 0.5861 MB / 0.5715 GB, free: 5.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.4529, allocations: 37.7 kB / 0.5715 GB, free: 5.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.4533, allocations: 487.8 kB / 0.572 GB, free: 5.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.4535, allocations: 198.3 kB / 0.5722 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.4537, allocations: 138.6 kB / 0.5723 GB, free: 5.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.4539, allocations: 386.8 kB / 0.5727 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.4543, allocations: 249.8 kB / 0.5729 GB, free: 4.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.4549, allocations: 472.9 kB / 0.5734 GB, free: 3.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.456, allocations: 0.7831 MB / 0.5742 GB, free: 2.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.456, allocations: 0 / 0.5742 GB, free: 2.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002253/0.4582, allocations: 1.037 MB / 0.5752 GB, free: 1.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4583, allocations: 12.09 kB / 0.5752 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001445/0.4597, allocations: 0.7103 MB / 0.5759 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007648/0.4605, allocations: 226.3 kB / 0.5761 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.461, allocations: 155.7 kB / 0.5762 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.4675, allocations: 5.367 MB / 0.5815 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.468, allocations: 35.97 kB / 0.5815 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.4681, allocations: 32 kB / 0.5815 GB, free: 10.99 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004761/0.4686, allocations: 309.5 kB / 0.5818 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4687, allocations: 71.53 kB / 0.5819 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.4697, allocations: 0.6007 MB / 0.5825 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4697, allocations: 8 kB / 0.5825 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4697, allocations: 0 / 0.5825 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.4697, allocations: 3.984 kB / 0.5825 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.4723, allocations: 1.462 MB / 0.5839 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4723, allocations: 4 kB / 0.5839 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.4729, allocations: 120 kB / 0.584 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.473, allocations: 11.94 kB / 0.5841 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.473, allocations: 23.92 kB / 0.5841 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.473, allocations: 4 kB / 0.5841 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.473, allocations: 0 / 0.5841 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.4744, allocations: 0.9401 MB / 0.585 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.4747, allocations: 111.4 kB / 0.5851 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.4747, allocations: 15.98 kB / 0.5851 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.4751, allocations: 23.98 kB / 0.5851 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.4752, allocations: 36.36 kB / 0.5852 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.4752, allocations: 16 kB / 0.5852 GB, free: 7.121 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005671/0.4758, allocations: 423 kB / 0.5856 GB, free: 6.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4758, allocations: 0 / 0.5856 GB, free: 6.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008626/0.4766, allocations: 235.9 kB / 0.5858 GB, free: 6.484 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/0.4785, allocations: 1.507 MB / 0.5873 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.4804, allocations: 1.015 MB / 0.5883 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4804, allocations: 0 / 0.5883 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.4808, allocations: 246.3 kB / 0.5885 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.4817, allocations: 154.9 kB / 0.5887 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.4928, allocations: 7.156 MB / 0.5957 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/0.4936, allocations: 1.086 MB / 0.5967 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005311/0.4941, allocations: 193.8 kB / 0.5969 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.4946, allocations: 327.3 kB / 0.5972 GB, free: 10.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4946, allocations: 3.938 kB / 0.5972 GB, free: 10.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06073/0.5553, allocations: 17.45 MB / 0.6143 GB, free: 9.105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.27, allocations: 10.73 kB / 0.6143 GB, free: 9.098 MB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_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_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.132743438000034] Failed to read output from testmodel.py, exit status != 0: 15.399946486999397 15.414847214 14.979978702 Calling exit ...