Running command: translateModel(MEV.Simulations.OnOffControl.Scenario3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.OnOffControl.Scenario3") Notification: Performance of loadModel(MEV): time 1.958/1.958, allocations: 207.6 MB / 219.8 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.412e-05, allocations: 0 / 270.7 MB, free: 4.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08261, allocations: 48.06 MB / 318.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4275, allocations: 81.99 MB / 400.8 MB, free: 1.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4278, allocations: 73.22 kB / 400.8 MB, free: 1.805 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/MEV 1.0.1/package.mo:393:7-394:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.3696/0.7974, allocations: 90.33 MB / 491.2 MB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.808e-06/0.7975, allocations: 0 / 491.2 MB, free: 14.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002986/0.7978, allocations: 92 kB / 491.2 MB, free: 14.41 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.01744/0.8152, allocations: 5.091 MB / 496.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8153, allocations: 11.97 kB / 496.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.8175, allocations: 0.5327 MB / 496.9 MB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.8245, allocations: 2.417 MB / 499.3 MB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/0.825, allocations: 340.4 kB / 499.6 MB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.8265, allocations: 427.9 kB / 0.4883 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.8407, allocations: 5.284 MB / 0.4935 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.8409, allocations: 0 / 0.4935 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006594/0.8415, allocations: 176.1 kB / 0.4937 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.8417, allocations: 104 kB / 0.4938 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.8554, allocations: 5.178 MB / 0.4988 GB, free: 10.65 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.2802/1.136, allocations: 16.71 MB / 0.5151 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/1.149, allocations: 6.139 MB / 0.5211 GB, free: 86.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005912/1.155, allocations: 3.023 MB / 0.5241 GB, free: 86.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/1.156, allocations: 53.78 kB / 0.5241 GB, free: 86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005605/1.161, allocations: 2.797 MB / 0.5269 GB, free: 85.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 1.121e-05/1.161, allocations: 2.562 kB / 0.5269 GB, free: 85.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.06404/1.226, allocations: 19.29 MB / 0.5457 GB, free: 84.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/1.226, allocations: 110.8 kB / 0.5458 GB, free: 84.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005861/1.232, allocations: 3.104 MB / 0.5488 GB, free: 84.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007935/1.232, allocations: 112.6 kB / 0.5489 GB, free: 84.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/1.234, allocations: 1.685 MB / 0.5506 GB, free: 83.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.236, allocations: 1.489 MB / 0.552 GB, free: 82.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/1.236, allocations: 84.47 kB / 0.5521 GB, free: 82.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002847/1.237, allocations: 487.2 kB / 0.5526 GB, free: 82.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.241, allocations: 2.081 MB / 0.5546 GB, free: 82.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005272/1.246, allocations: 2.739 MB / 0.5573 GB, free: 81.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005515/1.252, allocations: 2.582 MB / 0.5598 GB, free: 81.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-05/1.252, allocations: 3.969 kB / 0.5598 GB, free: 81.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.01792/1.27, allocations: 7.352 MB / 0.567 GB, free: 79.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001406/1.271, allocations: 7.139 MB / 0.574 GB, free: 72.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/1.271, allocations: 15.56 kB / 0.574 GB, free: 72.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0349/1.306, allocations: 6.05 MB / 0.5799 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00461/1.311, allocations: 0.7652 MB / 0.5806 GB, free: 71.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.328, allocations: 12.48 MB / 0.5928 GB, free: 63.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/1.333, allocations: 403.9 kB / 0.5932 GB, free: 63.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008736/1.334, allocations: 160.5 kB / 0.5934 GB, free: 63.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.334, allocations: 3.969 kB / 0.5934 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01994/1.354, allocations: 7.928 MB / 0.6011 GB, free: 59.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-05/1.354, allocations: 16 kB / 0.6011 GB, free: 59.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/1.367, allocations: 3.649 MB / 0.6047 GB, free: 57.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/1.372, allocations: 0.7817 MB / 0.6055 GB, free: 56.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05279/1.424, allocations: 33.75 MB / 0.6384 GB, free: 25.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/1.429, allocations: 367.6 kB / 0.6388 GB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006877/1.43, allocations: 147.9 kB / 0.6389 GB, free: 25.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.patientValveSequencer.generators[1].offTime,patientValveSequencer.generators[1].offTime,$PRE.patientValveSequencer.generators[2].offTime,patientValveSequencer.generators[2].offTime,$PRE.patientValveSequencer.generators[3].offTime,patientValveSequencer.generators[3].offTime,$PRE.patientValveSequencer.generators[4].offTime,patientValveSequencer.generators[4].offTime,$PRE.patientValveSequencer.generators[5].offTime,patientValveSequencer.generators[5].offTime,$PRE.patientValveSequencer.generators[6].offTime,patientValveSequencer.generators[6].offTime,$PRE.patientValveSequencer.generators[7].offTime,patientValveSequencer.generators[7].offTime,$PRE.patientValveSequencer.generators[8].offTime,patientValveSequencer.generators[8].offTime,$PRE.patientValveSequencer.generators[9].offTime,patientValveSequencer.generators[9].offTime,$PRE.patientValveSequencer.generators[10].offTime,patientValveSequencer.generators[10].offTime,$PRE.onOffControllerWithHysteresis.on,onOffControllerWithHysteresis.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 322 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.001034/1.431, allocations: 348.7 kB / 0.6392 GB, free: 24.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009027/1.432, allocations: 410.8 kB / 0.6396 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/1.447, allocations: 7.595 MB / 0.647 GB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/1.447, allocations: 44 kB / 0.6471 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.582e-06/1.447, allocations: 0 / 0.6471 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.89e-05/1.447, allocations: 27.91 kB / 0.6471 GB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02681/1.474, allocations: 12.67 MB / 0.6595 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/1.474, allocations: 0 / 0.6595 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004226/1.479, allocations: 0.6243 MB / 0.6601 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02966/1.508, allocations: 5.957 MB / 0.6659 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000899/1.509, allocations: 111.9 kB / 0.666 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/1.528, allocations: 12.22 MB / 0.6779 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.979e-06/1.528, allocations: 0 / 0.6779 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.262/1.79, allocations: 10.83 MB / 0.6885 GB, free: 97.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003467/1.794, allocations: 1.116 MB / 0.6896 GB, free: 97.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.795, allocations: 103 kB / 0.6897 GB, free: 97.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/1.799, allocations: 339.6 kB / 0.69 GB, free: 97.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008659/1.8, allocations: 372.8 kB / 0.6904 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/1.8, allocations: 120.2 kB / 0.6905 GB, free: 97.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004311/1.804, allocations: 2.411 MB / 0.6929 GB, free: 96.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.522e-06/1.804, allocations: 0 / 0.6929 GB, free: 96.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00757/1.812, allocations: 2.136 MB / 0.6949 GB, free: 96.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 34 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel,pipeSegments[1].p,pipeSegments[2].p,pipeSegments[3].p,pipeSegments[4].p,pipeSegments[5].p,pipeSegments[6].p,pipeSegments[7].p,pipeSegments[8].p,pipeSegments[9].p,pipeSegments[10].p,patients[1].compliance.p,patients[1].compliance.V,patients[2].compliance.p,patients[2].compliance.V,patients[3].compliance.p,patients[3].compliance.V,patients[4].compliance.p,patients[4].compliance.V,patients[5].compliance.p,patients[5].compliance.V,patients[6].compliance.p,patients[6].compliance.V,patients[7].compliance.p,patients[7].compliance.V,patients[8].compliance.p,patients[8].compliance.V,patients[9].compliance.p,patients[9].compliance.V,patients[10].compliance.p,patients[10].compliance.V,linearController.firstOrder.y) * Number of discrete variables: 23 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,patientValveSequencer.generators[1].offTime,patientValveSequencer.generators[2].offTime,patientValveSequencer.generators[3].offTime,patientValveSequencer.generators[4].offTime,patientValveSequencer.generators[5].offTime,patientValveSequencer.generators[6].offTime,patientValveSequencer.generators[7].offTime,patientValveSequencer.generators[8].offTime,patientValveSequencer.generators[9].offTime,patientValveSequencer.generators[10].offTime,onOffControllerWithHysteresis.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006593/1.813, allocations: 252 kB / 0.6952 GB, free: 96.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02994/1.843, allocations: 12.18 MB / 0.7071 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.724e-06/1.843, allocations: 2.516 kB / 0.7071 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0105/1.853, allocations: 3.744 MB / 0.7107 GB, free: 95.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/1.857, allocations: 486 kB / 0.7112 GB, free: 95.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/1.884, allocations: 11.62 MB / 0.7226 GB, free: 93.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003686/1.888, allocations: 3.624 MB / 0.7261 GB, free: 92.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007533/1.895, allocations: 2.108 MB / 0.7282 GB, free: 92.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/1.896, allocations: 140.9 kB / 0.7283 GB, free: 92.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.652e-06/1.896, allocations: 7.906 kB / 0.7283 GB, free: 92.18 MB / 442.7 MB Notification: Performance of Templates: time 0.1831/2.079, allocations: 85.2 MB / 0.8115 GB, free: 30.67 MB / 442.7 MB