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.01313/0.01313, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.001314/0.001314, allocations: 85.48 kB / 25.61 MB, free: 6.977 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.001848/0.001848, allocations: 168.9 kB / 29.46 MB, free: 3.18 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.009/1.009, allocations: 177.2 MB / 210.4 MB, free: 3.57 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.6114/0.6114, allocations: 102.4 MB / 369.8 MB, free: 372 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.833e-06/1.833e-06, allocations: 2.906 kB / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.476e-05, allocations: 3.969 kB / 469.9 MB, free: 19.01 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.1124/0.1124, allocations: 68.62 MB / 0.5259 GB, free: 3.656 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.1313, allocations: 17.26 MB / 0.5427 GB, free: 2.348 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.1327, allocations: 111.2 kB / 0.5428 GB, free: 2.238 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.003193/0.1359, allocations: 1.762 MB / 0.5445 GB, free: 476 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.1397, allocations: 2.441 MB / 0.5469 GB, free: 14.01 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.1441, allocations: 2.973 MB / 0.5498 GB, free: 11.03 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004601/0.1487, allocations: 6.349 MB / 0.556 GB, free: 4.652 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.151, allocations: 2.198 MB / 0.5582 GB, free: 2.395 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.1538, allocations: 3.472 MB / 0.5616 GB, free: 14.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.1559, allocations: 2.132 MB / 0.5637 GB, free: 12.78 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.1563, allocations: 428 kB / 0.5641 GB, free: 12.36 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.1585, allocations: 1.618 MB / 0.5656 GB, free: 10.74 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007379/0.1593, allocations: 1.323 MB / 0.5669 GB, free: 9.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.1604, allocations: 1.492 MB / 0.5684 GB, free: 7.914 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.1652, allocations: 4.783 MB / 0.5731 GB, free: 3.113 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1652, allocations: 0 / 0.5731 GB, free: 3.113 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1652, allocations: 4 kB / 0.5731 GB, free: 3.109 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.514e-05/0.1653, allocations: 0 / 0.5731 GB, free: 3.109 MB / 490.8 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.005433/0.1707, allocations: 5.561 MB / 0.5785 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1707, allocations: 12.03 kB / 0.5785 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.1719, allocations: 0.8838 MB / 0.5794 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.1757, allocations: 3.618 MB / 0.5829 GB, free: 8.895 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.1758, allocations: 213.8 kB / 0.5831 GB, free: 8.684 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.1761, allocations: 288 kB / 0.5834 GB, free: 8.402 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006779/0.1828, allocations: 5.678 MB / 0.5889 GB, free: 1.598 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.09e-05/0.1829, allocations: 39.69 kB / 0.589 GB, free: 1.559 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.1831, allocations: 140 kB / 0.5891 GB, free: 1.422 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.1832, allocations: 88 kB / 0.5892 GB, free: 1.336 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004817/0.188, allocations: 2.568 MB / 0.5917 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.2038, allocations: 33.39 MB / 0.6243 GB, free: 12.26 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.2084, allocations: 2.598 MB / 0.6268 GB, free: 9.508 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000849/0.2092, allocations: 0.6763 MB / 0.6275 GB, free: 8.781 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.2094, allocations: 125.9 kB / 0.6276 GB, free: 8.66 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003672/0.2131, allocations: 2.082 MB / 0.6297 GB, free: 6.484 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=406): time 3.877e-06/0.2131, allocations: 0 / 0.6297 GB, free: 6.484 MB / 0.5418 GB Notification: Performance of matching and sorting (n=409): time 0.02517/0.2383, allocations: 18 MB / 0.6472 GB, free: 4.309 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000469/0.2387, allocations: 0.6685 MB / 0.6479 GB, free: 3.488 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.2426, allocations: 3.226 MB / 0.651 GB, free: 248 kB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.2428, allocations: 66.2 kB / 0.6511 GB, free: 176 kB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.1807/0.4234, allocations: 2.036 MB / 0.6531 GB, free: 154.6 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.4244, allocations: 1.4 MB / 0.6545 GB, free: 154.1 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008058/0.4252, allocations: 0.9425 MB / 0.6554 GB, free: 154 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.4253, allocations: 482.5 kB / 0.6558 GB, free: 153.5 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.4264, allocations: 0.8043 MB / 0.6566 GB, free: 153.4 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.428, allocations: 3.017 MB / 0.6596 GB, free: 150.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.431, allocations: 3.917 MB / 0.6634 GB, free: 147.3 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.431, allocations: 17.41 kB / 0.6634 GB, free: 147.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.004756/0.4358, allocations: 3.938 MB / 0.6673 GB, free: 146.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4358, allocations: 24.94 kB / 0.6673 GB, free: 146.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002977/0.4388, allocations: 2.215 MB / 0.6694 GB, free: 145.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/0.4411, allocations: 0.8251 MB / 0.6702 GB, free: 145.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.4429, allocations: 1.112 MB / 0.6713 GB, free: 145.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.4444, allocations: 3.133 MB / 0.6744 GB, free: 142.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4457, allocations: 195.2 kB / 0.6746 GB, free: 142.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/0.446, allocations: 290.7 kB / 0.6749 GB, free: 142.5 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001641/0.4476, allocations: 0.9607 MB / 0.6758 GB, free: 142.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001772/0.4494, allocations: 3.006 MB / 0.6787 GB, free: 139.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003114/0.4525, allocations: 3.903 MB / 0.6825 GB, free: 136.1 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.526e-05/0.4525, allocations: 11.5 kB / 0.6826 GB, free: 136.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.004961/0.4575, allocations: 3.867 MB / 0.6863 GB, free: 134.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4575, allocations: 30.77 kB / 0.6864 GB, free: 134.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003146/0.4607, allocations: 2.133 MB / 0.6884 GB, free: 134.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.4609, allocations: 184.3 kB / 0.6886 GB, free: 134.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.4629, allocations: 1.146 MB / 0.6897 GB, free: 134.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.4643, allocations: 4.164 MB / 0.6938 GB, free: 130.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.4655, allocations: 197 kB / 0.694 GB, free: 130.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.4658, allocations: 283.2 kB / 0.6943 GB, free: 130.1 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.0007025/0.4665, allocations: 0.5457 MB / 0.6948 GB, free: 129.6 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/0.4671, allocations: 0.5011 MB / 0.6953 GB, free: 129.3 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.004391/0.4715, allocations: 3.976 MB / 0.6992 GB, free: 128.1 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1848597878124565]