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.01277/0.01277, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.001024/0.001024, allocations: 78.2 kB / 26.19 MB, free: 6.078 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.001199/0.001199, allocations: 168.6 kB / 30.12 MB, free: 2.184 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.95/0.95, allocations: 177.2 MB / 211.1 MB, free: 3.461 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.5979/0.5979, allocations: 102.5 MB / 370.7 MB, free: 188 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.523e-06/1.523e-06, allocations: 0 / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.901e-05, allocations: 4.547 kB / 471.2 MB, free: 18.81 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.1416/0.1416, allocations: 68.22 MB / 0.5268 GB, free: 3.398 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02048/0.1621, allocations: 17.2 MB / 0.5436 GB, free: 2.152 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/0.165, allocations: 111.2 kB / 0.5437 GB, free: 2.043 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.004059/0.1691, allocations: 1.762 MB / 0.5454 GB, free: 276 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.1744, allocations: 2.461 MB / 0.5478 GB, free: 13.79 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005259/0.1796, allocations: 2.988 MB / 0.5508 GB, free: 10.8 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007398/0.187, allocations: 6.337 MB / 0.557 GB, free: 4.438 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003563/0.1906, allocations: 2.202 MB / 0.5591 GB, free: 2.176 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1262/0.3168, allocations: 48.8 MB / 0.6068 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.3198, allocations: 2.013 MB / 0.6087 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009603/0.3208, allocations: 372 kB / 0.6091 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.3238, allocations: 1.454 MB / 0.6105 GB, free: 14.71 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009792/0.3248, allocations: 1.198 MB / 0.6117 GB, free: 13.5 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.3268, allocations: 1.394 MB / 0.613 GB, free: 12.11 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.006498/0.3333, allocations: 4.537 MB / 0.6175 GB, free: 7.551 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3333, allocations: 0 / 0.6175 GB, free: 7.551 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3333, allocations: 0 / 0.6175 GB, free: 7.551 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001556/0.3335, allocations: 8 kB / 0.6175 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.005959/0.3394, allocations: 5.342 MB / 0.6227 GB, free: 2.125 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3395, allocations: 8.031 kB / 0.6227 GB, free: 2.117 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.3406, allocations: 0.7746 MB / 0.6234 GB, free: 1.34 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.344, allocations: 2.756 MB / 0.6261 GB, free: 14.52 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.3441, allocations: 217.8 kB / 0.6263 GB, free: 14.3 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.3444, allocations: 299.9 kB / 0.6266 GB, free: 14.01 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00587/0.3503, allocations: 5.47 MB / 0.632 GB, free: 7.41 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.015e-05/0.3503, allocations: 31.69 kB / 0.632 GB, free: 7.379 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.3505, allocations: 136 kB / 0.6321 GB, free: 7.246 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.3506, allocations: 95.98 kB / 0.6322 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003851/0.3544, allocations: 2.305 MB / 0.6345 GB, free: 4.828 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2105/0.5649, allocations: 32.84 MB / 0.6665 GB, free: 85.72 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.5688, allocations: 2.422 MB / 0.6689 GB, free: 85.29 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.5695, allocations: 0.5805 MB / 0.6695 GB, free: 85.14 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.5697, allocations: 125.5 kB / 0.6696 GB, free: 85.13 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003091/0.5728, allocations: 1.98 MB / 0.6715 GB, free: 84.8 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=406): time 6.642e-06/0.5728, allocations: 0 / 0.6715 GB, free: 84.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=409): time 0.01528/0.588, allocations: 7.376 MB / 0.6787 GB, free: 84.33 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5882, allocations: 0.7923 MB / 0.6795 GB, free: 83.39 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.5906, allocations: 3.129 MB / 0.6826 GB, free: 82.93 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003787/0.591, allocations: 67.95 kB / 0.6826 GB, free: 82.89 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009573/0.592, allocations: 2.078 MB / 0.6847 GB, free: 82.21 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009773/0.5929, allocations: 1.414 MB / 0.686 GB, free: 81.46 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008672/0.5938, allocations: 0.9684 MB / 0.687 GB, free: 81.36 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.5939, allocations: 479.9 kB / 0.6874 GB, free: 80.89 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008123/0.5947, allocations: 0.6492 MB / 0.6881 GB, free: 80.84 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.5962, allocations: 3.048 MB / 0.6911 GB, free: 77.89 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.5991, allocations: 3.657 MB / 0.6946 GB, free: 75.43 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/0.5991, allocations: 15.8 kB / 0.6946 GB, free: 75.43 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.005493/0.6046, allocations: 3.6 MB / 0.6982 GB, free: 75.04 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.6047, allocations: 24.59 kB / 0.6982 GB, free: 75.04 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002559/0.6072, allocations: 1.957 MB / 0.7001 GB, free: 74.91 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.6095, allocations: 0.8156 MB / 0.7009 GB, free: 74.89 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.6115, allocations: 1.115 MB / 0.702 GB, free: 74.89 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.613, allocations: 3.096 MB / 0.705 GB, free: 72.16 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.615, allocations: 197.9 kB / 0.7052 GB, free: 72.15 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/0.6154, allocations: 250 kB / 0.7054 GB, free: 72.15 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00174/0.6171, allocations: 0.8051 MB / 0.7062 GB, free: 71.93 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001632/0.6187, allocations: 3.039 MB / 0.7092 GB, free: 68.77 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002956/0.6217, allocations: 3.632 MB / 0.7127 GB, free: 66.15 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-05/0.6217, allocations: 12.38 kB / 0.7127 GB, free: 66.15 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.004759/0.6265, allocations: 3.534 MB / 0.7162 GB, free: 65.38 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.6265, allocations: 24.44 kB / 0.7162 GB, free: 65.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002214/0.6287, allocations: 1.887 MB / 0.7181 GB, free: 64.96 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.629, allocations: 180.3 kB / 0.7182 GB, free: 64.92 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.6309, allocations: 1.141 MB / 0.7193 GB, free: 64.74 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.6324, allocations: 4.125 MB / 0.7234 GB, free: 60.78 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.6344, allocations: 196.5 kB / 0.7236 GB, free: 60.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/0.6347, 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.001064/0.6357, allocations: 0.5458 MB / 0.7243 GB, free: 60.44 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000898/0.6366, allocations: 0.5007 MB / 0.7248 GB, free: 60.19 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.004253/0.6409, allocations: 3.857 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.255136908032]