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.01476/0.01476, allocations: 1.775 MB / 18.82 MB, free: 4.246 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.001711/0.001711, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.00228/0.00228, allocations: 205.4 kB / 25.45 MB, free: 3.254 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 259.2 MB, free: 13.13 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.081/1.081, allocations: 130.6 MB / 446.3 MB, free: 14.66 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4267/0.4267, allocations: 46.14 MB / 0.6551 GB, free: 30.25 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.6089, allocations: 89.05 MB / 0.7421 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestTurboGenerator): time 0.01329/0.6222, allocations: 10.03 MB / 0.7519 GB, free: 8.668 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.6437, allocations: 13.29 MB / 0.7649 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.6456, allocations: 51.62 kB / 0.7649 GB, free: 11.28 MB / 0.5763 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.003425/0.649, allocations: 1.03 MB / 0.7659 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.6525, allocations: 0.9359 MB / 0.7668 GB, free: 9.305 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/0.657, allocations: 1.48 MB / 0.7683 GB, free: 7.824 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.005001/0.662, allocations: 2.442 MB / 0.7707 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.6641, allocations: 0.7381 MB / 0.7714 GB, free: 4.613 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.6662, allocations: 1.012 MB / 0.7724 GB, free: 3.598 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.6684, allocations: 1.146 MB / 0.7735 GB, free: 2.449 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0005076/0.669, allocations: 180 kB / 0.7737 GB, free: 2.273 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.6719, allocations: 1.295 MB / 0.7749 GB, free: 0.9766 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0007867/0.6727, allocations: 0.5916 MB / 0.7755 GB, free: 392 kB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.6741, allocations: 1.033 MB / 0.7765 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006337/0.6805, allocations: 3.471 MB / 0.7799 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6805, allocations: 0 / 0.7799 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6805, allocations: 0 / 0.7799 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.091e-05/0.6805, allocations: 0 / 0.7799 GB, free: 11.86 MB / 0.5919 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.005487/0.686, allocations: 2.729 MB / 0.7826 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6861, allocations: 8.031 kB / 0.7826 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.305e-05/0.6861, allocations: 30.23 kB / 0.7826 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/0.6864, allocations: 182.8 kB / 0.7828 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009558/0.6873, allocations: 303.2 kB / 0.7831 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.6919, allocations: 2.489 MB / 0.7855 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.692, allocations: 82.17 kB / 0.7856 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.6922, allocations: 99.98 kB / 0.7857 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.6967, allocations: 1.997 MB / 0.7876 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.6967, allocations: 15.88 kB / 0.7876 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.6968, allocations: 55.98 kB / 0.7877 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.6969, allocations: 35.98 kB / 0.7877 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.7007, allocations: 1.396 MB / 0.7891 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.7109, allocations: 9.973 MB / 0.7988 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.7147, allocations: 1.214 MB / 0.8 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.7155, allocations: 360.2 kB / 0.8004 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.7156, allocations: 61.23 kB / 0.8004 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.7157, allocations: 54.98 kB / 0.8005 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=154): time 3.366e-06/0.7157, allocations: 0 / 0.8005 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=157): time 0.01179/0.7275, allocations: 5.022 MB / 0.8054 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.7276, allocations: 239.9 kB / 0.8056 GB, free: 484 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.7305, allocations: 1.833 MB / 0.8074 GB, free: 14.6 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.7307, allocations: 37.7 kB / 0.8074 GB, free: 14.55 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/0.7314, allocations: 0.839 MB / 0.8083 GB, free: 13.71 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005461/0.732, allocations: 0.5382 MB / 0.8088 GB, free: 13.16 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/0.7326, allocations: 398.3 kB / 0.8092 GB, free: 12.77 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7327, allocations: 301.1 kB / 0.8094 GB, free: 12.47 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.734, allocations: 0.6151 MB / 0.81 GB, free: 11.85 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.7357, allocations: 1.13 MB / 0.8112 GB, free: 10.45 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/0.7388, allocations: 1.804 MB / 0.8129 GB, free: 8.379 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.7388, allocations: 7.938 kB / 0.8129 GB, free: 8.371 MB / 0.6232 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005387/0.7442, allocations: 2.113 MB / 0.815 GB, free: 6.25 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.7442, allocations: 20.12 kB / 0.815 GB, free: 6.23 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003755/0.748, allocations: 1.36 MB / 0.8163 GB, free: 4.863 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.7496, allocations: 288.9 kB / 0.8166 GB, free: 4.578 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.7512, allocations: 491.2 kB / 0.8171 GB, free: 4.098 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006286/0.7518, allocations: 0.5835 MB / 0.8176 GB, free: 3.488 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.7531, allocations: 91.75 kB / 0.8177 GB, free: 3.398 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.7534, allocations: 115.9 kB / 0.8178 GB, free: 3.285 MB / 0.6232 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.002571/0.7559, allocations: 1 MB / 0.8188 GB, free: 2.277 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001733/0.7577, allocations: 1.122 MB / 0.8199 GB, free: 0.8906 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003104/0.7608, allocations: 1.789 MB / 0.8217 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.187e-05/0.7608, allocations: 4 kB / 0.8217 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.004139/0.7649, allocations: 1.921 MB / 0.8235 GB, free: 12.9 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.7649, allocations: 15.94 kB / 0.8236 GB, free: 12.88 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00249/0.7674, allocations: 1.156 MB / 0.8247 GB, free: 11.73 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.496e-05/0.7675, allocations: 28 kB / 0.8247 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.7691, allocations: 0.4993 MB / 0.8252 GB, free: 11.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-05/0.7691, allocations: 43.84 kB / 0.8252 GB, free: 11.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.7703, allocations: 87.8 kB / 0.8253 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.7704, allocations: 115.9 kB / 0.8254 GB, free: 10.96 MB / 0.6388 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.0005782/0.771, allocations: 299.2 kB / 0.8257 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/0.7716, allocations: 214.5 kB / 0.8259 GB, free: 10.45 MB / 0.6388 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.003705/0.7753, allocations: 1.781 MB / 0.8277 GB, free: 8.648 MB / 0.6388 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.387817300972529] Failed to read output from testmodel.py, exit status != 0: 0.7833749860292301 0.797398662 0.11366398400000001 Calling exit ...