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.0175/0.0175, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001719/0.001719, allocations: 75.81 kB / 24.88 MB, free: 6.309 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.001895/0.001895, allocations: 161.6 kB / 28.74 MB, free: 3.512 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 1.572/1.572, allocations: 177.2 MB / 209.6 MB, free: 2.379 MB / 186.7 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.088/1.088, allocations: 102.5 MB / 369.1 MB, free: 0.9336 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: 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.553e-06/1.553e-06, allocations: 0 / 469.1 MB, free: 13.03 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.776e-05, allocations: 4 kB / 469.1 MB, free: 13.02 MB / 442.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.4183/0.4184, allocations: 66.31 MB / 0.5229 GB, free: 72.09 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02695/0.4453, allocations: 17.18 MB / 0.5397 GB, free: 62.55 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004591/0.4499, allocations: 109.7 kB / 0.5398 GB, free: 62.5 MB / 490.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.004928/0.4548, allocations: 1.768 MB / 0.5415 GB, free: 61.61 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00712/0.4619, allocations: 2.435 MB / 0.5439 GB, free: 60.06 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006528/0.4685, allocations: 2.98 MB / 0.5468 GB, free: 58.5 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.4793, allocations: 6.348 MB / 0.553 GB, free: 55.27 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.4841, allocations: 2.194 MB / 0.5551 GB, free: 53.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0094/0.4935, allocations: 3.476 MB / 0.5585 GB, free: 52.3 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00656/0.5001, allocations: 2.125 MB / 0.5606 GB, free: 51.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001345/0.5014, allocations: 428.8 kB / 0.561 GB, free: 51.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.506, allocations: 1.625 MB / 0.5626 GB, free: 51.16 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.5071, allocations: 1.321 MB / 0.5639 GB, free: 50.36 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.5094, allocations: 1.486 MB / 0.5653 GB, free: 49.64 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.5195, allocations: 7.133 MB / 0.5723 GB, free: 45.48 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5195, allocations: 5.719 kB / 0.5723 GB, free: 45.48 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5195, allocations: 0 / 0.5723 GB, free: 45.48 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002158/0.5198, allocations: 2.719 kB / 0.5723 GB, free: 45.48 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.01235/0.5321, allocations: 5.965 MB / 0.5781 GB, free: 41.25 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5322, allocations: 11.38 kB / 0.5782 GB, free: 41.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.5345, allocations: 0.8805 MB / 0.579 GB, free: 40.8 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007514/0.542, allocations: 3.647 MB / 0.5826 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.5421, allocations: 217.8 kB / 0.5828 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004502/0.5426, allocations: 284 kB / 0.5831 GB, free: 37.13 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.5532, allocations: 6.735 MB / 0.5896 GB, free: 29.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.5533, allocations: 44.33 kB / 0.5897 GB, free: 29.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/0.5535, allocations: 132 kB / 0.5898 GB, free: 29.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/0.5536, allocations: 88 kB / 0.5899 GB, free: 29.02 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008084/0.5617, allocations: 3.601 MB / 0.5934 GB, free: 25.41 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.5898, allocations: 35.55 MB / 0.6281 GB, free: 4.758 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009216/0.599, allocations: 3.175 MB / 0.6312 GB, free: 1.457 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.6013, allocations: 1.035 MB / 0.6322 GB, free: 380 kB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/0.6017, allocations: 124.6 kB / 0.6324 GB, free: 260 kB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007563/0.6093, allocations: 2.774 MB / 0.6351 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=406): time 5.961e-06/0.6093, allocations: 0 / 0.6351 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=409): time 0.04506/0.6543, allocations: 20.21 MB / 0.6548 GB, free: 9.059 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004784/0.6548, allocations: 0.6646 MB / 0.6554 GB, free: 8.242 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007603/0.6624, allocations: 4.249 MB / 0.6596 GB, free: 3.973 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007038/0.6631, allocations: 65.7 kB / 0.6597 GB, free: 3.902 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/0.6656, allocations: 2.217 MB / 0.6618 GB, free: 1.672 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002258/0.6679, allocations: 1.5 MB / 0.6633 GB, free: 164 kB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001946/0.6698, allocations: 1.09 MB / 0.6644 GB, free: 15.06 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0005343/0.6704, allocations: 480.8 kB / 0.6648 GB, free: 14.59 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.6733, allocations: 1.393 MB / 0.6662 GB, free: 13.18 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005271/0.6785, allocations: 3.746 MB / 0.6698 GB, free: 8.504 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009302/0.6878, allocations: 5.279 MB / 0.675 GB, free: 2.418 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.644e-05/0.6879, allocations: 12 kB / 0.675 GB, free: 2.406 MB / 0.5418 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.01265/0.7005, allocations: 5.136 MB / 0.68 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.7006, allocations: 27.94 kB / 0.68 GB, free: 13.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007414/0.708, allocations: 3.196 MB / 0.6832 GB, free: 10.02 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005414/0.7134, allocations: 0.8846 MB / 0.684 GB, free: 9.164 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/0.7179, allocations: 1.108 MB / 0.6851 GB, free: 8.055 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004252/0.7222, allocations: 3.377 MB / 0.6884 GB, free: 4.535 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/0.726, allocations: 194.3 kB / 0.6886 GB, free: 4.348 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008199/0.7269, allocations: 287.8 kB / 0.6889 GB, free: 4.066 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00478/0.7316, allocations: 1.919 MB / 0.6907 GB, free: 2.141 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005598/0.7372, allocations: 3.722 MB / 0.6944 GB, free: 13.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009143/0.7464, allocations: 5.223 MB / 0.6995 GB, free: 7.453 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.556e-05/0.7464, allocations: 12 kB / 0.6995 GB, free: 7.441 MB / 0.573 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.0122/0.7586, allocations: 5.012 MB / 0.7044 GB, free: 2.434 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.7587, allocations: 27.98 kB / 0.7044 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006873/0.7655, allocations: 3.068 MB / 0.7074 GB, free: 15.31 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.7661, allocations: 214 kB / 0.7076 GB, free: 15.1 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.7702, allocations: 1.145 MB / 0.7087 GB, free: 13.95 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.775, allocations: 4.366 MB / 0.713 GB, free: 9.355 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/0.7785, allocations: 191.7 kB / 0.7132 GB, free: 9.168 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008397/0.7793, allocations: 279.8 kB / 0.7134 GB, free: 8.895 MB / 0.5887 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.001429/0.7807, allocations: 0.5498 MB / 0.714 GB, free: 8.336 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001582/0.7823, allocations: 0.5009 MB / 0.7145 GB, free: 7.832 MB / 0.5887 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.009661/0.792, allocations: 4.382 MB / 0.7187 GB, free: 3.645 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.718920027953573]