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.01051/0.01051, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001322/0.001322, allocations: 107.9 kB / 24.19 MB, free: 2.691 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.00169/0.00169, allocations: 209.4 kB / 27.92 MB, free: 4.027 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.515/1.515, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.127/1.127, allocations: 130.7 MB / 449.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me",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.03381/0.03381, allocations: 20.79 MB / 0.6357 GB, free: 5.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.2053, allocations: 81.91 MB / 0.7157 GB, free: 3.172 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.5039/0.7092, allocations: 42.99 MB / 0.7577 GB, free: 22.55 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.7283, allocations: 13.49 MB / 0.7709 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.7301, allocations: 44.19 kB / 0.7709 GB, free: 12.86 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.00341/0.7336, allocations: 1.05 MB / 0.7719 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.7366, allocations: 0.9471 MB / 0.7729 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004372/0.741, allocations: 1.529 MB / 0.7743 GB, free: 10.99 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004257/0.7452, allocations: 2.443 MB / 0.7767 GB, free: 9.789 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.7467, allocations: 0.7328 MB / 0.7774 GB, free: 9.43 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.7486, allocations: 1.008 MB / 0.7784 GB, free: 8.965 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.7507, allocations: 1.146 MB / 0.7796 GB, free: 8.434 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.7511, allocations: 181.5 kB / 0.7797 GB, free: 8.434 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.7543, allocations: 1.347 MB / 0.781 GB, free: 8.027 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008201/0.7551, allocations: 0.604 MB / 0.7816 GB, free: 7.691 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.7565, allocations: 1.034 MB / 0.7826 GB, free: 6.988 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.00645/0.7629, allocations: 3.479 MB / 0.786 GB, free: 5.246 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.7629, allocations: 0 / 0.786 GB, free: 5.246 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7629, allocations: 0 / 0.786 GB, free: 5.246 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 7.881e-05/0.763, allocations: 1.062 kB / 0.786 GB, free: 5.246 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.005501/0.7685, allocations: 2.654 MB / 0.7886 GB, free: 3.332 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.7686, allocations: 10.59 kB / 0.7886 GB, free: 3.332 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.7688, allocations: 184.4 kB / 0.7888 GB, free: 3.184 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009527/0.7697, allocations: 295 kB / 0.7891 GB, free: 3.023 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.7741, allocations: 2.369 MB / 0.7914 GB, free: 1.41 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.7742, allocations: 77.61 kB / 0.7915 GB, free: 1.375 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.7743, allocations: 108.7 kB / 0.7916 GB, free: 1.336 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003966/0.7783, allocations: 2 MB / 0.7935 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.7784, allocations: 12.75 kB / 0.7936 GB, free: 15.76 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.7785, allocations: 53.44 kB / 0.7936 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.7785, allocations: 36.61 kB / 0.7936 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.7823, allocations: 1.395 MB / 0.795 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.7929, allocations: 9.896 MB / 0.8047 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/0.7967, allocations: 1.133 MB / 0.8058 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/0.7974, allocations: 360.3 kB / 0.8061 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.7976, allocations: 64.77 kB / 0.8062 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.7977, allocations: 50.72 kB / 0.8062 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=154): time 4.348e-06/0.7977, allocations: 1.469 kB / 0.8062 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of matching and sorting (n=157): time 0.01255/0.8102, allocations: 4.88 MB / 0.811 GB, free: 0.7578 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.8104, allocations: 244 kB / 0.8112 GB, free: 476 kB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/0.8136, allocations: 1.832 MB / 0.813 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.8138, allocations: 33.7 kB / 0.813 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007664/0.8146, allocations: 0.8389 MB / 0.8139 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005831/0.8152, allocations: 0.5421 MB / 0.8144 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006055/0.8158, allocations: 390.4 kB / 0.8148 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8159, allocations: 305.1 kB / 0.8151 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.8172, allocations: 0.6215 MB / 0.8157 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.8188, allocations: 1.129 MB / 0.8168 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/0.8219, allocations: 1.799 MB / 0.8185 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.8219, allocations: 4.109 kB / 0.8185 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005409/0.8273, allocations: 2.128 MB / 0.8206 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.8273, allocations: 18.66 kB / 0.8206 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003821/0.8311, allocations: 1.352 MB / 0.8219 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.8329, allocations: 288.7 kB / 0.8222 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.8345, allocations: 491.2 kB / 0.8227 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006441/0.8351, allocations: 0.5967 MB / 0.8233 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.8366, allocations: 79.86 kB / 0.8233 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/0.8369, allocations: 115.9 kB / 0.8235 GB, free: 3.426 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.002273/0.8392, allocations: 0.9986 MB / 0.8244 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001741/0.8409, allocations: 1.125 MB / 0.8255 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002989/0.8439, allocations: 1.79 MB / 0.8273 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.622e-05/0.8439, allocations: 11.94 kB / 0.8273 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.004103/0.848, allocations: 1.913 MB / 0.8292 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.8481, allocations: 16 kB / 0.8292 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002439/0.8505, allocations: 1.161 MB / 0.8303 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.863e-05/0.8505, allocations: 28 kB / 0.8303 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.8521, allocations: 0.4914 MB / 0.8308 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.265e-05/0.8522, allocations: 50.39 kB / 0.8309 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.8536, allocations: 86.48 kB / 0.8309 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.8538, allocations: 115.9 kB / 0.8311 GB, free: 11.19 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.000561/0.8544, allocations: 290.3 kB / 0.8313 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/0.8551, allocations: 214.5 kB / 0.8315 GB, free: 10.69 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.003885/0.859, allocations: 1.763 MB / 0.8333 GB, free: 9.031 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.822762855095789] Failed to read output from testmodel.py, exit status != 0: 1.0536202939692885 1.07130708 0.30496847200000005 Calling exit ...