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.001905/0.001905, 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.002352/0.002352, allocations: 211.5 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2556/0.2556, allocations: 38.57 MB / 352.5 MB, free: 12.29 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.002238/0.002238, allocations: 67.91 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3021, allocations: 62.47 MB / 0.542 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009609/0.3118, allocations: 7.156 MB / 0.5489 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005127/0.3169, allocations: 2.809 MB / 0.5517 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.3173, allocations: 41.12 kB / 0.5517 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.3193, allocations: 0.7193 MB / 0.5524 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.3212, allocations: 0.7051 MB / 0.5531 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.3221, allocations: 382 kB / 0.5535 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.3237, allocations: 1.355 MB / 0.5548 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.3245, allocations: 0.5422 MB / 0.5553 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000807/0.3253, allocations: 0.589 MB / 0.5559 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009858/0.3263, allocations: 0.6299 MB / 0.5565 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3264, allocations: 76 kB / 0.5566 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009349/0.3274, allocations: 495.1 kB / 0.5571 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.3278, allocations: 454.8 kB / 0.5575 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.3283, allocations: 434 kB / 0.5579 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.33, allocations: 1.444 MB / 0.5593 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.33, allocations: 0 / 0.5593 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.33, allocations: 4 kB / 0.5593 GB, free: 2.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.33, allocations: 0 / 0.5593 GB, free: 2.414 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.002285/0.3323, allocations: 1.232 MB / 0.5605 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3323, allocations: 11.98 kB / 0.5605 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.3325, allocations: 143.6 kB / 0.5607 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.3338, allocations: 216.1 kB / 0.5609 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.3354, allocations: 0.6654 MB / 0.5615 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.3355, allocations: 70.11 kB / 0.5616 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.3357, allocations: 103.9 kB / 0.5617 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.3375, allocations: 1.096 MB / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.3375, allocations: 4 kB / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.3376, allocations: 39.92 kB / 0.5628 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.3377, allocations: 69.95 kB / 0.5629 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.3392, allocations: 0.8704 MB / 0.5637 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/0.3447, allocations: 3.654 MB / 0.5673 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.3453, allocations: 330.7 kB / 0.5676 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.3457, allocations: 260.5 kB / 0.5679 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.3458, allocations: 12.38 kB / 0.5679 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.3458, allocations: 38.94 kB / 0.5679 GB, free: 9.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.355e-06/0.3458, allocations: 0 / 0.5679 GB, free: 9.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003087/0.3489, allocations: 1.667 MB / 0.5695 GB, free: 7.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.349, allocations: 85.53 kB / 0.5696 GB, free: 7.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007919/0.3498, allocations: 0.6015 MB / 0.5702 GB, free: 6.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.3498, allocations: 33.7 kB / 0.5702 GB, free: 6.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.3502, allocations: 475.7 kB / 0.5707 GB, free: 6.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.3504, allocations: 202.3 kB / 0.5709 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3506, allocations: 142.7 kB / 0.571 GB, free: 6.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3508, allocations: 378.8 kB / 0.5714 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.3512, allocations: 253.8 kB / 0.5716 GB, free: 5.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.3518, allocations: 476.9 kB / 0.5721 GB, free: 4.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3529, allocations: 0.7792 MB / 0.5728 GB, free: 3.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3529, allocations: 0 / 0.5728 GB, free: 3.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002088/0.355, allocations: 1.033 MB / 0.5739 GB, free: 2.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.355, allocations: 10.81 kB / 0.5739 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001454/0.3565, allocations: 0.7183 MB / 0.5746 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007652/0.3573, allocations: 218.3 kB / 0.5748 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.3578, allocations: 155.7 kB / 0.5749 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/0.364, allocations: 5.33 MB / 0.5801 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.3646, allocations: 35.92 kB / 0.5802 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.3647, allocations: 40.05 kB / 0.5802 GB, free: 12.04 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.0004802/0.3652, allocations: 301.4 kB / 0.5805 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3653, allocations: 71.56 kB / 0.5806 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3664, allocations: 0.6124 MB / 0.5812 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3664, allocations: 4 kB / 0.5812 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3664, allocations: 4 kB / 0.5812 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3664, allocations: 3.984 kB / 0.5812 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.369, allocations: 1.411 MB / 0.5825 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.369, allocations: 4 kB / 0.5825 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.3697, allocations: 119.9 kB / 0.5827 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3697, allocations: 8.094 kB / 0.5827 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.3697, allocations: 15.98 kB / 0.5827 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3697, allocations: 7.938 kB / 0.5827 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3697, allocations: 4 kB / 0.5827 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3711, allocations: 0.9362 MB / 0.5836 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.3713, allocations: 111.4 kB / 0.5837 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/0.3714, allocations: 16 kB / 0.5837 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.3718, allocations: 19.97 kB / 0.5838 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.3718, allocations: 32.38 kB / 0.5838 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.3719, allocations: 16 kB / 0.5838 GB, free: 8.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005325/0.3724, allocations: 423 kB / 0.5842 GB, free: 7.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3724, allocations: 0 / 0.5842 GB, free: 7.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008081/0.3732, allocations: 235.9 kB / 0.5844 GB, free: 7.598 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.001811/0.375, allocations: 1.522 MB / 0.5859 GB, free: 6.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.3768, allocations: 1.011 MB / 0.5869 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3768, allocations: 4.062 kB / 0.5869 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3772, allocations: 242.3 kB / 0.5871 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.378, allocations: 162.9 kB / 0.5873 GB, free: 4.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.3887, allocations: 7.156 MB / 0.5943 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.3893, allocations: 490.7 kB / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005437/0.3899, allocations: 181.9 kB / 0.5949 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/0.3903, allocations: 339.3 kB / 0.5952 GB, free: 12.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3903, allocations: 0 / 0.5952 GB, free: 12.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05754/0.4479, allocations: 17.66 MB / 0.6125 GB, free: 10.65 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/13.96, allocations: 3.859 kB / 0.6125 GB, free: 10.64 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.922085103113204] Failed to read output from testmodel.py, exit status != 0: 14.098541628103703 14.114798362 13.781539141 Calling exit ...