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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.008868/0.008868, allocations: 1.76 MB / 20.61 MB, free: 3.863 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08398/0.08398, allocations: 25.61 MB / 49.71 MB, free: 2.852 MB / 33.03 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.001008/0.001008, allocations: 114.1 kB / 60.65 MB, free: 2.918 MB / 44.04 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.001311/0.001311, allocations: 216.8 kB / 71.73 MB, free: 6.457 MB / 44.04 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.021/1.021, allocations: 230.6 MB / 313.3 MB, free: 11.73 MB / 234.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.8001/0.8001, allocations: 130.7 MB / 0.4963 GB, free: 2.18 MB / 362.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/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: 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: 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: 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: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 161.6 kB / 0.69 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1442, allocations: 89.26 MB / 0.7772 GB, free: 3 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestTurboGenerator): time 0.007323/0.1515, allocations: 9.124 MB / 0.7861 GB, free: 9.832 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.1636, allocations: 12.78 MB / 0.7986 GB, free: 13.01 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/0.1643, allocations: 51.62 kB / 0.7986 GB, free: 12.96 MB / 0.573 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.001921/0.1663, allocations: 1.004 MB / 0.7996 GB, free: 11.95 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.1675, allocations: 0.9554 MB / 0.8005 GB, free: 10.99 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.1697, allocations: 1.522 MB / 0.802 GB, free: 9.469 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1714, allocations: 2.432 MB / 0.8044 GB, free: 7.031 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/0.1721, allocations: 0.7851 MB / 0.8052 GB, free: 6.227 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007399/0.1729, allocations: 1.008 MB / 0.8062 GB, free: 5.215 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/0.1737, allocations: 1.069 MB / 0.8072 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.1739, allocations: 184 kB / 0.8074 GB, free: 3.961 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.1754, allocations: 1.022 MB / 0.8084 GB, free: 2.938 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.1757, allocations: 0.5955 MB / 0.809 GB, free: 2.34 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.1762, allocations: 0.7886 MB / 0.8097 GB, free: 1.547 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.1788, allocations: 3.428 MB / 0.8131 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1788, allocations: 0 / 0.8131 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1788, allocations: 0 / 0.8131 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.1788, allocations: 3.938 kB / 0.8131 GB, free: 14.1 MB / 0.5887 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.002481/0.1813, allocations: 2.65 MB / 0.8157 GB, free: 11.41 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1814, allocations: 8.031 kB / 0.8157 GB, free: 11.4 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.1815, allocations: 194.7 kB / 0.8159 GB, free: 11.2 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.182, allocations: 303.2 kB / 0.8162 GB, free: 10.9 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.1844, allocations: 2.372 MB / 0.8185 GB, free: 8.488 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.1845, allocations: 78.42 kB / 0.8185 GB, free: 8.41 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.1846, allocations: 103.9 kB / 0.8186 GB, free: 8.309 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.1872, allocations: 2.209 MB / 0.8208 GB, free: 5.75 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1872, allocations: 11.88 kB / 0.8208 GB, free: 5.738 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.1873, allocations: 48 kB / 0.8209 GB, free: 5.691 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.1873, allocations: 32 kB / 0.8209 GB, free: 5.66 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.1894, allocations: 1.396 MB / 0.8223 GB, free: 4.262 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005231/0.1946, allocations: 9.505 MB / 0.8315 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.1967, allocations: 1.138 MB / 0.8326 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.1971, allocations: 353.9 kB / 0.833 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.1972, allocations: 60.47 kB / 0.833 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1973, allocations: 50.94 kB / 0.8331 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=154): time 2.465e-06/0.1973, allocations: 0 / 0.8331 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of matching and sorting (n=157): time 0.00603/0.2033, allocations: 4.871 MB / 0.8378 GB, free: 3.812 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.2034, allocations: 243.9 kB / 0.8381 GB, free: 3.52 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.2051, allocations: 1.868 MB / 0.8399 GB, free: 1.609 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.2052, allocations: 41.7 kB / 0.8399 GB, free: 1.562 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.2056, allocations: 0.8318 MB / 0.8408 GB, free: 0.7227 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.2059, allocations: 0.5421 MB / 0.8413 GB, free: 180 kB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.2062, allocations: 394.3 kB / 0.8417 GB, free: 15.79 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.2063, allocations: 301.2 kB / 0.8419 GB, free: 15.49 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.207, allocations: 0.619 MB / 0.8426 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/0.2079, allocations: 1.176 MB / 0.8437 GB, free: 13.41 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.2096, allocations: 1.805 MB / 0.8455 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2096, allocations: 4 kB / 0.8455 GB, free: 11.33 MB / 0.6199 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.002791/0.2124, allocations: 2.122 MB / 0.8475 GB, free: 9.203 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.2124, allocations: 12.11 kB / 0.8475 GB, free: 9.191 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001894/0.2143, allocations: 1.364 MB / 0.8489 GB, free: 7.82 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/0.215, allocations: 284.9 kB / 0.8492 GB, free: 7.539 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.2158, allocations: 491.2 kB / 0.8496 GB, free: 7.059 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003598/0.2162, allocations: 0.599 MB / 0.8502 GB, free: 6.434 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.2167, allocations: 83.88 kB / 0.8503 GB, free: 6.352 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.2168, allocations: 111.9 kB / 0.8504 GB, free: 6.242 MB / 0.6199 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.001241/0.2181, allocations: 1.006 MB / 0.8514 GB, free: 5.227 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009975/0.2191, allocations: 1.176 MB / 0.8525 GB, free: 3.762 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001785/0.2208, allocations: 1.793 MB / 0.8543 GB, free: 1.703 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.2208, allocations: 8 kB / 0.8543 GB, free: 1.695 MB / 0.6199 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.002203/0.223, allocations: 1.917 MB / 0.8562 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.2231, allocations: 16.94 kB / 0.8562 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001429/0.2245, allocations: 1.16 MB / 0.8573 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.2245, allocations: 31.98 kB / 0.8573 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/0.2254, allocations: 0.4914 MB / 0.8578 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/0.2254, allocations: 43.8 kB / 0.8579 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.2259, allocations: 83.86 kB / 0.8579 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.2261, allocations: 119.9 kB / 0.858 GB, free: 13.83 MB / 0.6355 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.0003752/0.2264, allocations: 291.6 kB / 0.8583 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.2267, allocations: 214.5 kB / 0.8585 GB, free: 13.33 MB / 0.6355 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.00237/0.2291, allocations: 1.771 MB / 0.8603 GB, free: 11.6 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.328754611313343]