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.01046/0.01046, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.001252/0.001252, allocations: 101.6 kB / 24.97 MB, free: 2.039 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.001648/0.001648, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.469/1.469, allocations: 230.6 MB / 262.9 MB, free: 5.816 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.069/1.069, allocations: 130.7 MB / 450.4 MB, free: 6.434 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.06915/0.06915, allocations: 20.61 MB / 0.6362 GB, free: 5.137 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.2413, allocations: 81.9 MB / 0.7162 GB, free: 3.145 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.5257/0.767, allocations: 42.09 MB / 0.7573 GB, free: 23.42 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.7857, allocations: 12.77 MB / 0.7698 GB, free: 14.5 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.7879, allocations: 48.78 kB / 0.7698 GB, free: 14.48 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.003685/0.7916, allocations: 1.008 MB / 0.7708 GB, free: 14.02 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.795, allocations: 0.9503 MB / 0.7717 GB, free: 13.42 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.7994, allocations: 1.523 MB / 0.7732 GB, free: 12.65 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004096/0.8035, allocations: 2.442 MB / 0.7756 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.8051, allocations: 0.7355 MB / 0.7763 GB, free: 11.09 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.8073, allocations: 1.016 MB / 0.7773 GB, free: 10.62 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.8096, allocations: 1.14 MB / 0.7784 GB, free: 10.1 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.8102, allocations: 180.9 kB / 0.7786 GB, free: 10.1 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.8133, allocations: 1.04 MB / 0.7796 GB, free: 9.801 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008202/0.8141, allocations: 0.5961 MB / 0.7802 GB, free: 9.473 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.8156, allocations: 0.7893 MB / 0.781 GB, free: 9.012 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.00654/0.8221, allocations: 3.422 MB / 0.7843 GB, free: 7.406 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.8221, allocations: 5.844 kB / 0.7843 GB, free: 7.402 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8221, allocations: 2.656 kB / 0.7843 GB, free: 7.402 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 8.343e-05/0.8222, allocations: 0 / 0.7843 GB, free: 7.402 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.005918/0.8281, allocations: 2.64 MB / 0.7869 GB, free: 5.5 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.8282, allocations: 12.62 kB / 0.7869 GB, free: 5.5 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.82e-05/0.8282, allocations: 37.23 kB / 0.7869 GB, free: 5.496 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.8285, allocations: 184.6 kB / 0.7871 GB, free: 5.348 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.8295, allocations: 299.2 kB / 0.7874 GB, free: 5.184 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004723/0.8342, allocations: 2.376 MB / 0.7897 GB, free: 3.559 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/0.8343, allocations: 79.89 kB / 0.7898 GB, free: 3.52 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.8345, allocations: 104.9 kB / 0.7899 GB, free: 3.484 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/0.8388, allocations: 2.203 MB / 0.7921 GB, free: 1.66 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.8388, allocations: 9.938 kB / 0.7921 GB, free: 1.656 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.839, allocations: 58.84 kB / 0.7921 GB, free: 1.617 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.839, allocations: 33.06 kB / 0.7921 GB, free: 1.617 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/0.8426, allocations: 1.395 MB / 0.7935 GB, free: 0.9414 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.853, allocations: 9.517 MB / 0.8028 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.8568, allocations: 1.131 MB / 0.8039 GB, free: 7.516 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.8576, allocations: 354 kB / 0.8042 GB, free: 7.305 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.8578, allocations: 59.28 kB / 0.8043 GB, free: 7.289 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.8578, allocations: 53.38 kB / 0.8044 GB, free: 7.23 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=154): time 4.288e-06/0.8578, allocations: 3.938 kB / 0.8044 GB, free: 7.23 MB / 0.5763 GB Notification: Performance of matching and sorting (n=157): time 0.01258/0.8704, allocations: 4.872 MB / 0.8091 GB, free: 3.012 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.8706, allocations: 248 kB / 0.8094 GB, free: 2.715 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.8736, allocations: 1.837 MB / 0.8111 GB, free: 0.8359 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.8738, allocations: 37.7 kB / 0.8112 GB, free: 0.793 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007859/0.8746, allocations: 0.8415 MB / 0.812 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/0.8752, allocations: 0.5344 MB / 0.8125 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/0.8759, allocations: 390.4 kB / 0.8129 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.876, allocations: 301.1 kB / 0.8132 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.8773, allocations: 0.6215 MB / 0.8138 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.8791, allocations: 1.176 MB / 0.8149 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.8821, allocations: 1.804 MB / 0.8167 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.8822, allocations: 7.938 kB / 0.8167 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005603/0.8878, allocations: 2.114 MB / 0.8188 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.8878, allocations: 18.62 kB / 0.8188 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003845/0.8916, allocations: 1.364 MB / 0.8201 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.8933, allocations: 284.4 kB / 0.8204 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.895, allocations: 495.2 kB / 0.8209 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006603/0.8957, allocations: 0.5876 MB / 0.8214 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.8972, allocations: 90.48 kB / 0.8215 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.8974, allocations: 111.9 kB / 0.8216 GB, free: 5.578 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.002221/0.8996, allocations: 0.9984 MB / 0.8226 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001735/0.9014, allocations: 1.175 MB / 0.8238 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003004/0.9044, allocations: 1.798 MB / 0.8255 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.555e-05/0.9044, allocations: 9.688 kB / 0.8255 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.004073/0.9085, allocations: 1.913 MB / 0.8274 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.9085, allocations: 19.98 kB / 0.8274 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002373/0.9109, allocations: 1.158 MB / 0.8285 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/0.9109, allocations: 28 kB / 0.8286 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.9125, allocations: 0.4952 MB / 0.8291 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.145e-05/0.9125, allocations: 42.52 kB / 0.8291 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.9139, allocations: 82.55 kB / 0.8292 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.9141, allocations: 115.9 kB / 0.8293 GB, free: 13.25 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.0005828/0.9147, allocations: 301.2 kB / 0.8296 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/0.9152, allocations: 215.2 kB / 0.8298 GB, free: 12.74 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.003691/0.9189, allocations: 1.766 MB / 0.8315 GB, free: 11.07 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.819341471069492] Failed to read output from testmodel.py, exit status != 0: 1.117286256980151 1.144164821 0.317015877 Calling exit ...