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.01627/0.01627, allocations: 2.336 MB / 21.18 MB, free: 3.531 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.001266/0.001266, allocations: 116.5 kB / 24.89 MB, free: 240 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.001118/0.001118, allocations: 217.8 kB / 28.72 MB, free: 1.047 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.9286/0.9286, allocations: 230.6 MB / 263 MB, free: 0.5117 MB / 202.7 MB " [Timeout remaining time 179] 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 0.719/0.719, allocations: 130.7 MB / 450.7 MB, free: 2.824 MB / 346.8 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 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_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_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.02998/0.02998, allocations: 29.94 MB / 0.6466 GB, free: 6.832 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1533, allocations: 82.03 MB / 0.7267 GB, free: 4.688 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.3788/0.5321, allocations: 42.11 MB / 0.7678 GB, free: 23.07 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.5426, allocations: 12.78 MB / 0.7803 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.5431, allocations: 50.38 kB / 0.7803 GB, free: 13.38 MB / 0.5574 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.001658/0.5448, allocations: 0.9959 MB / 0.7813 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0009983/0.5458, allocations: 0.9569 MB / 0.7823 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.5476, allocations: 1.522 MB / 0.7837 GB, free: 10.83 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.5493, allocations: 2.442 MB / 0.7861 GB, free: 9.379 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006834/0.55, allocations: 0.7904 MB / 0.7869 GB, free: 8.793 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008579/0.5508, allocations: 1.012 MB / 0.7879 GB, free: 8.207 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009651/0.5518, allocations: 1.06 MB / 0.7889 GB, free: 7.551 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.552, allocations: 182.3 kB / 0.7891 GB, free: 7.551 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.5533, allocations: 1.026 MB / 0.7901 GB, free: 7.094 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.5536, allocations: 0.6068 MB / 0.7907 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.5541, allocations: 0.7893 MB / 0.7915 GB, free: 6.113 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.5565, allocations: 3.423 MB / 0.7948 GB, free: 3.871 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5565, allocations: 0 / 0.7948 GB, free: 3.871 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5565, allocations: 0 / 0.7948 GB, free: 3.871 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.5566, allocations: 0 / 0.7948 GB, free: 3.871 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.002557/0.5591, allocations: 2.648 MB / 0.7974 GB, free: 1.965 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5592, allocations: 8.75 kB / 0.7974 GB, free: 1.965 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.5593, allocations: 184 kB / 0.7976 GB, free: 1.816 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.5598, allocations: 296.2 kB / 0.7979 GB, free: 1.656 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.5625, allocations: 2.387 MB / 0.8002 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.5626, allocations: 78.42 kB / 0.8003 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.525e-05/0.5627, allocations: 103.9 kB / 0.8004 GB, free: 15.49 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.5652, allocations: 2.201 MB / 0.8025 GB, free: 12.94 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.5652, allocations: 15.88 kB / 0.8025 GB, free: 12.92 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.5653, allocations: 50.69 kB / 0.8026 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.5653, allocations: 32 kB / 0.8026 GB, free: 12.84 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.5674, allocations: 1.383 MB / 0.804 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005802/0.5732, allocations: 9.528 MB / 0.8133 GB, free: 1.582 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.5755, allocations: 1.133 MB / 0.8144 GB, free: 412 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.5759, allocations: 353.3 kB / 0.8147 GB, free: 44 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.576, allocations: 60.47 kB / 0.8148 GB, free: 15.98 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.576, allocations: 53.62 kB / 0.8148 GB, free: 15.92 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=154): time 2.815e-06/0.576, allocations: 0 / 0.8148 GB, free: 15.92 MB / 0.5887 GB Notification: Performance of matching and sorting (n=157): time 0.00621/0.5822, allocations: 4.875 MB / 0.8196 GB, free: 11.02 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.5823, allocations: 247.9 kB / 0.8198 GB, free: 10.72 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.5842, allocations: 1.871 MB / 0.8216 GB, free: 8.812 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.5842, allocations: 41.64 kB / 0.8217 GB, free: 8.766 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.5847, allocations: 0.8312 MB / 0.8225 GB, free: 7.926 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.5849, allocations: 0.5382 MB / 0.823 GB, free: 7.383 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.5853, allocations: 394.4 kB / 0.8234 GB, free: 6.992 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.5853, allocations: 301.1 kB / 0.8237 GB, free: 6.695 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.5861, allocations: 0.6215 MB / 0.8243 GB, free: 6.07 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009832/0.5871, allocations: 1.18 MB / 0.8254 GB, free: 4.605 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.5888, allocations: 1.799 MB / 0.8272 GB, free: 2.574 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.5889, allocations: 4 kB / 0.8272 GB, free: 2.57 MB / 0.5887 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00301/0.5919, allocations: 2.127 MB / 0.8293 GB, free: 472 kB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5919, allocations: 12 kB / 0.8293 GB, free: 460 kB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001894/0.5938, allocations: 1.365 MB / 0.8306 GB, free: 15.09 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.5944, allocations: 287.4 kB / 0.8309 GB, free: 14.82 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.5952, allocations: 491.2 kB / 0.8314 GB, free: 14.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003439/0.5956, allocations: 0.5834 MB / 0.8319 GB, free: 13.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.5962, allocations: 90.55 kB / 0.832 GB, free: 13.65 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.5963, allocations: 111.9 kB / 0.8321 GB, free: 13.54 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.001229/0.5975, allocations: 1.005 MB / 0.8331 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009744/0.5985, allocations: 1.172 MB / 0.8343 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00202/0.6005, allocations: 1.796 MB / 0.836 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.804e-06/0.6005, allocations: 8 kB / 0.836 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.002157/0.6027, allocations: 1.914 MB / 0.8379 GB, free: 7.141 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6027, allocations: 16 kB / 0.8379 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001373/0.604, allocations: 1.158 MB / 0.839 GB, free: 5.965 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.6041, allocations: 28 kB / 0.8391 GB, free: 5.938 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.6049, allocations: 0.4953 MB / 0.8395 GB, free: 5.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.6049, allocations: 46.48 kB / 0.8396 GB, free: 5.398 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.6054, allocations: 79.88 kB / 0.8397 GB, free: 5.32 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6055, allocations: 119.9 kB / 0.8398 GB, free: 5.203 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.0003085/0.6058, allocations: 295.5 kB / 0.8401 GB, free: 4.91 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.6061, allocations: 213.2 kB / 0.8403 GB, free: 4.703 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.00253/0.6086, allocations: 1.773 MB / 0.842 GB, free: 3.027 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3829566249623895]