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.008487/0.008487, allocations: 1.794 MB / 21.35 MB, free: 3.184 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.001212/0.001212, allocations: 87.64 kB / 25.15 MB, free: 7.477 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.0009467/0.0009467, allocations: 170.6 kB / 29.06 MB, free: 3.656 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.9251/0.9251, allocations: 177.1 MB / 210 MB, free: 3.602 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.6101/0.6101, allocations: 102.5 MB / 369.5 MB, free: 428 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.853e-06/1.853e-06, allocations: 0 / 470 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.024e-05, allocations: 3.188 kB / 470 MB, free: 18.98 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.1324/0.1324, allocations: 68.74 MB / 0.5261 GB, free: 3.188 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.1538, allocations: 17.29 MB / 0.543 GB, free: 1.848 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/0.1573, allocations: 111.2 kB / 0.5431 GB, free: 1.738 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.004328/0.1616, allocations: 1.778 MB / 0.5448 GB, free: 15.95 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006556/0.1682, allocations: 2.457 MB / 0.5472 GB, free: 13.48 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005932/0.1741, allocations: 2.988 MB / 0.5501 GB, free: 10.48 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.008531/0.1826, allocations: 6.345 MB / 0.5563 GB, free: 4.113 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003684/0.1863, allocations: 2.198 MB / 0.5585 GB, free: 1.855 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1124/0.2987, allocations: 48.79 MB / 0.6061 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.3022, allocations: 2.017 MB / 0.6081 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.3035, allocations: 372 kB / 0.6084 GB, free: 15.83 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.3071, allocations: 1.446 MB / 0.6098 GB, free: 14.38 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.3083, allocations: 1.202 MB / 0.611 GB, free: 13.18 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.002323/0.3106, allocations: 1.394 MB / 0.6124 GB, free: 11.78 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.007865/0.3185, allocations: 4.545 MB / 0.6168 GB, free: 7.215 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3185, allocations: 0 / 0.6168 GB, free: 7.215 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3185, allocations: 4 kB / 0.6168 GB, free: 7.211 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001597/0.3187, allocations: 0 / 0.6168 GB, free: 7.211 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.006502/0.3252, allocations: 5.292 MB / 0.622 GB, free: 1.844 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3252, allocations: 8.031 kB / 0.622 GB, free: 1.836 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.3263, allocations: 0.7785 MB / 0.6228 GB, free: 1.055 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.33, allocations: 2.791 MB / 0.6255 GB, free: 14.2 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3302, allocations: 213.8 kB / 0.6257 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.3305, allocations: 288 kB / 0.626 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00699/0.3374, allocations: 5.689 MB / 0.6315 GB, free: 6.887 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.333e-05/0.3375, allocations: 31.69 kB / 0.6316 GB, free: 6.855 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.3378, allocations: 132 kB / 0.6317 GB, free: 6.727 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/0.3378, allocations: 88 kB / 0.6318 GB, free: 6.641 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.3431, allocations: 2.579 MB / 0.6343 GB, free: 4.051 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2642/0.6073, allocations: 33.4 MB / 0.6669 GB, free: 84.7 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005814/0.6131, allocations: 2.589 MB / 0.6694 GB, free: 84.27 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.6142, allocations: 0.6877 MB / 0.6701 GB, free: 84.12 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.6144, allocations: 121.7 kB / 0.6702 GB, free: 84.12 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004669/0.6191, allocations: 2.092 MB / 0.6723 GB, free: 83.79 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=406): time 7.915e-06/0.6191, allocations: 3.812 kB / 0.6723 GB, free: 83.79 MB / 0.5574 GB Notification: Performance of matching and sorting (n=409): time 0.02179/0.6409, allocations: 18.03 MB / 0.6899 GB, free: 75.34 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.641, allocations: 0.7944 MB / 0.6906 GB, free: 74.4 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.6436, allocations: 3.172 MB / 0.6937 GB, free: 73.94 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.6437, allocations: 69.66 kB / 0.6938 GB, free: 73.91 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009456/0.6447, allocations: 2.026 MB / 0.6958 GB, free: 73.23 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007118/0.6454, allocations: 1.407 MB / 0.6972 GB, free: 72.47 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009154/0.6463, allocations: 0.946 MB / 0.6981 GB, free: 72.37 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.6463, allocations: 484.8 kB / 0.6985 GB, free: 71.89 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.6475, allocations: 0.8107 MB / 0.6993 GB, free: 71.85 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.6494, allocations: 3.186 MB / 0.7025 GB, free: 68.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.6528, allocations: 3.926 MB / 0.7063 GB, free: 66.43 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.6528, allocations: 12.97 kB / 0.7063 GB, free: 66.43 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.005216/0.658, allocations: 3.948 MB / 0.7102 GB, free: 66.05 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.6581, allocations: 28.41 kB / 0.7102 GB, free: 66.05 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003093/0.6612, allocations: 2.217 MB / 0.7123 GB, free: 65.93 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.6636, allocations: 0.8204 MB / 0.7131 GB, free: 65.91 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.6657, allocations: 1.113 MB / 0.7142 GB, free: 65.91 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.6674, allocations: 3.137 MB / 0.7173 GB, free: 63.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.6688, allocations: 202.2 kB / 0.7175 GB, free: 63.07 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/0.6691, allocations: 289.8 kB / 0.7178 GB, free: 63.03 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001925/0.6711, allocations: 0.9603 MB / 0.7187 GB, free: 62.75 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002182/0.6733, allocations: 3.176 MB / 0.7218 GB, free: 59.58 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003154/0.6764, allocations: 3.895 MB / 0.7256 GB, free: 56.92 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.504e-05/0.6764, allocations: 15.69 kB / 0.7256 GB, free: 56.92 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.00422/0.6806, allocations: 3.881 MB / 0.7294 GB, free: 55.63 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6807, allocations: 23.94 kB / 0.7294 GB, free: 55.63 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002548/0.6832, allocations: 2.143 MB / 0.7315 GB, free: 54.85 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.6835, allocations: 182.2 kB / 0.7317 GB, free: 54.79 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.6852, allocations: 1.154 MB / 0.7328 GB, free: 54.56 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.6865, allocations: 4.169 MB / 0.7369 GB, free: 50.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.6876, allocations: 192.7 kB / 0.7371 GB, free: 50.36 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.6879, allocations: 284.6 kB / 0.7374 GB, free: 50.28 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,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.0006948/0.6886, allocations: 0.5479 MB / 0.7379 GB, free: 49.89 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/0.6891, allocations: 0.5053 MB / 0.7384 GB, free: 49.61 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.003527/0.6926, allocations: 3.975 MB / 0.7423 GB, free: 47.78 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4024138497188687]