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.001901/0.001901, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002404/0.002404, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2084/0.2084, 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.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.002133/0.002133, allocations: 63.89 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2968, allocations: 62.46 MB / 0.542 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01156/0.3083, allocations: 9.001 MB / 0.5507 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006447/0.3148, allocations: 3.363 MB / 0.554 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.3155, allocations: 49.5 kB / 0.5541 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.3184, allocations: 1.074 MB / 0.5551 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.3207, allocations: 0.9058 MB / 0.556 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.322, allocations: 487.1 kB / 0.5565 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.3244, allocations: 1.813 MB / 0.5582 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.3257, allocations: 0.7433 MB / 0.559 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.3274, allocations: 0.7899 MB / 0.5597 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.329, allocations: 0.9188 MB / 0.5606 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.3292, allocations: 104 kB / 0.5607 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.3305, allocations: 0.581 MB / 0.5613 GB, free: 364 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006655/0.3311, allocations: 0.6506 MB / 0.5619 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008167/0.332, allocations: 0.5834 MB / 0.5625 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.3345, allocations: 1.938 MB / 0.5644 GB, free: 13.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3345, allocations: 0 / 0.5644 GB, free: 13.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3345, allocations: 0 / 0.5644 GB, free: 13.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.3345, allocations: 0 / 0.5644 GB, free: 13.17 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.003099/0.3376, allocations: 1.604 MB / 0.566 GB, free: 11.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3376, allocations: 15.98 kB / 0.566 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.3379, allocations: 177.6 kB / 0.5662 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.3397, allocations: 311.8 kB / 0.5665 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.3419, allocations: 0.8695 MB / 0.5673 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.342, allocations: 86.09 kB / 0.5674 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.3424, allocations: 139.8 kB / 0.5675 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.3448, allocations: 1.489 MB / 0.569 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.3449, allocations: 7.953 kB / 0.569 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.345, allocations: 44 kB / 0.569 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003107/0.3453, allocations: 102.2 kB / 0.5691 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.3475, allocations: 1.254 MB / 0.5703 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007973/0.3554, allocations: 4.864 MB / 0.5751 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.3564, allocations: 0.5583 MB / 0.5756 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.3569, allocations: 388 kB / 0.576 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.357, allocations: 8.656 kB / 0.576 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.357, allocations: 39.22 kB / 0.5761 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.634e-06/0.357, allocations: 0 / 0.5761 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007453/0.3645, allocations: 3.209 MB / 0.5792 GB, free: 13.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3646, allocations: 89.77 kB / 0.5793 GB, free: 13.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.3655, allocations: 0.7467 MB / 0.58 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.3656, allocations: 41.7 kB / 0.58 GB, free: 12.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.366, allocations: 0.6014 MB / 0.5806 GB, free: 12.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.3663, allocations: 285.6 kB / 0.5809 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.3666, allocations: 182.6 kB / 0.5811 GB, free: 11.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.3668, allocations: 406.7 kB / 0.5815 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.3674, allocations: 389.8 kB / 0.5818 GB, free: 10.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008622/0.3683, allocations: 0.6613 MB / 0.5825 GB, free: 10.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.37, allocations: 1.148 MB / 0.5836 GB, free: 8.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.37, allocations: 4 kB / 0.5836 GB, free: 8.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00345/0.3734, allocations: 1.682 MB / 0.5852 GB, free: 7.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3735, allocations: 10.81 kB / 0.5853 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002844/0.3763, allocations: 1.29 MB / 0.5865 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.3782, allocations: 0.5808 MB / 0.5871 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.3788, allocations: 175.7 kB / 0.5873 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.3918, allocations: 9.75 MB / 0.5968 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.3926, allocations: 47.92 kB / 0.5968 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.3927, allocations: 44.09 kB / 0.5969 GB, free: 10.66 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.000609/0.3933, allocations: 399.5 kB / 0.5972 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.3935, allocations: 91.39 kB / 0.5973 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.3958, allocations: 1.244 MB / 0.5985 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3958, allocations: 8 kB / 0.5986 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3958, allocations: 7.984 kB / 0.5986 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3959, allocations: 0 / 0.5986 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.4004, allocations: 2.277 MB / 0.6008 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.4004, allocations: 4 kB / 0.6008 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.4009, allocations: 103.9 kB / 0.6009 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.402, allocations: 376 kB / 0.6012 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.4021, allocations: 23.98 kB / 0.6013 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008833/0.4109, allocations: 8.754 MB / 0.6098 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.411, allocations: 8.031 kB / 0.6098 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.4139, allocations: 1.671 MB / 0.6115 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.4145, allocations: 159.2 kB / 0.6116 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.4146, allocations: 20 kB / 0.6116 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.4151, allocations: 27.97 kB / 0.6117 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.4152, allocations: 68.47 kB / 0.6117 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.4153, allocations: 28 kB / 0.6117 GB, free: 10.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007085/0.416, allocations: 0.5029 MB / 0.6122 GB, free: 10.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.416, allocations: 0 / 0.6122 GB, free: 10.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001372/0.4174, allocations: 367.9 kB / 0.6126 GB, free: 9.789 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.003302/0.4207, allocations: 2.268 MB / 0.6148 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.4233, allocations: 1.539 MB / 0.6163 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4234, allocations: 0 / 0.6163 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.4251, allocations: 1.069 MB / 0.6174 GB, free: 4.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.4262, allocations: 205.1 kB / 0.6175 GB, free: 4.543 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.4429, allocations: 9.916 MB / 0.6272 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/0.4438, allocations: 0.6605 MB / 0.6279 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006277/0.4444, allocations: 219.6 kB / 0.6281 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/0.445, allocations: 443.3 kB / 0.6285 GB, free: 8.852 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.445, allocations: 0 / 0.6285 GB, free: 8.852 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/0.5549, allocations: 26.18 MB / 0.6541 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.53, allocations: 15.81 kB / 0.6541 GB, free: 14.93 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.343724368605763] Failed to read output from testmodel.py, exit status != 0: 14.675984303001314 14.690709243 14.353121415 Calling exit ...