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.008226/0.008226, 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.0007979/0.0007979, allocations: 89.66 kB / 25.16 MB, free: 7.43 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.0008422/0.0008422, allocations: 164.4 kB / 29.06 MB, free: 3.641 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.8827/0.8827, allocations: 177.1 MB / 210 MB, free: 3.586 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.5693/0.5693, allocations: 102.4 MB / 369.5 MB, free: 364 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.432e-06/1.432e-06, allocations: 3.938 kB / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.852e-05, allocations: 4.906 kB / 469.9 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.1101/0.1101, allocations: 68.73 MB / 0.526 GB, free: 3.195 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02003/0.1301, allocations: 17.29 MB / 0.5429 GB, free: 1.855 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.1321, allocations: 115.1 kB / 0.543 GB, free: 1.742 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.002863/0.1349, allocations: 1.778 MB / 0.5448 GB, free: 15.95 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.1383, allocations: 2.453 MB / 0.5472 GB, free: 13.48 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.1426, allocations: 2.985 MB / 0.5501 GB, free: 10.49 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005169/0.1478, allocations: 6.344 MB / 0.5563 GB, free: 4.129 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.1498, allocations: 2.202 MB / 0.5584 GB, free: 1.867 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1103/0.2601, allocations: 48.8 MB / 0.6061 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.2629, allocations: 2.017 MB / 0.6081 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004929/0.2634, allocations: 376 kB / 0.6084 GB, free: 15.82 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.2658, allocations: 1.446 MB / 0.6098 GB, free: 14.38 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.2665, allocations: 1.198 MB / 0.611 GB, free: 13.18 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.2676, allocations: 1.398 MB / 0.6124 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004522/0.2722, allocations: 4.541 MB / 0.6168 GB, free: 7.215 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2722, allocations: 0 / 0.6168 GB, free: 7.215 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2722, allocations: 4 kB / 0.6168 GB, free: 7.211 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.923e-05/0.2722, 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.004619/0.2768, allocations: 5.285 MB / 0.622 GB, free: 1.852 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2769, allocations: 12.02 kB / 0.622 GB, free: 1.84 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.2776, allocations: 0.7824 MB / 0.6227 GB, free: 1.055 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.2803, allocations: 2.784 MB / 0.6255 GB, free: 14.2 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.2804, allocations: 220.6 kB / 0.6257 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.2807, allocations: 291.9 kB / 0.626 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/0.2865, allocations: 5.678 MB / 0.6315 GB, free: 6.895 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.076e-05/0.2865, allocations: 35.69 kB / 0.6315 GB, free: 6.859 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.2867, allocations: 132 kB / 0.6317 GB, free: 6.73 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/0.2868, allocations: 91.98 kB / 0.6317 GB, free: 6.641 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/0.2911, allocations: 2.583 MB / 0.6343 GB, free: 4.047 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1998/0.4909, allocations: 33.4 MB / 0.6669 GB, free: 84.82 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005422/0.4963, allocations: 2.587 MB / 0.6694 GB, free: 84.38 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009876/0.4973, allocations: 0.681 MB / 0.6701 GB, free: 84.23 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.4975, allocations: 127.6 kB / 0.6702 GB, free: 84.23 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004524/0.502, allocations: 2.09 MB / 0.6722 GB, free: 83.9 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=406): time 5.811e-06/0.502, allocations: 0 / 0.6722 GB, free: 83.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=409): time 0.02364/0.5257, allocations: 18.03 MB / 0.6899 GB, free: 75.46 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.5259, allocations: 0.7916 MB / 0.6906 GB, free: 74.52 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.5284, allocations: 3.173 MB / 0.6937 GB, free: 74.06 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.5285, allocations: 63.11 kB / 0.6938 GB, free: 74.03 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008904/0.5294, allocations: 2.04 MB / 0.6958 GB, free: 73.35 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000628/0.5301, allocations: 1.398 MB / 0.6971 GB, free: 72.59 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000916/0.531, allocations: 0.9527 MB / 0.6981 GB, free: 72.48 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.88e-05/0.531, allocations: 482.2 kB / 0.6985 GB, free: 72.01 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.5323, allocations: 0.8065 MB / 0.6993 GB, free: 71.97 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.5342, allocations: 3.191 MB / 0.7024 GB, free: 69.02 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/0.5378, allocations: 3.919 MB / 0.7063 GB, free: 66.55 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/0.5379, allocations: 12.41 kB / 0.7063 GB, free: 66.55 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.005313/0.5432, allocations: 3.953 MB / 0.7101 GB, free: 66.17 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.5432, allocations: 24.11 kB / 0.7102 GB, free: 66.17 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003221/0.5464, allocations: 2.224 MB / 0.7123 GB, free: 66.05 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/0.5486, allocations: 0.825 MB / 0.7131 GB, free: 66.02 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.5507, allocations: 1.121 MB / 0.7142 GB, free: 66.02 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.5521, allocations: 3.126 MB / 0.7173 GB, free: 63.21 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.5534, allocations: 198.9 kB / 0.7175 GB, free: 63.19 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/0.5537, allocations: 286.5 kB / 0.7177 GB, free: 63.15 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001994/0.5557, allocations: 0.9592 MB / 0.7187 GB, free: 62.87 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002296/0.558, allocations: 3.181 MB / 0.7218 GB, free: 59.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003893/0.5619, allocations: 3.898 MB / 0.7256 GB, free: 57.03 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.238e-05/0.5619, allocations: 12.91 kB / 0.7256 GB, free: 57.03 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.005752/0.5676, allocations: 3.886 MB / 0.7294 GB, free: 55.74 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.5677, allocations: 22.38 kB / 0.7294 GB, free: 55.74 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00356/0.5712, allocations: 2.144 MB / 0.7315 GB, free: 54.95 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.5715, allocations: 178.5 kB / 0.7317 GB, free: 54.89 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.5741, allocations: 1.151 MB / 0.7328 GB, free: 54.67 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.5757, allocations: 4.158 MB / 0.7369 GB, free: 50.57 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.5773, allocations: 202.2 kB / 0.7371 GB, free: 50.47 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003246/0.5776, allocations: 287.2 kB / 0.7373 GB, free: 50.39 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.0006988/0.5783, allocations: 0.5489 MB / 0.7379 GB, free: 50 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/0.579, allocations: 0.503 MB / 0.7384 GB, free: 49.72 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.004863/0.5839, allocations: 3.973 MB / 0.7422 GB, free: 47.89 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0668490333482623]