Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008139/0.008139, allocations: 1.787 MB / 20.88 MB, free: 3.652 MB / 18.57 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.00362/0.00362, allocations: 80.81 kB / 24.59 MB, free: 7.219 MB / 18.57 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.00088/0.00088, allocations: 177.9 kB / 28.41 MB, free: 4.32 MB / 18.57 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 0.8505/0.8505, allocations: 177.2 MB / 209.3 MB, free: 2.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6718/0.6718, allocations: 102.4 MB / 368.6 MB, free: 1.02 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_dev_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestTurboGenerator,fileNamePrefix="ClaRa_dev_ClaRa_Components_Electrical_Check_TestTurboGenerator",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5378 GB, free: 39.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.083e-05, allocations: 5.156 kB / 0.5378 GB, free: 39.07 MB / 490.8 MB 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.1078/0.1078, allocations: 64.43 MB / 0.6007 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.1197, allocations: 12.56 MB / 0.613 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.1204, allocations: 43.69 kB / 0.613 GB, free: 14.16 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.001823/0.1222, allocations: 1.014 MB / 0.614 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1233, allocations: 0.9818 MB / 0.615 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.1253, allocations: 1.549 MB / 0.6165 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1268, allocations: 2.51 MB / 0.6189 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.1274, allocations: 0.7813 MB / 0.6197 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.1285, allocations: 1.375 MB / 0.621 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007667/0.1292, allocations: 0.923 MB / 0.6219 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.1294, allocations: 180 kB / 0.6221 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1305, allocations: 1.033 MB / 0.6231 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.1309, allocations: 0.6032 MB / 0.6237 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.1313, allocations: 0.6349 MB / 0.6243 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.1336, allocations: 3.372 MB / 0.6276 GB, free: 15.14 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1336, allocations: 3.984 kB / 0.6276 GB, free: 15.13 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1336, allocations: 0 / 0.6276 GB, free: 15.13 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.1336, allocations: 3.938 kB / 0.6276 GB, free: 15.13 MB / 0.5262 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.002433/0.136, allocations: 2.622 MB / 0.6302 GB, free: 12.46 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1361, allocations: 8.031 kB / 0.6302 GB, free: 12.45 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.1362, allocations: 186.8 kB / 0.6304 GB, free: 12.26 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004633/0.1367, allocations: 299.2 kB / 0.6307 GB, free: 11.97 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.1391, allocations: 2.371 MB / 0.633 GB, free: 9.559 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.1392, allocations: 82.42 kB / 0.6331 GB, free: 9.477 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.301e-05/0.1393, allocations: 96.38 kB / 0.6332 GB, free: 9.383 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.1417, allocations: 2.206 MB / 0.6353 GB, free: 6.828 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1418, allocations: 11.88 kB / 0.6353 GB, free: 6.816 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.1418, allocations: 48 kB / 0.6354 GB, free: 6.77 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.1419, allocations: 32 kB / 0.6354 GB, free: 6.738 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.1439, allocations: 1.389 MB / 0.6367 GB, free: 5.344 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004887/0.1488, allocations: 9.493 MB / 0.646 GB, free: 11.48 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.1508, allocations: 1.128 MB / 0.6471 GB, free: 10.3 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.1512, allocations: 354.2 kB / 0.6475 GB, free: 9.934 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.1513, allocations: 60.47 kB / 0.6475 GB, free: 9.875 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1514, allocations: 47.05 kB / 0.6476 GB, free: 9.82 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=154): time 2.284e-06/0.1514, allocations: 3.938 kB / 0.6476 GB, free: 9.816 MB / 0.5418 GB Notification: Performance of matching and sorting (n=157): time 0.006019/0.1574, allocations: 4.875 MB / 0.6523 GB, free: 4.906 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.1575, allocations: 247.9 kB / 0.6526 GB, free: 4.605 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.159, allocations: 1.868 MB / 0.6544 GB, free: 2.695 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.159, allocations: 37.7 kB / 0.6544 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.1595, allocations: 0.8281 MB / 0.6552 GB, free: 1.816 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.1597, allocations: 0.5343 MB / 0.6558 GB, free: 1.277 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.16, allocations: 390.3 kB / 0.6561 GB, free: 0.8867 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.1601, allocations: 301.1 kB / 0.6564 GB, free: 0.5898 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.1609, allocations: 0.6189 MB / 0.657 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/0.1618, allocations: 1.172 MB / 0.6582 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.1635, allocations: 1.805 MB / 0.6599 GB, free: 12.44 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.1635, allocations: 8 kB / 0.6599 GB, free: 12.43 MB / 0.5574 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.002775/0.1663, allocations: 2.121 MB / 0.662 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1663, allocations: 12 kB / 0.662 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002097/0.1684, allocations: 1.36 MB / 0.6633 GB, free: 8.926 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007764/0.1692, allocations: 284.6 kB / 0.6636 GB, free: 8.645 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.17, allocations: 495.2 kB / 0.6641 GB, free: 8.16 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000302/0.1703, allocations: 0.5835 MB / 0.6647 GB, free: 7.551 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.1707, allocations: 87.8 kB / 0.6647 GB, free: 7.465 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.1708, allocations: 115.9 kB / 0.6648 GB, free: 7.352 MB / 0.5574 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.001134/0.172, allocations: 1.002 MB / 0.6658 GB, free: 6.336 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009801/0.173, allocations: 1.172 MB / 0.667 GB, free: 4.887 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001833/0.1748, allocations: 1.809 MB / 0.6687 GB, free: 2.812 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/0.1748, allocations: 4 kB / 0.6687 GB, free: 2.809 MB / 0.5574 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.002167/0.177, allocations: 1.914 MB / 0.6706 GB, free: 0.8867 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.177, allocations: 16.03 kB / 0.6706 GB, free: 0.8711 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001394/0.1784, allocations: 1.152 MB / 0.6718 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1784, allocations: 28 kB / 0.6718 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.1792, allocations: 0.4916 MB / 0.6723 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.1792, allocations: 43.86 kB / 0.6723 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.1797, allocations: 87.86 kB / 0.6724 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.1798, allocations: 119.9 kB / 0.6725 GB, free: 14.95 MB / 0.573 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.0002193/0.18, allocations: 304.7 kB / 0.6728 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.1802, allocations: 210.5 kB / 0.673 GB, free: 14.45 MB / 0.573 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.001824/0.182, allocations: 1.771 MB / 0.6747 GB, free: 12.65 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.0284609673544765]