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.009883/0.009883, allocations: 1.795 MB / 21.89 MB, free: 2.637 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.0008281/0.0008281, allocations: 85.91 kB / 25.62 MB, free: 6.508 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.0009267/0.0009267, allocations: 164.9 kB / 29.46 MB, free: 3.023 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.8634/0.8634, allocations: 177.1 MB / 210.3 MB, free: 1.758 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.6927/0.6927, allocations: 102.5 MB / 369.8 MB, free: 0.9688 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.423e-06/1.423e-06, allocations: 0 / 469.9 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.169e-05, allocations: 7.938 kB / 469.9 MB, free: 13.01 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.4179/0.4179, allocations: 68.62 MB / 0.5259 GB, free: 57.44 MB / 490.9 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.433, allocations: 17.25 MB / 0.5427 GB, free: 46.44 MB / 490.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.4345, allocations: 114.6 kB / 0.5428 GB, free: 46.39 MB / 490.9 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.003122/0.4377, allocations: 1.759 MB / 0.5446 GB, free: 45.51 MB / 490.9 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.4409, allocations: 2.446 MB / 0.5469 GB, free: 43.95 MB / 490.9 MB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.4454, allocations: 2.97 MB / 0.5498 GB, free: 42.4 MB / 490.9 MB Notification: Performance of NFFlatten.flatten: time 0.005157/0.4506, allocations: 6.352 MB / 0.5561 GB, free: 39.16 MB / 490.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.4528, allocations: 2.194 MB / 0.5582 GB, free: 37.73 MB / 490.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.4566, allocations: 3.474 MB / 0.5616 GB, free: 36.19 MB / 490.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.4589, allocations: 2.13 MB / 0.5637 GB, free: 35.46 MB / 490.9 MB Notification: Performance of NFPackage.collectConstants: time 0.0005354/0.4594, allocations: 428 kB / 0.5641 GB, free: 35.46 MB / 490.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.4621, allocations: 1.621 MB / 0.5657 GB, free: 35.06 MB / 490.9 MB Notification: Performance of NFScalarize.scalarize: time 0.0008321/0.463, allocations: 1.324 MB / 0.5669 GB, free: 34.24 MB / 490.9 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.4644, allocations: 1.487 MB / 0.5684 GB, free: 33.52 MB / 490.9 MB Notification: Performance of NFConvertDAE.convert: time 0.004487/0.4688, allocations: 4.778 MB / 0.5731 GB, free: 30.8 MB / 490.9 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4689, allocations: 0 / 0.5731 GB, free: 30.8 MB / 490.9 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4689, allocations: 0.9375 kB / 0.5731 GB, free: 30.8 MB / 490.9 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.4689, allocations: 0 / 0.5731 GB, free: 30.8 MB / 490.9 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.005456/0.4743, allocations: 5.564 MB / 0.5785 GB, free: 26.77 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4744, allocations: 14.92 kB / 0.5785 GB, free: 26.76 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.4758, allocations: 0.8694 MB / 0.5794 GB, free: 26.32 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.4799, allocations: 3.62 MB / 0.5829 GB, free: 23.88 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.4801, allocations: 215.9 kB / 0.5831 GB, free: 23.78 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.4804, allocations: 289.8 kB / 0.5834 GB, free: 23.68 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/0.4875, allocations: 5.678 MB / 0.5889 GB, free: 18.66 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.4876, allocations: 33.84 kB / 0.589 GB, free: 18.64 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.4878, allocations: 133.4 kB / 0.5891 GB, free: 18.56 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.4879, allocations: 92.05 kB / 0.5892 GB, free: 18.55 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/0.4939, allocations: 2.58 MB / 0.5917 GB, free: 17.55 MB / 490.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.5083, allocations: 33.4 MB / 0.6243 GB, free: 1.711 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004288/0.5125, allocations: 2.586 MB / 0.6268 GB, free: 480 kB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/0.5134, allocations: 0.6831 MB / 0.6275 GB, free: 140 kB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.5136, allocations: 125 kB / 0.6276 GB, free: 108 kB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003648/0.5172, allocations: 2.092 MB / 0.6297 GB, free: 14.98 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=406): time 4.088e-06/0.5172, allocations: 0 / 0.6297 GB, free: 14.98 MB / 0.5107 GB Notification: Performance of matching and sorting (n=409): time 0.02088/0.5381, allocations: 18 MB / 0.6473 GB, free: 13.05 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/0.5383, allocations: 0.6684 MB / 0.6479 GB, free: 12.23 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.5411, allocations: 3.218 MB / 0.651 GB, free: 8.992 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.5413, allocations: 72.34 kB / 0.6511 GB, free: 8.918 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.5423, allocations: 2.033 MB / 0.6531 GB, free: 6.871 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007885/0.5431, allocations: 1.406 MB / 0.6545 GB, free: 5.453 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008743/0.544, allocations: 0.9411 MB / 0.6554 GB, free: 4.5 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.5441, allocations: 476.8 kB / 0.6558 GB, free: 4.031 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.5453, allocations: 0.8146 MB / 0.6566 GB, free: 3.211 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.5474, allocations: 3.015 MB / 0.6596 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/0.5511, allocations: 3.916 MB / 0.6634 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.5511, allocations: 12 kB / 0.6634 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.005084/0.5562, allocations: 3.956 MB / 0.6673 GB, free: 6.566 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.5564, allocations: 26.66 kB / 0.6673 GB, free: 6.543 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00313/0.5596, allocations: 2.205 MB / 0.6695 GB, free: 4.312 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.5618, allocations: 0.8241 MB / 0.6703 GB, free: 3.516 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.5637, allocations: 1.111 MB / 0.6714 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.5655, allocations: 3.133 MB / 0.6744 GB, free: 15.12 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.567, allocations: 199.6 kB / 0.6746 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.5673, allocations: 295.1 kB / 0.6749 GB, free: 14.65 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001651/0.5689, allocations: 0.9554 MB / 0.6758 GB, free: 13.68 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002193/0.5711, allocations: 3.004 MB / 0.6788 GB, free: 9.746 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003872/0.575, allocations: 3.891 MB / 0.6826 GB, free: 5.047 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.516e-05/0.575, allocations: 12 kB / 0.6826 GB, free: 5.035 MB / 0.5575 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.004872/0.5799, allocations: 3.881 MB / 0.6864 GB, free: 1.156 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5799, allocations: 24 kB / 0.6864 GB, free: 1.133 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003154/0.583, allocations: 2.125 MB / 0.6885 GB, free: 14.98 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.5833, allocations: 188.7 kB / 0.6886 GB, free: 14.8 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.5853, allocations: 1.146 MB / 0.6898 GB, free: 13.65 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.5871, allocations: 4.163 MB / 0.6938 GB, free: 9.254 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.5884, allocations: 195.7 kB / 0.694 GB, free: 9.062 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.5887, allocations: 279.8 kB / 0.6943 GB, free: 8.789 MB / 0.5732 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.000609/0.5893, allocations: 0.5433 MB / 0.6948 GB, free: 8.238 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/0.5899, allocations: 0.5086 MB / 0.6953 GB, free: 7.727 MB / 0.5732 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.004286/0.5942, allocations: 3.972 MB / 0.6992 GB, free: 3.945 MB / 0.5732 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1329608471132815]