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.01297/0.01297, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.0008355/0.0008355, allocations: 89.34 kB / 25.41 MB, free: 6.496 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.0009276/0.0009276, allocations: 164.9 kB / 29.34 MB, free: 2.969 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.005/1.005, allocations: 177.2 MB / 210.3 MB, free: 3.438 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.6774/0.6774, allocations: 102.4 MB / 369.9 MB, free: 228 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.843e-06/1.843e-06, allocations: 0 / 470.5 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.767e-05, allocations: 2.969 kB / 470.5 MB, free: 18.84 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.1202/0.1202, allocations: 68.24 MB / 0.5261 GB, free: 3.363 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02129/0.1415, allocations: 17.2 MB / 0.5429 GB, free: 2.117 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.1453, allocations: 115.1 kB / 0.543 GB, free: 2.004 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.004728/0.15, allocations: 1.766 MB / 0.5447 GB, free: 232 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.1566, allocations: 2.457 MB / 0.5471 GB, free: 13.75 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006015/0.1626, allocations: 2.973 MB / 0.55 GB, free: 10.77 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.008063/0.1706, allocations: 6.345 MB / 0.5562 GB, free: 4.406 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/0.1746, allocations: 2.198 MB / 0.5583 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1165/0.2911, allocations: 48.79 MB / 0.606 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00439/0.2955, allocations: 2.017 MB / 0.608 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.2965, allocations: 376 kB / 0.6083 GB, free: 140 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.2998, allocations: 1.454 MB / 0.6097 GB, free: 14.68 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008751/0.3007, allocations: 1.198 MB / 0.6109 GB, free: 13.48 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.3029, allocations: 1.398 MB / 0.6123 GB, free: 12.07 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00774/0.3106, allocations: 4.533 MB / 0.6167 GB, free: 7.523 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3106, allocations: 8 kB / 0.6167 GB, free: 7.516 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3106, allocations: 0 / 0.6167 GB, free: 7.516 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001218/0.3107, allocations: 0 / 0.6167 GB, free: 7.516 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.005647/0.3164, allocations: 5.334 MB / 0.6219 GB, free: 2.105 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3164, allocations: 12.03 kB / 0.6219 GB, free: 2.094 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.3173, allocations: 0.7824 MB / 0.6227 GB, free: 1.309 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.3203, allocations: 2.768 MB / 0.6254 GB, free: 14.47 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.3204, allocations: 213.8 kB / 0.6256 GB, free: 14.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.3207, allocations: 291.9 kB / 0.6259 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005557/0.3263, allocations: 5.466 MB / 0.6312 GB, free: 7.383 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.3263, allocations: 43.67 kB / 0.6313 GB, free: 7.34 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.3265, allocations: 136 kB / 0.6314 GB, free: 7.207 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.3265, allocations: 88 kB / 0.6315 GB, free: 7.121 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.3303, allocations: 2.302 MB / 0.6337 GB, free: 4.801 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2755/0.6058, allocations: 32.85 MB / 0.6658 GB, free: 85.71 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.6096, allocations: 2.416 MB / 0.6682 GB, free: 85.27 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006071/0.6102, allocations: 0.5795 MB / 0.6687 GB, free: 85.12 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.6105, allocations: 195.1 kB / 0.6689 GB, free: 85.12 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003031/0.6135, allocations: 1.975 MB / 0.6708 GB, free: 84.79 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=406): time 7.855e-06/0.6135, allocations: 0 / 0.6708 GB, free: 84.79 MB / 0.5574 GB Notification: Performance of matching and sorting (n=409): time 0.01545/0.629, allocations: 7.425 MB / 0.6781 GB, free: 84.31 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.6291, allocations: 0.7941 MB / 0.6789 GB, free: 83.37 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.6319, allocations: 3.124 MB / 0.6819 GB, free: 82.91 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/0.6322, allocations: 66.08 kB / 0.682 GB, free: 82.88 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.6333, allocations: 2.077 MB / 0.684 GB, free: 82.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008974/0.6342, allocations: 1.412 MB / 0.6854 GB, free: 81.44 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009866/0.6352, allocations: 0.9673 MB / 0.6863 GB, free: 81.34 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.6352, allocations: 479.4 kB / 0.6868 GB, free: 80.87 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008942/0.6361, allocations: 0.6454 MB / 0.6874 GB, free: 80.83 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.6377, allocations: 3.051 MB / 0.6904 GB, free: 77.88 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.6407, allocations: 3.666 MB / 0.694 GB, free: 75.41 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/0.6408, allocations: 12.5 kB / 0.694 GB, free: 75.41 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.005624/0.6464, allocations: 3.613 MB / 0.6975 GB, free: 75.02 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.6464, allocations: 26.31 kB / 0.6975 GB, free: 75.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002905/0.6493, allocations: 1.964 MB / 0.6995 GB, free: 74.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.6516, allocations: 0.8197 MB / 0.7003 GB, free: 74.88 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.6537, allocations: 1.109 MB / 0.7014 GB, free: 74.88 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.6554, allocations: 3.096 MB / 0.7044 GB, free: 72.15 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.6581, allocations: 197.8 kB / 0.7046 GB, free: 72.14 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005086/0.6586, allocations: 251.2 kB / 0.7048 GB, free: 72.14 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002193/0.6608, allocations: 0.8038 MB / 0.7056 GB, free: 71.94 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001984/0.6628, allocations: 3.04 MB / 0.7086 GB, free: 68.77 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003335/0.6661, allocations: 3.631 MB / 0.7121 GB, free: 66.16 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.611e-05/0.6662, allocations: 12.94 kB / 0.7121 GB, free: 66.16 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.005286/0.6714, allocations: 3.536 MB / 0.7156 GB, free: 65.39 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.6715, allocations: 24.53 kB / 0.7156 GB, free: 65.39 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002264/0.6737, allocations: 1.893 MB / 0.7174 GB, free: 64.97 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.674, allocations: 177.6 kB / 0.7176 GB, free: 64.93 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.6758, allocations: 1.143 MB / 0.7187 GB, free: 64.75 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.6775, allocations: 4.127 MB / 0.7228 GB, free: 60.79 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.6795, allocations: 202.9 kB / 0.7229 GB, free: 60.76 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.6797, allocations: 242.4 kB / 0.7232 GB, free: 60.72 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.001244/0.681, allocations: 0.5493 MB / 0.7237 GB, free: 60.45 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009557/0.6819, allocations: 0.494 MB / 0.7242 GB, free: 60.2 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.004407/0.6864, allocations: 3.847 MB / 0.728 GB, free: 58.89 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6145545709878206]