Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01093/0.01093, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001071/0.001071, allocations: 84.91 kB / 25.4 MB, free: 7 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.001327/0.001327, allocations: 159.8 kB / 29.33 MB, free: 3.137 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.9757/0.9757, allocations: 177.1 MB / 210.3 MB, free: 3.449 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.6013/0.6013, allocations: 102.4 MB / 369.9 MB, free: 236 kB / 330.7 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: 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_dev_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_dev_ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 470.4 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.464e-05, allocations: 6.75 kB / 470.4 MB, free: 18.8 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.12/0.1201, allocations: 68.25 MB / 0.5261 GB, free: 3.379 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.1392, allocations: 17.18 MB / 0.5428 GB, free: 2.148 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.1415, allocations: 111.2 kB / 0.5429 GB, free: 2.039 MB / 458.8 MB [/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.003323/0.1448, allocations: 1.77 MB / 0.5447 GB, free: 264 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.1488, allocations: 2.461 MB / 0.5471 GB, free: 13.78 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.1533, allocations: 2.981 MB / 0.55 GB, free: 10.79 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006496/0.1598, allocations: 6.344 MB / 0.5562 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.1628, allocations: 2.202 MB / 0.5583 GB, free: 2.164 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1116/0.2744, allocations: 48.79 MB / 0.606 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.2774, allocations: 2.021 MB / 0.6079 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.2784, allocations: 372 kB / 0.6083 GB, free: 160 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.2816, allocations: 1.442 MB / 0.6097 GB, free: 14.71 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.2827, allocations: 1.21 MB / 0.6109 GB, free: 13.5 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.2846, allocations: 1.39 MB / 0.6123 GB, free: 12.1 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.006537/0.2912, allocations: 4.541 MB / 0.6167 GB, free: 7.543 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2912, allocations: 0 / 0.6167 GB, free: 7.543 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2912, allocations: 0 / 0.6167 GB, free: 7.543 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001261/0.2913, allocations: 0 / 0.6167 GB, free: 7.543 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: 927 * Number of variables: 927 Notification: Performance of Generate backend data structure: time 0.005644/0.2969, allocations: 5.35 MB / 0.6219 GB, free: 2.117 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.297, allocations: 12.03 kB / 0.6219 GB, free: 2.105 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009404/0.2979, allocations: 0.7746 MB / 0.6227 GB, free: 1.328 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.302, allocations: 2.76 MB / 0.6254 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.3021, allocations: 217.8 kB / 0.6256 GB, free: 14.29 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.3025, allocations: 284 kB / 0.6259 GB, free: 14.01 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00781/0.3103, allocations: 5.47 MB / 0.6312 GB, free: 7.41 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.877e-05/0.3104, allocations: 43.69 kB / 0.6312 GB, free: 7.367 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.3106, allocations: 136 kB / 0.6314 GB, free: 7.234 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.288e-05/0.3107, allocations: 88 kB / 0.6315 GB, free: 7.148 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005251/0.3159, allocations: 2.298 MB / 0.6337 GB, free: 4.832 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2547/0.5706, allocations: 32.85 MB / 0.6658 GB, free: 85.7 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/0.5743, allocations: 2.424 MB / 0.6681 GB, free: 85.26 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.5749, allocations: 0.5837 MB / 0.6687 GB, free: 85.11 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.5751, allocations: 188.3 kB / 0.6689 GB, free: 85.11 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002872/0.578, allocations: 1.981 MB / 0.6708 GB, free: 84.78 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=406): time 4.979e-06/0.578, allocations: 2.688 kB / 0.6708 GB, free: 84.78 MB / 0.5574 GB Notification: Performance of matching and sorting (n=409): time 0.01401/0.592, allocations: 7.421 MB / 0.6781 GB, free: 84.3 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.5922, allocations: 0.794 MB / 0.6789 GB, free: 83.36 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.5947, allocations: 3.122 MB / 0.6819 GB, free: 82.9 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002928/0.5949, allocations: 70.09 kB / 0.682 GB, free: 82.87 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009716/0.5959, allocations: 2.078 MB / 0.684 GB, free: 82.19 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008036/0.5967, allocations: 1.41 MB / 0.6854 GB, free: 81.43 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008864/0.5976, allocations: 0.9751 MB / 0.6863 GB, free: 81.33 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.5976, allocations: 476.8 kB / 0.6868 GB, free: 80.86 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/0.5984, allocations: 0.6492 MB / 0.6874 GB, free: 80.82 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.5998, allocations: 3.043 MB / 0.6904 GB, free: 77.86 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.6024, allocations: 3.656 MB / 0.694 GB, free: 75.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/0.6024, allocations: 14.09 kB / 0.694 GB, free: 75.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.004956/0.6074, allocations: 3.611 MB / 0.6975 GB, free: 75.02 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.6074, allocations: 27.44 kB / 0.6975 GB, free: 75.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002643/0.6101, allocations: 1.961 MB / 0.6994 GB, free: 74.89 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/0.6122, allocations: 0.8213 MB / 0.7002 GB, free: 74.87 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.6142, allocations: 1.115 MB / 0.7013 GB, free: 74.87 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.6157, allocations: 3.092 MB / 0.7043 GB, free: 72.14 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.6174, allocations: 202.8 kB / 0.7045 GB, free: 72.13 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.6177, allocations: 257.6 kB / 0.7048 GB, free: 72.13 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001502/0.6192, allocations: 0.8008 MB / 0.7056 GB, free: 71.93 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001526/0.6207, allocations: 3.041 MB / 0.7085 GB, free: 68.76 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002927/0.6236, allocations: 3.627 MB / 0.7121 GB, free: 66.15 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.354e-05/0.6237, allocations: 20.64 kB / 0.7121 GB, free: 66.15 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.00483/0.6285, allocations: 3.532 MB / 0.7156 GB, free: 65.38 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.6285, allocations: 25 kB / 0.7156 GB, free: 65.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002064/0.6306, allocations: 1.889 MB / 0.7174 GB, free: 64.96 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.6308, allocations: 179.8 kB / 0.7176 GB, free: 64.92 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.6326, allocations: 1.142 MB / 0.7187 GB, free: 64.73 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.634, allocations: 4.125 MB / 0.7227 GB, free: 60.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.636, allocations: 196.6 kB / 0.7229 GB, free: 60.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/0.6363, allocations: 250.8 kB / 0.7232 GB, free: 60.71 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,PI_speed.I.local_reset,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,rampSetPoint.nextTimeEventScaled,$PRE.rampSetPoint.nextTimeEventScaled,rampSetPoint.nextTimeEvent,bearingFriction.free) * 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.0009987/0.6373, allocations: 0.5425 MB / 0.7237 GB, free: 60.44 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000855/0.6382, allocations: 0.4969 MB / 0.7242 GB, free: 60.18 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.003869/0.642, allocations: 3.853 MB / 0.7279 GB, free: 58.88 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3084380417130888]