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.01114/0.01114, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001265/0.001265, allocations: 104.6 kB / 24.97 MB, free: 2.16 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.001585/0.001585, allocations: 208 kB / 28.71 MB, free: 3.441 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.432/1.432, allocations: 230.6 MB / 262.9 MB, free: 6.027 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.065/1.065, allocations: 130.7 MB / 450.4 MB, free: 6.602 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="cs",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.03188/0.03188, allocations: 20.6 MB / 0.6363 GB, free: 5.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1896, allocations: 81.91 MB / 0.7163 GB, free: 3.352 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.4992/0.6887, allocations: 42.98 MB / 0.7583 GB, free: 22.64 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.7067, allocations: 13.49 MB / 0.7714 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.7086, allocations: 48.16 kB / 0.7715 GB, free: 12.95 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.003475/0.7121, allocations: 1.048 MB / 0.7725 GB, free: 12.45 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.715, allocations: 0.9534 MB / 0.7734 GB, free: 11.85 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.7192, allocations: 1.522 MB / 0.7749 GB, free: 11.08 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004535/0.7237, allocations: 2.443 MB / 0.7773 GB, free: 9.879 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.725, allocations: 0.7345 MB / 0.778 GB, free: 9.516 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.7267, allocations: 1.009 MB / 0.779 GB, free: 9.051 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.7284, allocations: 1.142 MB / 0.7801 GB, free: 8.523 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003679/0.7288, allocations: 184.2 kB / 0.7803 GB, free: 8.523 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.7323, allocations: 1.35 MB / 0.7816 GB, free: 8.113 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.7329, allocations: 0.5934 MB / 0.7822 GB, free: 7.789 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.7339, allocations: 1.036 MB / 0.7832 GB, free: 7.082 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.7394, allocations: 3.487 MB / 0.7866 GB, free: 5.324 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7394, allocations: 0 / 0.7866 GB, free: 5.324 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7394, allocations: 4 kB / 0.7866 GB, free: 5.324 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.533e-05/0.7394, allocations: 0 / 0.7866 GB, free: 5.324 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.004724/0.7441, allocations: 2.645 MB / 0.7892 GB, free: 3.418 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.7442, allocations: 12.06 kB / 0.7892 GB, free: 3.418 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.989e-05/0.7442, allocations: 28.92 kB / 0.7893 GB, free: 3.414 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.7444, allocations: 185.3 kB / 0.7894 GB, free: 3.266 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008657/0.7453, allocations: 295.4 kB / 0.7897 GB, free: 3.105 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.7491, allocations: 2.372 MB / 0.792 GB, free: 1.488 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.7492, allocations: 88.23 kB / 0.7921 GB, free: 1.445 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.7493, allocations: 102.8 kB / 0.7922 GB, free: 1.41 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003758/0.7531, allocations: 2.007 MB / 0.7942 GB, free: 15.83 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.7531, allocations: 13.53 kB / 0.7942 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7532, allocations: 49.03 kB / 0.7942 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.7533, allocations: 32.62 kB / 0.7943 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.7569, allocations: 1.399 MB / 0.7956 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.7669, allocations: 9.894 MB / 0.8053 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/0.7705, allocations: 1.138 MB / 0.8064 GB, free: 5.293 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/0.7712, allocations: 357.3 kB / 0.8067 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.7714, allocations: 63.66 kB / 0.8068 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.7714, allocations: 50.34 kB / 0.8068 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=154): time 3.036e-06/0.7714, allocations: 0 / 0.8068 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of matching and sorting (n=157): time 0.01114/0.7826, allocations: 4.88 MB / 0.8116 GB, free: 0.9062 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.7827, allocations: 243.9 kB / 0.8118 GB, free: 0.6133 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.7854, allocations: 1.841 MB / 0.8136 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.7855, allocations: 37.7 kB / 0.8137 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007414/0.7863, allocations: 0.8337 MB / 0.8145 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.7867, allocations: 0.5344 MB / 0.815 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006102/0.7873, allocations: 386.4 kB / 0.8154 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7875, allocations: 301.1 kB / 0.8157 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.7887, allocations: 0.6254 MB / 0.8163 GB, free: 12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.7903, allocations: 1.121 MB / 0.8174 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.7932, allocations: 1.807 MB / 0.8191 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.7932, allocations: 11.94 kB / 0.8192 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005042/0.7982, allocations: 2.124 MB / 0.8212 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.7982, allocations: 15.94 kB / 0.8212 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00355/0.8018, allocations: 1.362 MB / 0.8226 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.8033, allocations: 284.6 kB / 0.8228 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.805, allocations: 495.2 kB / 0.8233 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006429/0.8056, allocations: 0.5838 MB / 0.8239 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8071, allocations: 93.67 kB / 0.824 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.8073, allocations: 114.6 kB / 0.8241 GB, free: 3.57 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.002253/0.8096, allocations: 0.995 MB / 0.8251 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001878/0.8115, allocations: 1.125 MB / 0.8262 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003227/0.8147, allocations: 1.791 MB / 0.8279 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.131e-05/0.8147, allocations: 4 kB / 0.8279 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.004089/0.8188, allocations: 1.923 MB / 0.8298 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.8188, allocations: 13.88 kB / 0.8298 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002341/0.8211, allocations: 1.157 MB / 0.8309 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/0.8212, allocations: 32 kB / 0.831 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.8227, allocations: 0.4962 MB / 0.8314 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/0.8228, allocations: 43.86 kB / 0.8315 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.824, allocations: 83.86 kB / 0.8316 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.8242, allocations: 115.9 kB / 0.8317 GB, free: 11.34 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.0005596/0.8248, allocations: 295.2 kB / 0.832 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.8252, allocations: 210.5 kB / 0.8322 GB, free: 10.84 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.003462/0.8287, allocations: 1.768 MB / 0.8339 GB, free: 9.18 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.669090550974943] Failed to read output from testmodel.py, exit status != 0: 1.0202392470091581 1.035527302 0.29310055499999993 Calling exit ...