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.01445/0.01445, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.00625/0.00625, allocations: 80.22 kB / 24.59 MB, free: 7.203 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.001279/0.001279, allocations: 166.4 kB / 28.4 MB, free: 4.316 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.8975/0.8975, 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 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.7283/0.7283, allocations: 102.5 MB / 368.7 MB, free: 1.039 MB / 330.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 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_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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.5378 GB, free: 39.19 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.226e-05, allocations: 5.297 kB / 0.5378 GB, free: 39.19 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.1341/0.1341, allocations: 64.43 MB / 0.6007 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.1455, allocations: 12.56 MB / 0.613 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004908/0.146, allocations: 43.69 kB / 0.613 GB, free: 14.15 MB / 0.5105 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.001652/0.1477, allocations: 1.01 MB / 0.614 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009844/0.1486, allocations: 0.9819 MB / 0.615 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1502, allocations: 1.557 MB / 0.6165 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1517, allocations: 2.509 MB / 0.619 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006495/0.1523, allocations: 0.7852 MB / 0.6197 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009517/0.1533, allocations: 1.379 MB / 0.6211 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.154, allocations: 0.9152 MB / 0.622 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.1542, allocations: 188 kB / 0.6222 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.1552, allocations: 1.025 MB / 0.6232 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.1555, allocations: 0.6033 MB / 0.6237 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.156, allocations: 0.631 MB / 0.6244 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.1582, allocations: 3.38 MB / 0.6277 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1582, allocations: 0 / 0.6277 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1582, allocations: 0 / 0.6277 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.1582, allocations: 0 / 0.6277 GB, free: 15.12 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.002595/0.1608, allocations: 2.624 MB / 0.6302 GB, free: 12.46 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1609, allocations: 12.03 kB / 0.6302 GB, free: 12.45 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.161, allocations: 190.7 kB / 0.6304 GB, free: 12.25 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004912/0.1615, allocations: 295.2 kB / 0.6307 GB, free: 11.96 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.164, allocations: 2.378 MB / 0.633 GB, free: 9.543 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.164, allocations: 74.42 kB / 0.6331 GB, free: 9.469 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.1641, allocations: 100.4 kB / 0.6332 GB, free: 9.371 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.1666, allocations: 2.206 MB / 0.6353 GB, free: 6.816 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.1667, allocations: 7.938 kB / 0.6353 GB, free: 6.809 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.1667, allocations: 51.94 kB / 0.6354 GB, free: 6.758 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.1667, allocations: 40 kB / 0.6354 GB, free: 6.719 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.1688, allocations: 1.381 MB / 0.6368 GB, free: 5.332 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/0.1737, allocations: 9.481 MB / 0.646 GB, free: 11.48 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.1758, allocations: 1.136 MB / 0.6471 GB, free: 10.29 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.1762, allocations: 356.1 kB / 0.6475 GB, free: 9.922 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.1763, allocations: 60.47 kB / 0.6475 GB, free: 9.863 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1764, allocations: 51 kB / 0.6476 GB, free: 9.805 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=154): time 2.495e-06/0.1764, allocations: 0 / 0.6476 GB, free: 9.805 MB / 0.5418 GB Notification: Performance of matching and sorting (n=157): time 0.006422/0.1828, allocations: 4.87 MB / 0.6524 GB, free: 4.898 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.1829, allocations: 240 kB / 0.6526 GB, free: 4.605 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.1845, allocations: 1.868 MB / 0.6544 GB, free: 2.695 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.1846, allocations: 41.7 kB / 0.6544 GB, free: 2.648 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.185, allocations: 0.8318 MB / 0.6553 GB, free: 1.809 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.1852, allocations: 0.5343 MB / 0.6558 GB, free: 1.27 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.1856, allocations: 386.3 kB / 0.6561 GB, free: 0.8828 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.1856, allocations: 301.1 kB / 0.6564 GB, free: 0.5859 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.1864, allocations: 0.6191 MB / 0.657 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009695/0.1874, allocations: 1.172 MB / 0.6582 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.1891, allocations: 1.813 MB / 0.66 GB, free: 12.43 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1891, allocations: 8 kB / 0.66 GB, free: 12.42 MB / 0.5574 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.002704/0.1918, allocations: 2.117 MB / 0.662 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1918, allocations: 13.72 kB / 0.662 GB, free: 10.28 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001936/0.1937, allocations: 1.361 MB / 0.6634 GB, free: 8.914 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000682/0.1944, allocations: 284.6 kB / 0.6636 GB, free: 8.633 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.1952, allocations: 491.2 kB / 0.6641 GB, free: 8.152 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003164/0.1955, allocations: 0.5873 MB / 0.6647 GB, free: 7.539 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.196, allocations: 87.91 kB / 0.6648 GB, free: 7.453 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.1961, allocations: 120.1 kB / 0.6649 GB, free: 7.336 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.001183/0.1973, allocations: 1.002 MB / 0.6659 GB, free: 6.32 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.1983, allocations: 1.172 MB / 0.667 GB, free: 4.871 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001665/0.2, allocations: 1.793 MB / 0.6688 GB, free: 2.812 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-06/0.2, allocations: 4 kB / 0.6688 GB, free: 2.809 MB / 0.5574 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.002258/0.2022, allocations: 1.929 MB / 0.6706 GB, free: 0.8711 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2022, allocations: 12 kB / 0.6707 GB, free: 0.8594 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001391/0.2036, allocations: 1.148 MB / 0.6718 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2036, allocations: 32 kB / 0.6718 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.2045, allocations: 0.4916 MB / 0.6723 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.2045, allocations: 43.86 kB / 0.6723 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.2049, allocations: 87.8 kB / 0.6724 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.205, allocations: 119.9 kB / 0.6725 GB, free: 14.94 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.0002088/0.2052, allocations: 289.4 kB / 0.6728 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.2054, allocations: 214.5 kB / 0.673 GB, free: 14.44 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.2073, allocations: 1.775 MB / 0.6747 GB, free: 12.64 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.2158722383901477]