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.001309/0.001309, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001484/0.001484, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.434/1.434, 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.1828/0.1828, allocations: 38.56 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.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.003068/0.003068, allocations: 63.91 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3774, allocations: 62.45 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01122/0.3886, allocations: 9.012 MB / 0.5507 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006224/0.3949, allocations: 3.366 MB / 0.554 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.3956, allocations: 45.81 kB / 0.5541 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.3988, allocations: 1.066 MB / 0.5551 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.4014, allocations: 0.9106 MB / 0.556 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4028, allocations: 490.8 kB / 0.5565 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.405, allocations: 1.806 MB / 0.5582 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.4061, allocations: 0.7589 MB / 0.559 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.4072, allocations: 0.7861 MB / 0.5597 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.4086, allocations: 0.9734 MB / 0.5607 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.4088, allocations: 104 kB / 0.5608 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.41, allocations: 0.585 MB / 0.5614 GB, free: 316 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006806/0.4106, allocations: 0.6584 MB / 0.562 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000691/0.4113, allocations: 0.5717 MB / 0.5626 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.4137, allocations: 1.938 MB / 0.5645 GB, free: 13.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4137, allocations: 0 / 0.5645 GB, free: 13.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4137, allocations: 0 / 0.5645 GB, free: 13.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.4137, allocations: 4 kB / 0.5645 GB, free: 13.12 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.003075/0.4168, allocations: 1.604 MB / 0.566 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4169, allocations: 15.98 kB / 0.566 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.4171, allocations: 173.6 kB / 0.5662 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.4188, allocations: 307.8 kB / 0.5665 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.4209, allocations: 0.8772 MB / 0.5674 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/0.421, allocations: 78.09 kB / 0.5674 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.4213, allocations: 135.9 kB / 0.5676 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.4237, allocations: 1.489 MB / 0.569 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.4237, allocations: 15.89 kB / 0.569 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4238, allocations: 43.94 kB / 0.5691 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003062/0.4241, allocations: 98.16 kB / 0.5692 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.4262, allocations: 1.262 MB / 0.5704 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008017/0.4342, allocations: 4.868 MB / 0.5752 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/0.4352, allocations: 0.5544 MB / 0.5757 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.4358, allocations: 380 kB / 0.5761 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.4358, allocations: 8.594 kB / 0.5761 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.4359, allocations: 47.16 kB / 0.5761 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.896e-06/0.4359, allocations: 0 / 0.5761 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007515/0.4434, allocations: 3.213 MB / 0.5793 GB, free: 13.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.4435, allocations: 85.77 kB / 0.5793 GB, free: 13.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/0.4444, allocations: 0.7545 MB / 0.5801 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.4445, allocations: 41.83 kB / 0.5801 GB, free: 12.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.445, allocations: 0.5975 MB / 0.5807 GB, free: 11.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.4452, allocations: 293.6 kB / 0.581 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.4455, allocations: 182.6 kB / 0.5812 GB, free: 11.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.4457, allocations: 398.7 kB / 0.5815 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.4464, allocations: 393.8 kB / 0.5819 GB, free: 10.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.4473, allocations: 0.6574 MB / 0.5825 GB, free: 9.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.4489, allocations: 1.144 MB / 0.5837 GB, free: 8.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4489, allocations: 0 / 0.5837 GB, free: 8.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003512/0.4524, allocations: 1.69 MB / 0.5853 GB, free: 6.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4524, allocations: 11.98 kB / 0.5853 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00276/0.4552, allocations: 1.282 MB / 0.5866 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.4571, allocations: 0.5769 MB / 0.5871 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.4577, allocations: 175.7 kB / 0.5873 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.4708, allocations: 9.769 MB / 0.5969 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.4716, allocations: 47.92 kB / 0.5969 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.4717, allocations: 36.08 kB / 0.5969 GB, free: 10.61 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.0006452/0.4723, allocations: 397.3 kB / 0.5973 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.4726, allocations: 95.39 kB / 0.5974 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.4751, allocations: 1.232 MB / 0.5986 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.4751, allocations: 11.98 kB / 0.5986 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4751, allocations: 4 kB / 0.5986 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4751, allocations: 7.984 kB / 0.5986 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/0.4795, allocations: 2.277 MB / 0.6009 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4795, allocations: 0 / 0.6009 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.48, allocations: 107.8 kB / 0.601 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.4811, allocations: 376.1 kB / 0.6013 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/0.4812, allocations: 27.98 kB / 0.6013 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009006/0.4902, allocations: 8.743 MB / 0.6099 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4902, allocations: 7.938 kB / 0.6099 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.4931, allocations: 1.675 MB / 0.6115 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.4936, allocations: 159.2 kB / 0.6117 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.4937, allocations: 23.95 kB / 0.6117 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.4942, allocations: 27.97 kB / 0.6117 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.4943, allocations: 68.47 kB / 0.6118 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.4943, allocations: 24 kB / 0.6118 GB, free: 10.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006991/0.495, allocations: 0.5068 MB / 0.6123 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.495, allocations: 0 / 0.6123 GB, free: 10.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001339/0.4964, allocations: 367.9 kB / 0.6127 GB, free: 9.738 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.003333/0.4997, allocations: 2.261 MB / 0.6149 GB, free: 7.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.5022, allocations: 1.547 MB / 0.6164 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5023, allocations: 1.812 kB / 0.6164 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.5039, allocations: 1.06 MB / 0.6174 GB, free: 4.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.505, allocations: 209.1 kB / 0.6176 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.5212, allocations: 9.92 MB / 0.6273 GB, free: 10.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/0.5221, allocations: 0.6644 MB / 0.6279 GB, free: 9.449 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006302/0.5227, allocations: 219.6 kB / 0.6282 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.5233, allocations: 439.3 kB / 0.6286 GB, free: 8.801 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5233, allocations: 0 / 0.6286 GB, free: 8.801 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/0.6372, allocations: 26.54 MB / 0.6545 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.41, allocations: 16 kB / 0.6545 GB, free: 14.51 MB / 0.4981 GB " [Timeout remaining time 645] (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: 17.35740269999951] Failed to read output from testmodel.py, exit status != 0: 14.555396326992195 14.583344308000001 14.163991461 Calling exit ...