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.008231/0.008231, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0006931/0.0006931, allocations: 88.62 kB / 25.15 MB, free: 6.316 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.000834/0.000834, allocations: 163.2 kB / 29.05 MB, free: 3.352 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.9781/0.9781, allocations: 177.1 MB / 210 MB, free: 3.605 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.6071/0.6071, allocations: 102.4 MB / 369.5 MB, free: 384 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.523e-06/1.523e-06, allocations: 0 / 469.9 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.952e-05, allocations: 2.969 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.1376/0.1376, allocations: 68.74 MB / 0.5261 GB, free: 3.188 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02077/0.1584, allocations: 17.29 MB / 0.5429 GB, free: 1.848 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.1615, allocations: 107.2 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.004059/0.1656, allocations: 1.77 MB / 0.5448 GB, free: 15.96 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.1711, allocations: 2.441 MB / 0.5472 GB, free: 13.5 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006415/0.1775, allocations: 2.981 MB / 0.5501 GB, free: 10.52 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.009202/0.1867, allocations: 6.351 MB / 0.5563 GB, free: 4.145 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.1905, allocations: 2.202 MB / 0.5584 GB, free: 1.883 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005452/0.1959, allocations: 3.476 MB / 0.5618 GB, free: 14.4 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/0.1994, allocations: 2.121 MB / 0.5639 GB, free: 12.27 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.2006, allocations: 428 kB / 0.5643 GB, free: 11.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.2041, allocations: 1.622 MB / 0.5659 GB, free: 10.23 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.2055, allocations: 1.327 MB / 0.5672 GB, free: 8.898 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002645/0.2082, allocations: 1.492 MB / 0.5686 GB, free: 7.402 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008689/0.2169, allocations: 4.783 MB / 0.5733 GB, free: 2.602 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2169, allocations: 0 / 0.5733 GB, free: 2.602 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2169, allocations: 0 / 0.5733 GB, free: 2.602 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001934/0.2171, allocations: 0 / 0.5733 GB, free: 2.602 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.007896/0.225, allocations: 5.557 MB / 0.5787 GB, free: 12.97 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.225, allocations: 12.03 kB / 0.5787 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.2265, allocations: 0.8799 MB / 0.5796 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005491/0.232, allocations: 3.637 MB / 0.5831 GB, free: 8.375 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.2321, allocations: 217.8 kB / 0.5834 GB, free: 8.16 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.2325, allocations: 288 kB / 0.5836 GB, free: 7.879 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006889/0.2394, allocations: 5.678 MB / 0.5892 GB, free: 1.074 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.375e-05/0.2395, allocations: 35.67 kB / 0.5892 GB, free: 1.039 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.2397, allocations: 136 kB / 0.5893 GB, free: 0.9062 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/0.2397, allocations: 92 kB / 0.5894 GB, free: 0.8164 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/0.2445, allocations: 2.579 MB / 0.5919 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.2634, allocations: 33.39 MB / 0.6246 GB, free: 11.73 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/0.2682, allocations: 2.582 MB / 0.6271 GB, free: 8.992 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.2692, allocations: 0.6913 MB / 0.6277 GB, free: 8.25 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.2695, allocations: 125.9 kB / 0.6279 GB, free: 8.129 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003692/0.2731, allocations: 2.086 MB / 0.6299 GB, free: 5.949 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=406): time 5.4e-06/0.2732, allocations: 3.938 kB / 0.6299 GB, free: 5.945 MB / 0.5418 GB Notification: Performance of matching and sorting (n=409): time 0.02358/0.2967, allocations: 17.99 MB / 0.6475 GB, free: 3.781 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.2969, allocations: 0.6646 MB / 0.6481 GB, free: 2.965 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2101/0.5071, allocations: 3.222 MB / 0.6513 GB, free: 110 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004748/0.5076, allocations: 65.53 kB / 0.6513 GB, free: 110 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.5091, allocations: 2.04 MB / 0.6533 GB, free: 109.8 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009394/0.51, allocations: 1.405 MB / 0.6547 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.5111, allocations: 0.9382 MB / 0.6556 GB, free: 109.1 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.5111, allocations: 483.8 kB / 0.6561 GB, free: 108.7 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5124, allocations: 0.8026 MB / 0.6569 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.5142, allocations: 3.017 MB / 0.6598 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.5177, allocations: 3.914 MB / 0.6636 GB, free: 103.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/0.5177, allocations: 14 kB / 0.6636 GB, free: 103.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.005711/0.5234, allocations: 3.948 MB / 0.6675 GB, free: 103.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.5234, allocations: 23.66 kB / 0.6675 GB, free: 103.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0032/0.5266, allocations: 2.208 MB / 0.6697 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/0.5289, allocations: 0.8259 MB / 0.6705 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.5308, allocations: 1.11 MB / 0.6716 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5324, allocations: 3.142 MB / 0.6746 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.5343, allocations: 204.1 kB / 0.6748 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.5345, allocations: 286.1 kB / 0.6751 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001827/0.5364, allocations: 0.9532 MB / 0.676 GB, free: 100 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001963/0.5383, allocations: 3.009 MB / 0.679 GB, free: 97.27 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003613/0.542, allocations: 3.896 MB / 0.6828 GB, free: 94.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.969e-05/0.542, allocations: 11.06 kB / 0.6828 GB, free: 94.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.005881/0.5479, allocations: 3.872 MB / 0.6866 GB, free: 94.42 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.5479, allocations: 26.31 kB / 0.6866 GB, free: 94.42 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003383/0.5513, allocations: 2.128 MB / 0.6887 GB, free: 94.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/0.5516, allocations: 182.9 kB / 0.6889 GB, free: 94.28 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.5539, allocations: 1.145 MB / 0.69 GB, free: 94.28 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.5556, allocations: 4.162 MB / 0.694 GB, free: 90.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.5575, allocations: 191 kB / 0.6942 GB, free: 90.37 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003632/0.5579, allocations: 287.4 kB / 0.6945 GB, free: 90.37 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.0009419/0.5588, allocations: 0.5483 MB / 0.695 GB, free: 90.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/0.5597, allocations: 0.5036 MB / 0.6955 GB, free: 89.84 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.004811/0.5645, allocations: 3.973 MB / 0.6994 GB, free: 89.46 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.246574757155031]