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.01669/0.01669, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001937/0.001937, allocations: 83.23 kB / 24.02 MB, free: 2.59 MB / 14.72 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.002501/0.002501, allocations: 154.7 kB / 27.71 MB, free: 3.844 MB / 19.63 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.597/1.597, allocations: 177.1 MB / 208.4 MB, free: 7.672 MB / 190.1 MB " [Timeout remaining time 178] 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 1.082/1.082, allocations: 102.5 MB / 367.7 MB, free: 4.59 MB / 334.1 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 0.3.1 (/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.774e-06/1.774e-06, allocations: 0 / 0.5364 GB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.99e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.105 MB / 446.1 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.1845/0.1845, allocations: 64.1 MB / 0.599 GB, free: 9.512 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03394/0.2185, allocations: 16.58 MB / 0.6152 GB, free: 8.879 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/0.223, allocations: 111.2 kB / 0.6153 GB, free: 8.77 MB / 0.5138 GB [/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.006711/0.2297, allocations: 1.774 MB / 0.6171 GB, free: 6.984 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.009124/0.2388, allocations: 2.437 MB / 0.6194 GB, free: 4.531 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.00896/0.2478, allocations: 2.984 MB / 0.6224 GB, free: 1.539 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.26, allocations: 6.352 MB / 0.6286 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007119/0.2671, allocations: 2.103 MB / 0.6306 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.2795, allocations: 3.468 MB / 0.634 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005459/0.2849, allocations: 2.126 MB / 0.6361 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.287, allocations: 432 kB / 0.6365 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005577/0.2925, allocations: 1.618 MB / 0.6381 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002499/0.295, allocations: 1.319 MB / 0.6394 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004385/0.2994, allocations: 1.488 MB / 0.6408 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.3137, allocations: 7.098 MB / 0.6477 GB, free: 7.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3137, allocations: 7.875 kB / 0.6478 GB, free: 7.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3137, allocations: 0 / 0.6478 GB, free: 7.398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003024/0.314, allocations: 0 / 0.6478 GB, free: 7.398 MB / 0.545 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.01621/0.3302, allocations: 5.354 MB / 0.653 GB, free: 1.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3302, allocations: 12.03 kB / 0.653 GB, free: 1.965 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.3331, allocations: 0.665 MB / 0.6536 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00946/0.3426, allocations: 3.844 MB / 0.6574 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.3429, allocations: 217.8 kB / 0.6576 GB, free: 13.18 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009304/0.3438, allocations: 280 kB / 0.6579 GB, free: 12.9 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.3602, allocations: 5.898 MB / 0.6636 GB, free: 6.141 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/0.3604, allocations: 35.69 kB / 0.6637 GB, free: 6.105 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008951/0.3612, allocations: 132 kB / 0.6638 GB, free: 5.977 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.3614, allocations: 92 kB / 0.6639 GB, free: 5.887 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.3736, allocations: 3.683 MB / 0.6675 GB, free: 2.195 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/0.4089, allocations: 24.23 MB / 0.6911 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009513/0.4184, allocations: 3.033 MB / 0.6941 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.4209, allocations: 1.01 MB / 0.6951 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004111/0.4213, allocations: 113.8 kB / 0.6952 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008069/0.4294, allocations: 2.505 MB / 0.6976 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=406): time 1.289e-05/0.4294, allocations: 0 / 0.6976 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=409): time 0.4141/0.8435, allocations: 19.96 MB / 0.7171 GB, free: 122.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002295/0.8437, allocations: 0.6644 MB / 0.7178 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006072/0.8498, allocations: 3.482 MB / 0.7212 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008586/0.8506, allocations: 65.17 kB / 0.7212 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.8519, allocations: 1.913 MB / 0.7231 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/0.8533, allocations: 1.381 MB / 0.7245 GB, free: 117.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/0.8547, allocations: 0.8945 MB / 0.7253 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.8547, allocations: 304.3 kB / 0.7256 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.8574, allocations: 1.398 MB / 0.727 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/0.8604, allocations: 2.997 MB / 0.7299 GB, free: 114 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005754/0.8662, allocations: 4.527 MB / 0.7343 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.8662, allocations: 16.66 kB / 0.7343 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.009038/0.8752, allocations: 4.908 MB / 0.7391 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.8753, allocations: 25.88 kB / 0.7392 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00535/0.8806, allocations: 3.224 MB / 0.7423 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005431/0.886, allocations: 1.11 MB / 0.7434 GB, free: 103.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.8897, allocations: 1.127 MB / 0.7445 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.8924, allocations: 2.503 MB / 0.7469 GB, free: 99.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/0.8963, allocations: 220.9 kB / 0.7472 GB, free: 99.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000856/0.8971, allocations: 287.8 kB / 0.7474 GB, free: 99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005163/0.9023, allocations: 2.077 MB / 0.7495 GB, free: 96.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00366/0.906, allocations: 2.976 MB / 0.7524 GB, free: 93.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006177/0.9121, allocations: 4.479 MB / 0.7567 GB, free: 88.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.159e-05/0.9122, allocations: 16 kB / 0.7568 GB, free: 88.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.0101/0.9223, allocations: 4.774 MB / 0.7614 GB, free: 83.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.9223, allocations: 25.25 kB / 0.7614 GB, free: 83.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005911/0.9282, allocations: 3.104 MB / 0.7645 GB, free: 80.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.9287, allocations: 200 kB / 0.7647 GB, free: 80.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.9321, allocations: 1.157 MB / 0.7658 GB, free: 78.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.9346, allocations: 3.148 MB / 0.7689 GB, free: 75.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.938, allocations: 209.5 kB / 0.7691 GB, free: 75.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007193/0.9387, allocations: 279.8 kB / 0.7693 GB, free: 75.09 MB / 0.5919 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.001964/0.9407, allocations: 479.1 kB / 0.7698 GB, free: 74.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00187/0.9426, allocations: 448.9 kB / 0.7702 GB, free: 74.2 MB / 0.5919 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.008606/0.9512, allocations: 4.365 MB / 0.7745 GB, free: 70.11 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.054322715848684] Failed to read output from testmodel.py, exit status != 0: 1.1394248604774475 1.158406407 0.841094773 Calling exit ...