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.01023/0.01023, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001304/0.001304, allocations: 99.84 kB / 24.18 MB, free: 2.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.001583/0.001583, allocations: 215.9 kB / 27.9 MB, free: 3.504 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.445/1.445, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.016/1.016, allocations: 130.7 MB / 449.6 MB, free: 6.406 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.0658/0.0658, allocations: 20.99 MB / 0.6358 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.229, allocations: 81.9 MB / 0.7158 GB, free: 2.727 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.4671/0.6961, allocations: 42.11 MB / 0.7569 GB, free: 23.16 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.7136, allocations: 12.78 MB / 0.7694 GB, free: 14.24 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.7154, allocations: 48.81 kB / 0.7695 GB, free: 14.21 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.003376/0.7188, allocations: 1.006 MB / 0.7704 GB, free: 13.75 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.7218, allocations: 0.9538 MB / 0.7714 GB, free: 13.16 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004183/0.726, allocations: 1.525 MB / 0.7729 GB, free: 12.39 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004015/0.73, allocations: 2.438 MB / 0.7752 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.7313, allocations: 0.7869 MB / 0.776 GB, free: 10.8 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.7331, allocations: 1.012 MB / 0.777 GB, free: 10.34 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.7349, allocations: 1.071 MB / 0.778 GB, free: 9.883 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003217/0.7352, allocations: 181.8 kB / 0.7782 GB, free: 9.883 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.7379, allocations: 1.028 MB / 0.7792 GB, free: 9.598 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0005501/0.7385, allocations: 0.5935 MB / 0.7798 GB, free: 9.273 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00085/0.7393, allocations: 0.7854 MB / 0.7806 GB, free: 8.816 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.7448, allocations: 3.425 MB / 0.7839 GB, free: 7.117 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7448, allocations: 2.656 kB / 0.7839 GB, free: 7.117 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7448, allocations: 0 / 0.7839 GB, free: 7.117 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.428e-05/0.7449, allocations: 1.062 kB / 0.7839 GB, free: 7.117 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.0049/0.7498, allocations: 2.639 MB / 0.7865 GB, free: 5.215 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.7498, allocations: 11.97 kB / 0.7865 GB, free: 5.215 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.75, allocations: 188.8 kB / 0.7867 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009005/0.7509, allocations: 302.9 kB / 0.787 GB, free: 4.898 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/0.755, allocations: 2.371 MB / 0.7893 GB, free: 3.281 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.7551, allocations: 76.27 kB / 0.7894 GB, free: 3.246 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.7552, allocations: 109.4 kB / 0.7895 GB, free: 3.203 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/0.7589, allocations: 2.205 MB / 0.7916 GB, free: 1.379 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.7589, allocations: 13.38 kB / 0.7916 GB, free: 1.371 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.066e-05/0.759, allocations: 48.88 kB / 0.7917 GB, free: 1.34 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.7591, allocations: 33.09 kB / 0.7917 GB, free: 1.34 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/0.7623, allocations: 1.39 MB / 0.7931 GB, free: 0.6602 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009688/0.772, allocations: 9.518 MB / 0.8024 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.7756, allocations: 1.135 MB / 0.8035 GB, free: 7.227 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006962/0.7763, allocations: 354.6 kB / 0.8038 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.7764, allocations: 56.28 kB / 0.8039 GB, free: 7.008 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.7765, allocations: 53.25 kB / 0.8039 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=154): time 3.647e-06/0.7765, allocations: 0 / 0.8039 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of matching and sorting (n=157): time 0.01125/0.7877, allocations: 4.877 MB / 0.8087 GB, free: 2.652 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.7879, allocations: 243.9 kB / 0.8089 GB, free: 2.359 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.7907, allocations: 1.872 MB / 0.8107 GB, free: 456 kB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7908, allocations: 37.7 kB / 0.8108 GB, free: 412 kB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.7915, allocations: 0.8331 MB / 0.8116 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.792, allocations: 0.5408 MB / 0.8121 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005677/0.7926, allocations: 386.4 kB / 0.8125 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7927, allocations: 305.1 kB / 0.8128 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.7939, allocations: 0.6151 MB / 0.8134 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.7956, allocations: 1.175 MB / 0.8145 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.7986, allocations: 1.808 MB / 0.8163 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.7986, allocations: 4 kB / 0.8163 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005197/0.8038, allocations: 2.123 MB / 0.8184 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.8038, allocations: 12 kB / 0.8184 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003478/0.8073, allocations: 1.366 MB / 0.8197 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.8088, allocations: 285.3 kB / 0.82 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.8103, allocations: 493.8 kB / 0.8205 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006227/0.8109, allocations: 0.5873 MB / 0.821 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.8124, allocations: 87.81 kB / 0.8211 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.8126, allocations: 115.9 kB / 0.8212 GB, free: 5.188 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.002247/0.8149, allocations: 1 MB / 0.8222 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00175/0.8166, allocations: 1.168 MB / 0.8233 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002995/0.8196, allocations: 1.801 MB / 0.8251 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.055e-05/0.8196, allocations: 4 kB / 0.8251 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.003772/0.8234, allocations: 1.92 MB / 0.827 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8234, allocations: 15.91 kB / 0.827 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00226/0.8257, allocations: 1.152 MB / 0.8281 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/0.8257, allocations: 33.28 kB / 0.8281 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.8272, allocations: 0.4914 MB / 0.8286 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.136e-05/0.8272, allocations: 43.8 kB / 0.8287 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.8285, allocations: 91.81 kB / 0.8288 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.8287, allocations: 112 kB / 0.8289 GB, free: 12.86 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.0005152/0.8292, allocations: 303.5 kB / 0.8292 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/0.8296, allocations: 214.5 kB / 0.8294 GB, free: 12.35 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.003438/0.8331, allocations: 1.763 MB / 0.8311 GB, free: 10.68 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.677572862710804] Failed to read output from testmodel.py, exit status != 0: 1.014536488801241 1.030153003 0.282256689 Calling exit ...