Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1.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.008548/0.008548, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0008555/0.0008555, allocations: 90.86 kB / 25.15 MB, free: 7.418 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.0009318/0.0009318, allocations: 160.8 kB / 29.05 MB, free: 3.641 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.9844/0.9844, allocations: 177.1 MB / 210 MB, free: 3.598 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.627/0.627, allocations: 102.5 MB / 369.5 MB, free: 372 kB / 330.7 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: translateModel(ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI_speed.I.y|Time|speed.phi|speed.w|variableGradientLimiter1.y_aux",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1") translateModel(ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI_speed.I.y|Time|speed.phi|speed.w|variableGradientLimiter1.y_aux",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 470 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.421e-05, allocations: 6.969 kB / 470 MB, free: 18.97 MB / 410.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.TurboMachines.Turbines.Check.testTurbineVLE_L1): time 0.1338/0.1338, allocations: 68.74 MB / 0.5261 GB, free: 3.168 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02184/0.1557, allocations: 17.29 MB / 0.543 GB, free: 1.836 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/0.1591, allocations: 107.2 kB / 0.5431 GB, free: 1.73 MB / 458.8 MB [/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.004299/0.1633, allocations: 1.776 MB / 0.5448 GB, free: 15.95 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.1698, allocations: 2.441 MB / 0.5472 GB, free: 13.49 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006083/0.1758, allocations: 2.981 MB / 0.5501 GB, free: 10.5 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.008421/0.1843, allocations: 6.341 MB / 0.5563 GB, free: 4.137 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.1877, allocations: 2.21 MB / 0.5584 GB, free: 1.867 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/0.1935, allocations: 3.472 MB / 0.5618 GB, free: 14.39 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.1967, allocations: 2.129 MB / 0.5639 GB, free: 12.25 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009958/0.1977, allocations: 428 kB / 0.5643 GB, free: 11.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.2009, allocations: 1.614 MB / 0.5659 GB, free: 10.22 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.2022, allocations: 1.323 MB / 0.5672 GB, free: 8.891 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.2044, allocations: 1.5 MB / 0.5686 GB, free: 7.387 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00762/0.212, allocations: 4.787 MB / 0.5733 GB, free: 2.582 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.212, allocations: 0 / 0.5733 GB, free: 2.582 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.61e-07/0.212, allocations: 0 / 0.5733 GB, free: 2.582 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001077/0.2121, allocations: 0 / 0.5733 GB, free: 2.582 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 927 * Number of variables: 927 Notification: Performance of Generate backend data structure: time 0.00671/0.2188, allocations: 5.557 MB / 0.5787 GB, free: 12.95 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2189, allocations: 12.03 kB / 0.5788 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.2203, allocations: 0.876 MB / 0.5796 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005305/0.2256, allocations: 3.634 MB / 0.5832 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.2257, allocations: 221.8 kB / 0.5834 GB, free: 8.145 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.226, allocations: 288 kB / 0.5837 GB, free: 7.863 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006793/0.2328, allocations: 5.681 MB / 0.5892 GB, free: 1.055 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.068e-05/0.2329, allocations: 31.69 kB / 0.5892 GB, free: 1.023 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.2331, allocations: 136 kB / 0.5894 GB, free: 0.8906 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/0.2331, allocations: 92 kB / 0.5894 GB, free: 0.8008 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/0.2378, allocations: 2.575 MB / 0.592 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.2576, allocations: 33.39 MB / 0.6246 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.2622, allocations: 2.59 MB / 0.6271 GB, free: 8.977 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.2632, allocations: 0.6795 MB / 0.6278 GB, free: 8.246 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.2635, allocations: 125.9 kB / 0.6279 GB, free: 8.125 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003688/0.2672, allocations: 2.086 MB / 0.6299 GB, free: 5.945 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=406): time 5.45e-06/0.2672, allocations: 0 / 0.6299 GB, free: 5.945 MB / 0.5418 GB Notification: Performance of matching and sorting (n=409): time 0.02197/0.2892, allocations: 18 MB / 0.6475 GB, free: 3.77 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002075/0.2894, allocations: 0.6648 MB / 0.6481 GB, free: 2.953 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2496/0.539, allocations: 3.224 MB / 0.6513 GB, free: 110 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0006594/0.5396, allocations: 65.36 kB / 0.6514 GB, free: 109.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.5415, allocations: 2.04 MB / 0.6534 GB, free: 109.8 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.543, allocations: 1.403 MB / 0.6547 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.544, allocations: 0.9442 MB / 0.6556 GB, free: 109.1 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.5441, allocations: 476.8 kB / 0.6561 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.5453, allocations: 0.8071 MB / 0.6569 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.5474, allocations: 3.013 MB / 0.6598 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003876/0.5512, allocations: 3.919 MB / 0.6637 GB, free: 103.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/0.5513, allocations: 15.22 kB / 0.6637 GB, free: 103.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.006001/0.5573, allocations: 3.948 MB / 0.6675 GB, free: 103 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.5573, allocations: 22.19 kB / 0.6675 GB, free: 103 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003707/0.561, allocations: 2.208 MB / 0.6697 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.5633, allocations: 0.8272 MB / 0.6705 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.5654, allocations: 1.112 MB / 0.6716 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.5673, allocations: 3.133 MB / 0.6747 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.5692, allocations: 195.8 kB / 0.6748 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/0.5696, allocations: 288 kB / 0.6751 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001944/0.5715, allocations: 0.9606 MB / 0.6761 GB, free: 99.96 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0019/0.5734, allocations: 3.003 MB / 0.679 GB, free: 97.23 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003381/0.5768, allocations: 3.895 MB / 0.6828 GB, free: 94.76 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-05/0.5768, allocations: 11.31 kB / 0.6828 GB, free: 94.76 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.005952/0.5827, allocations: 3.877 MB / 0.6866 GB, free: 94.38 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.5828, allocations: 25.66 kB / 0.6866 GB, free: 94.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003419/0.5862, allocations: 2.132 MB / 0.6887 GB, free: 94.26 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.5866, allocations: 179.6 kB / 0.6889 GB, free: 94.23 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.5887, allocations: 1.148 MB / 0.69 GB, free: 94.23 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.5906, allocations: 4.165 MB / 0.6941 GB, free: 90.34 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.5926, allocations: 195.4 kB / 0.6942 GB, free: 90.32 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/0.593, allocations: 283.8 kB / 0.6945 GB, free: 90.32 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.rampSetPoint.nextTimeEvent,$whenCondition1,bearingFriction.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,rampSetPoint.nextTimeEventScaled,$PRE.rampSetPoint.nextTimeEventScaled,rampSetPoint.nextTimeEvent,PI_speed.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (593): * Single equations (assignments): 591 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.594, allocations: 0.547 MB / 0.695 GB, free: 90.06 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000938/0.595, allocations: 0.5019 MB / 0.6955 GB, free: 89.8 MB / 0.5574 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 589 equation(s) and 559 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.5999, allocations: 3.975 MB / 0.6994 GB, free: 89.42 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4466814952902496]