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.008576/0.008576, allocations: 1.777 MB / 22.36 MB, free: 2.113 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.001287/0.001287, allocations: 79.56 kB / 26.19 MB, free: 6.086 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.001816/0.001816, allocations: 166.9 kB / 30.12 MB, free: 2.191 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.9857/0.9857, allocations: 177.2 MB / 211.1 MB, free: 3.43 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.6064/0.6064, allocations: 102.4 MB / 370.6 MB, free: 196 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.383e-06/1.383e-06, allocations: 0 / 471.2 MB, free: 18.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.022e-05, allocations: 4.391 kB / 471.2 MB, free: 18.78 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.117/0.1171, allocations: 68.23 MB / 0.5268 GB, free: 3.367 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02074/0.1378, allocations: 17.19 MB / 0.5436 GB, free: 2.129 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.1405, allocations: 111.2 kB / 0.5437 GB, free: 2.02 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.004345/0.1449, allocations: 1.777 MB / 0.5454 GB, free: 240 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.1498, allocations: 2.457 MB / 0.5478 GB, free: 13.76 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004831/0.1546, allocations: 2.984 MB / 0.5507 GB, free: 10.77 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006824/0.1614, allocations: 6.334 MB / 0.5569 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.1645, allocations: 2.202 MB / 0.5591 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1108/0.2753, allocations: 48.8 MB / 0.6067 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.2781, allocations: 2.017 MB / 0.6087 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005792/0.2787, allocations: 372 kB / 0.6091 GB, free: 160 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.2814, allocations: 1.454 MB / 0.6105 GB, free: 14.7 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.2821, allocations: 1.198 MB / 0.6116 GB, free: 13.5 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.2834, allocations: 1.394 MB / 0.613 GB, free: 12.1 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004554/0.2879, allocations: 4.541 MB / 0.6174 GB, free: 7.539 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2879, allocations: 0 / 0.6174 GB, free: 7.539 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2879, allocations: 0 / 0.6174 GB, free: 7.539 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.931e-05/0.288, allocations: 0 / 0.6174 GB, free: 7.539 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.004648/0.2926, allocations: 5.346 MB / 0.6227 GB, free: 2.117 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2926, allocations: 8.031 kB / 0.6227 GB, free: 2.109 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.2937, allocations: 0.7746 MB / 0.6234 GB, free: 1.332 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.2962, allocations: 2.76 MB / 0.6261 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.2963, allocations: 217.8 kB / 0.6263 GB, free: 14.29 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.2966, allocations: 291.9 kB / 0.6266 GB, free: 14 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/0.302, allocations: 5.474 MB / 0.632 GB, free: 7.402 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-05/0.3021, allocations: 31.69 kB / 0.632 GB, free: 7.371 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.3022, allocations: 136 kB / 0.6321 GB, free: 7.238 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.3023, allocations: 88 kB / 0.6322 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.3057, allocations: 2.309 MB / 0.6345 GB, free: 4.824 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2155/0.5212, allocations: 32.84 MB / 0.6665 GB, free: 85.69 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/0.5247, allocations: 2.428 MB / 0.6689 GB, free: 85.25 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.5252, allocations: 0.5835 MB / 0.6695 GB, free: 85.11 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.5254, allocations: 123.5 kB / 0.6696 GB, free: 85.1 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00284/0.5283, allocations: 1.978 MB / 0.6715 GB, free: 84.77 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=406): time 4.037e-06/0.5283, allocations: 2.656 kB / 0.6715 GB, free: 84.77 MB / 0.5574 GB Notification: Performance of matching and sorting (n=409): time 0.01404/0.5423, allocations: 7.378 MB / 0.6787 GB, free: 84.3 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.5424, allocations: 0.7971 MB / 0.6795 GB, free: 83.36 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.5449, allocations: 3.122 MB / 0.6826 GB, free: 82.89 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.545, allocations: 68.77 kB / 0.6826 GB, free: 82.86 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009714/0.546, allocations: 2.077 MB / 0.6846 GB, free: 82.18 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/0.5466, allocations: 1.408 MB / 0.686 GB, free: 81.43 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/0.5474, allocations: 0.9709 MB / 0.687 GB, free: 81.32 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.84e-05/0.5475, allocations: 479.4 kB / 0.6874 GB, free: 80.86 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007731/0.5483, allocations: 0.6465 MB / 0.6881 GB, free: 80.81 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.5496, allocations: 3.055 MB / 0.691 GB, free: 77.86 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.5522, allocations: 3.652 MB / 0.6946 GB, free: 75.39 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.5522, allocations: 13.03 kB / 0.6946 GB, free: 75.39 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.004218/0.5564, allocations: 3.602 MB / 0.6981 GB, free: 75.01 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.5564, allocations: 24.41 kB / 0.6982 GB, free: 75.01 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002508/0.5589, allocations: 1.962 MB / 0.7001 GB, free: 74.88 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.5611, allocations: 0.8068 MB / 0.7009 GB, free: 74.86 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.563, allocations: 1.116 MB / 0.702 GB, free: 74.86 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.5642, allocations: 3.091 MB / 0.705 GB, free: 72.13 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.5654, allocations: 205.1 kB / 0.7052 GB, free: 72.12 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.5656, allocations: 248.1 kB / 0.7054 GB, free: 72.12 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001207/0.5668, allocations: 0.8062 MB / 0.7062 GB, free: 71.93 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001464/0.5683, allocations: 3.041 MB / 0.7092 GB, free: 68.76 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002595/0.5709, allocations: 3.634 MB / 0.7127 GB, free: 66.15 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.861e-05/0.5709, allocations: 13 kB / 0.7127 GB, free: 66.15 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.003795/0.5747, allocations: 3.533 MB / 0.7162 GB, free: 65.38 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5747, allocations: 23.38 kB / 0.7162 GB, free: 65.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001997/0.5767, allocations: 1.893 MB / 0.718 GB, free: 64.96 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.5769, allocations: 174.5 kB / 0.7182 GB, free: 64.92 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.5786, allocations: 1.154 MB / 0.7193 GB, free: 64.73 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.5798, allocations: 4.116 MB / 0.7234 GB, free: 60.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.5809, allocations: 194.5 kB / 0.7235 GB, free: 60.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.5811, allocations: 247.6 kB / 0.7238 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.0006589/0.5818, allocations: 0.545 MB / 0.7243 GB, free: 60.44 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.5823, allocations: 0.5006 MB / 0.7248 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.003394/0.5857, allocations: 3.851 MB / 0.7286 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.3013257859274745]