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.02353/0.02353, allocations: 1.796 MB / 21.15 MB, free: 3.242 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.002211/0.002211, allocations: 77.72 kB / 24.88 MB, free: 6.824 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.002699/0.002699, allocations: 165.6 kB / 28.74 MB, free: 3.645 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.569/1.569, allocations: 177.1 MB / 209.6 MB, free: 2.391 MB / 186.7 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.203/1.203, allocations: 102.4 MB / 369.1 MB, free: 0.8867 MB / 330.8 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.753e-06/1.753e-06, allocations: 3.938 kB / 469.1 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.769e-05/3.944e-05, allocations: 6.25 kB / 469.1 MB, free: 12.98 MB / 442.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.431/0.431, allocations: 66.31 MB / 0.5229 GB, free: 72.09 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02562/0.4566, allocations: 17.17 MB / 0.5397 GB, free: 62.56 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005255/0.4619, allocations: 109.2 kB / 0.5398 GB, free: 62.51 MB / 490.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.005505/0.4674, allocations: 1.776 MB / 0.5415 GB, free: 61.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007932/0.4753, allocations: 2.433 MB / 0.5439 GB, free: 60.07 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007785/0.4831, allocations: 2.983 MB / 0.5468 GB, free: 58.51 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.4942, allocations: 6.344 MB / 0.553 GB, free: 55.27 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005082/0.4993, allocations: 2.192 MB / 0.5551 GB, free: 53.85 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.51, allocations: 3.481 MB / 0.5585 GB, free: 52.3 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006055/0.516, allocations: 2.122 MB / 0.5606 GB, free: 51.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/0.518, allocations: 428.4 kB / 0.561 GB, free: 51.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/0.5238, allocations: 1.623 MB / 0.5626 GB, free: 51.17 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00236/0.5261, allocations: 1.319 MB / 0.5639 GB, free: 50.37 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00471/0.5308, allocations: 1.49 MB / 0.5653 GB, free: 49.64 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.543, allocations: 7.136 MB / 0.5723 GB, free: 45.47 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.543, allocations: 0 / 0.5723 GB, free: 45.47 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.984e-06/0.543, allocations: 1.031 kB / 0.5723 GB, free: 45.47 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002324/0.5433, allocations: 0 / 0.5723 GB, free: 45.47 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.01112/0.5544, allocations: 5.972 MB / 0.5781 GB, free: 41.24 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5544, allocations: 9.938 kB / 0.5781 GB, free: 41.24 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.5566, allocations: 0.8792 MB / 0.579 GB, free: 40.79 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007067/0.5637, allocations: 3.642 MB / 0.5826 GB, free: 37.64 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.5638, allocations: 213.8 kB / 0.5828 GB, free: 37.43 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/0.5642, allocations: 288.1 kB / 0.583 GB, free: 37.15 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009944/0.5742, allocations: 6.736 MB / 0.5896 GB, free: 29.29 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.618e-05/0.5743, allocations: 35.64 kB / 0.5896 GB, free: 29.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.5745, allocations: 142.7 kB / 0.5898 GB, free: 29.11 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/0.5746, allocations: 88 kB / 0.5899 GB, free: 29.03 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007819/0.5824, allocations: 3.598 MB / 0.5934 GB, free: 25.43 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.6101, allocations: 35.56 MB / 0.6281 GB, free: 4.762 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009444/0.6196, allocations: 3.165 MB / 0.6312 GB, free: 1.473 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.622, allocations: 1.038 MB / 0.6322 GB, free: 396 kB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.6224, allocations: 125.9 kB / 0.6323 GB, free: 272 kB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00761/0.63, allocations: 2.78 MB / 0.635 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=406): time 6.502e-06/0.63, allocations: 0.8438 kB / 0.635 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=409): time 0.04488/0.6749, allocations: 20.2 MB / 0.6548 GB, free: 9.074 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005215/0.6754, allocations: 0.6646 MB / 0.6554 GB, free: 8.258 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007798/0.6832, allocations: 4.249 MB / 0.6596 GB, free: 3.988 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007573/0.684, allocations: 64.33 kB / 0.6596 GB, free: 3.922 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002671/0.6866, allocations: 2.229 MB / 0.6618 GB, free: 1.68 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002432/0.6891, allocations: 1.492 MB / 0.6633 GB, free: 180 kB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/0.6912, allocations: 1.097 MB / 0.6643 GB, free: 15.06 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.6914, allocations: 480.7 kB / 0.6648 GB, free: 14.59 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/0.6943, allocations: 1.391 MB / 0.6662 GB, free: 13.19 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005379/0.6997, allocations: 3.752 MB / 0.6698 GB, free: 8.504 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008913/0.7086, allocations: 5.27 MB / 0.675 GB, free: 2.426 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.219e-05/0.7086, allocations: 16 kB / 0.675 GB, free: 2.41 MB / 0.5418 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.01188/0.7205, allocations: 5.134 MB / 0.68 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.7206, allocations: 27.44 kB / 0.68 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007224/0.7278, allocations: 3.196 MB / 0.6831 GB, free: 10.02 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/0.7332, allocations: 0.8877 MB / 0.684 GB, free: 9.168 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/0.7375, allocations: 1.111 MB / 0.6851 GB, free: 8.055 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/0.7417, allocations: 3.373 MB / 0.6884 GB, free: 4.539 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/0.7452, allocations: 191.7 kB / 0.6886 GB, free: 4.352 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.7463, allocations: 287.8 kB / 0.6888 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005419/0.7517, allocations: 1.907 MB / 0.6907 GB, free: 2.156 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005927/0.7576, allocations: 3.726 MB / 0.6943 GB, free: 13.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00936/0.767, allocations: 5.23 MB / 0.6995 GB, free: 7.461 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.799e-05/0.767, allocations: 12 kB / 0.6995 GB, free: 7.449 MB / 0.573 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.01334/0.7804, allocations: 5.01 MB / 0.7044 GB, free: 2.441 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.7804, allocations: 29.12 kB / 0.7044 GB, free: 2.418 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008327/0.7888, allocations: 3.074 MB / 0.7074 GB, free: 15.31 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/0.7895, allocations: 208.8 kB / 0.7076 GB, free: 15.11 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/0.7942, allocations: 1.143 MB / 0.7087 GB, free: 13.96 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/0.7992, allocations: 4.363 MB / 0.713 GB, free: 9.363 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/0.8027, allocations: 194.3 kB / 0.7131 GB, free: 9.176 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009549/0.8037, allocations: 287.8 kB / 0.7134 GB, free: 8.895 MB / 0.5887 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.001803/0.8055, allocations: 0.5434 MB / 0.714 GB, free: 8.34 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/0.8078, allocations: 0.497 MB / 0.7144 GB, free: 7.84 MB / 0.5887 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.01084/0.8186, allocations: 4.389 MB / 0.7187 GB, free: 3.648 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.021720326971263]