Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01634/0.01634, allocations: 2.331 MB / 21.18 MB, free: 3.527 MB / 13.93 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.0008064/0.0008064, allocations: 125.8 kB / 24.89 MB, free: 232 kB / 13.93 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.000916/0.000916, allocations: 219.7 kB / 28.73 MB, free: 1.039 MB / 18.57 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 0.9674/0.9674, allocations: 230.6 MB / 263 MB, free: 484 kB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7147/0.7147, allocations: 130.7 MB / 450.7 MB, free: 2.766 MB / 346.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_dev_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_dev_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03442/0.03442, allocations: 29.95 MB / 0.6466 GB, free: 6.785 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1644, allocations: 82.04 MB / 0.7267 GB, free: 4.656 MB / 0.5418 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.3376/0.5021, allocations: 42.1 MB / 0.7678 GB, free: 23.04 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.5129, allocations: 12.79 MB / 0.7803 GB, free: 13.38 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.5134, allocations: 46.41 kB / 0.7803 GB, free: 13.36 MB / 0.5574 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.001636/0.5151, allocations: 1.003 MB / 0.7813 GB, free: 12.68 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.5163, allocations: 0.9552 MB / 0.7822 GB, free: 11.92 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.518, allocations: 1.526 MB / 0.7837 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.5194, allocations: 2.437 MB / 0.7861 GB, free: 9.352 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005919/0.52, allocations: 0.789 MB / 0.7869 GB, free: 8.773 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006676/0.5206, allocations: 1.012 MB / 0.7879 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007627/0.5214, allocations: 1.065 MB / 0.7889 GB, free: 7.527 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.5216, allocations: 180.4 kB / 0.7891 GB, free: 7.527 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.5228, allocations: 1.021 MB / 0.7901 GB, free: 7.074 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.5231, allocations: 0.6006 MB / 0.7907 GB, free: 6.621 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.5235, allocations: 0.7901 MB / 0.7914 GB, free: 6.098 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.5257, allocations: 3.425 MB / 0.7948 GB, free: 3.855 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5257, allocations: 1.812 kB / 0.7948 GB, free: 3.855 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5257, allocations: 0 / 0.7948 GB, free: 3.855 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.5257, allocations: 0 / 0.7948 GB, free: 3.855 MB / 0.5574 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.002406/0.5281, allocations: 2.646 MB / 0.7974 GB, free: 1.949 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5282, allocations: 9.625 kB / 0.7974 GB, free: 1.949 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.5283, allocations: 185.4 kB / 0.7976 GB, free: 1.801 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.5288, allocations: 295.2 kB / 0.7978 GB, free: 1.641 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.5312, allocations: 2.376 MB / 0.8002 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.5313, allocations: 94.78 kB / 0.8002 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.5314, allocations: 99.95 kB / 0.8003 GB, free: 15.46 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.5339, allocations: 2.201 MB / 0.8025 GB, free: 12.91 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.5339, allocations: 15.86 kB / 0.8025 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.534, allocations: 48 kB / 0.8026 GB, free: 12.84 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.534, allocations: 36 kB / 0.8026 GB, free: 12.81 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.5361, allocations: 1.39 MB / 0.8039 GB, free: 11.42 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005128/0.5413, allocations: 9.521 MB / 0.8132 GB, free: 1.551 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.5432, allocations: 1.135 MB / 0.8144 GB, free: 376 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.5437, allocations: 353.7 kB / 0.8147 GB, free: 8 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.5438, allocations: 56.41 kB / 0.8147 GB, free: 15.95 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.5438, allocations: 55.08 kB / 0.8148 GB, free: 15.89 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=154): time 2.465e-06/0.5438, allocations: 0 / 0.8148 GB, free: 15.89 MB / 0.5887 GB Notification: Performance of matching and sorting (n=157): time 0.006072/0.5499, allocations: 4.877 MB / 0.8196 GB, free: 10.98 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.55, allocations: 243.9 kB / 0.8198 GB, free: 10.69 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.5516, allocations: 1.872 MB / 0.8216 GB, free: 8.777 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.5517, allocations: 37.7 kB / 0.8217 GB, free: 8.734 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.5521, allocations: 0.8371 MB / 0.8225 GB, free: 7.895 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.5524, allocations: 0.5382 MB / 0.823 GB, free: 7.352 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.5527, allocations: 386.4 kB / 0.8234 GB, free: 6.969 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.5528, allocations: 313 kB / 0.8237 GB, free: 6.66 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.5535, allocations: 0.6151 MB / 0.8243 GB, free: 6.039 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009538/0.5545, allocations: 1.183 MB / 0.8254 GB, free: 4.574 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.5562, allocations: 1.794 MB / 0.8272 GB, free: 2.543 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5562, allocations: 4 kB / 0.8272 GB, free: 2.539 MB / 0.5887 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.002697/0.5589, allocations: 2.119 MB / 0.8292 GB, free: 448 kB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.5589, allocations: 13.72 kB / 0.8293 GB, free: 436 kB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001995/0.5609, allocations: 1.366 MB / 0.8306 GB, free: 15.07 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/0.5616, allocations: 288.4 kB / 0.8309 GB, free: 14.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.5624, allocations: 497.8 kB / 0.8313 GB, free: 14.32 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003488/0.5628, allocations: 0.5834 MB / 0.8319 GB, free: 13.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.5633, allocations: 90.5 kB / 0.832 GB, free: 13.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.5634, allocations: 117.5 kB / 0.8321 GB, free: 13.51 MB / 0.6043 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.001187/0.5646, allocations: 0.9984 MB / 0.8331 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009614/0.5656, allocations: 1.175 MB / 0.8342 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001655/0.5672, allocations: 1.791 MB / 0.836 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/0.5672, allocations: 7.938 kB / 0.836 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.002101/0.5693, allocations: 1.92 MB / 0.8379 GB, free: 7.109 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5693, allocations: 15.94 kB / 0.8379 GB, free: 7.094 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001388/0.5707, allocations: 1.163 MB / 0.839 GB, free: 5.934 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5707, allocations: 28 kB / 0.839 GB, free: 5.906 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/0.5716, allocations: 0.4914 MB / 0.8395 GB, free: 5.414 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.5716, allocations: 39.86 kB / 0.8396 GB, free: 5.375 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.572, allocations: 90.47 kB / 0.8396 GB, free: 5.289 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5721, allocations: 111.9 kB / 0.8398 GB, free: 5.18 MB / 0.6043 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.0002382/0.5724, allocations: 300.5 kB / 0.84 GB, free: 4.879 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.5726, allocations: 214.5 kB / 0.8402 GB, free: 4.668 MB / 0.6043 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.001896/0.5745, allocations: 1.776 MB / 0.842 GB, free: 2.992 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4218874284997582]