Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Electrical.Check.TestTurboGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01019/0.01019, allocations: 1.762 MB / 20.59 MB, free: 1.297 MB / 14.72 MB " [Timeout remaining time 180] 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.0013/0.0013, allocations: 102.2 kB / 24.19 MB, free: 2.688 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.001653/0.001653, allocations: 211.1 kB / 27.92 MB, free: 4.039 MB / 19.63 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 / 262.1 MB, free: 6.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.118/1.118, allocations: 130.7 MB / 449.7 MB, free: 6.547 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03658/0.03658, allocations: 20.79 MB / 0.6357 GB, free: 5.137 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.2166, allocations: 81.9 MB / 0.7157 GB, free: 3.137 MB / 0.5294 GB Notification: TILMedia 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestTurboGenerator): time 0.5462/0.7628, allocations: 42.99 MB / 0.7577 GB, free: 22.48 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.7802, allocations: 13.49 MB / 0.7709 GB, free: 12.8 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.7822, allocations: 48.47 kB / 0.7709 GB, free: 12.78 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/Basics/Interfaces/CycleSumModel.mo:3:3-3:52:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.003575/0.7858, allocations: 1.047 MB / 0.7719 GB, free: 12.28 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.7891, allocations: 0.9422 MB / 0.7728 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.7936, allocations: 1.535 MB / 0.7743 GB, free: 10.91 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004146/0.7978, allocations: 2.445 MB / 0.7767 GB, free: 9.719 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.7991, allocations: 0.7383 MB / 0.7775 GB, free: 9.355 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.8009, allocations: 1.011 MB / 0.7784 GB, free: 8.887 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.8027, allocations: 1.139 MB / 0.7796 GB, free: 8.363 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.803, allocations: 184.2 kB / 0.7797 GB, free: 8.363 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.8059, allocations: 1.35 MB / 0.781 GB, free: 7.953 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.8065, allocations: 0.6007 MB / 0.7816 GB, free: 7.621 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.8076, allocations: 1.031 MB / 0.7826 GB, free: 6.918 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005251/0.8128, allocations: 3.482 MB / 0.786 GB, free: 5.172 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8128, allocations: 0 / 0.786 GB, free: 5.172 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8128, allocations: 0.625 kB / 0.786 GB, free: 5.172 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.602e-05/0.8129, allocations: 2.688 kB / 0.786 GB, free: 5.172 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00465/0.8175, allocations: 2.653 MB / 0.7886 GB, free: 3.258 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8176, allocations: 11.72 kB / 0.7886 GB, free: 3.258 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.8178, allocations: 189.6 kB / 0.7888 GB, free: 3.105 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.8186, allocations: 298.8 kB / 0.7891 GB, free: 2.941 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/0.8225, allocations: 2.361 MB / 0.7914 GB, free: 1.332 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.8226, allocations: 76.64 kB / 0.7915 GB, free: 1.297 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.8227, allocations: 112 kB / 0.7916 GB, free: 1.254 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.8267, allocations: 2.001 MB / 0.7936 GB, free: 15.68 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.8268, allocations: 13.84 kB / 0.7936 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.8269, allocations: 51.12 kB / 0.7936 GB, free: 15.64 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/0.827, allocations: 32.75 kB / 0.7936 GB, free: 15.64 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/0.8309, allocations: 1.393 MB / 0.795 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.842, allocations: 9.9 MB / 0.8047 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.8455, allocations: 1.127 MB / 0.8058 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.8462, allocations: 352.4 kB / 0.8061 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.8463, allocations: 66.88 kB / 0.8062 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.8464, allocations: 54.58 kB / 0.8062 GB, free: 4.863 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=154): time 3.316e-06/0.8464, allocations: 1.969 kB / 0.8062 GB, free: 4.863 MB / 0.5763 GB Notification: Performance of matching and sorting (n=157): time 0.01104/0.8574, allocations: 4.877 MB / 0.811 GB, free: 0.7148 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.8576, allocations: 246.6 kB / 0.8112 GB, free: 432 kB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.8604, allocations: 1.833 MB / 0.813 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.8605, allocations: 33.7 kB / 0.813 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/0.8612, allocations: 0.835 MB / 0.8139 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/0.8617, allocations: 0.5382 MB / 0.8144 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005717/0.8623, allocations: 393.1 kB / 0.8148 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8624, allocations: 305.1 kB / 0.8151 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.8636, allocations: 0.6216 MB / 0.8157 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.8652, allocations: 1.134 MB / 0.8168 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.868, allocations: 1.803 MB / 0.8185 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.868, allocations: 4 kB / 0.8185 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00505/0.8731, allocations: 2.12 MB / 0.8206 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.8731, allocations: 16 kB / 0.8206 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003511/0.8766, allocations: 1.362 MB / 0.8219 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.8782, allocations: 284.6 kB / 0.8222 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.8797, allocations: 493.9 kB / 0.8227 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005873/0.8802, allocations: 0.5938 MB / 0.8233 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.8815, allocations: 79.86 kB / 0.8233 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.8817, allocations: 115.9 kB / 0.8235 GB, free: 3.383 MB / 0.5919 GB Warning: Assuming fixed start value for the following 1 variables: simpleGenerator.shaft.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002031/0.8837, allocations: 1.003 MB / 0.8244 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001612/0.8853, allocations: 1.118 MB / 0.8255 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002844/0.8882, allocations: 1.793 MB / 0.8273 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.165e-05/0.8882, allocations: 8 kB / 0.8273 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.003814/0.892, allocations: 1.912 MB / 0.8292 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.892, allocations: 18.69 kB / 0.8292 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002287/0.8943, allocations: 1.161 MB / 0.8303 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-05/0.8943, allocations: 28 kB / 0.8303 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.8959, allocations: 0.4914 MB / 0.8308 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.108e-05/0.8959, allocations: 44.34 kB / 0.8309 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.8971, allocations: 88.77 kB / 0.8309 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.8973, allocations: 115.9 kB / 0.8311 GB, free: 11.14 MB / 0.6075 GB Warning: Assuming fixed start value for the following 1 variables: simpleGenerator.shaft.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00052/0.8978, allocations: 294.2 kB / 0.8313 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.8982, allocations: 214.5 kB / 0.8315 GB, free: 10.64 MB / 0.6075 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 220 equation(s) and 208 variable(s). Error: ($cse98, $cse99, $cse100, $cse101, $cse102, $cse103, $cse104, $cse105, $cse106, $cse107, $cse108, $cse109) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(steamTurbineVLE_L1_1.p_out, -1.0, {}, boundaryVLE_phxi1.fluidOut.vleFluidPointer) has size 12 but 3 variables ($cse65, steamTurbineVLE_L1_1.p_in, steamTurbineVLE_L1_1.iCom.rho_in) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.9016, allocations: 1.768 MB / 0.8333 GB, free: 8.984 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.870862492000015] Failed to read output from testmodel.py, exit status != 0: 1.094503848999011 1.110385428 0.29444204900000004 Calling exit ...