Running command: translateModel(MEV.Simulations.LinearControl.Scenario4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.LinearControl.Scenario4") Notification: Performance of loadModel(MEV): time 1.955/1.955, allocations: 207.6 MB / 219.8 MB, free: 8.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.611e-05, allocations: 8 kB / 270.7 MB, free: 4.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 48.06 MB / 318.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.4687, allocations: 81.96 MB / 400.7 MB, free: 1.855 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.469, allocations: 74.91 kB / 400.8 MB, free: 1.82 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.8072/1.276, allocations: 147.1 MB / 0.535 GB, free: 109.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.048e-06/1.276, allocations: 0 / 0.535 GB, free: 109.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003129/1.277, allocations: 101.6 kB / 0.5351 GB, free: 109.6 MB / 426.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.01559/1.292, allocations: 5.069 MB / 0.5401 GB, free: 107.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.292, allocations: 6.594 kB / 0.5401 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/1.294, allocations: 0.5386 MB / 0.5406 GB, free: 107.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006447/1.301, allocations: 2.42 MB / 0.543 GB, free: 106.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/1.301, allocations: 333.4 kB / 0.5433 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/1.303, allocations: 444.7 kB / 0.5437 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/1.318, allocations: 5.271 MB / 0.5489 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/1.318, allocations: 3.969 kB / 0.5489 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009737/1.319, allocations: 173.1 kB / 0.549 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.279e-05/1.319, allocations: 114.2 kB / 0.5491 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/1.332, allocations: 5.18 MB / 0.5542 GB, free: 106.5 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.04389/1.376, allocations: 16.72 MB / 0.5705 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/1.39, allocations: 6.137 MB / 0.5765 GB, free: 98.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006291/1.396, allocations: 3.007 MB / 0.5795 GB, free: 95.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003923/1.397, allocations: 61 kB / 0.5795 GB, free: 95.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005894/1.403, allocations: 2.807 MB / 0.5823 GB, free: 93.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 9.836e-06/1.403, allocations: 0 / 0.5823 GB, free: 93.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.06167/1.464, allocations: 19.29 MB / 0.6011 GB, free: 74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/1.464, allocations: 113.3 kB / 0.6012 GB, free: 73.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005832/1.47, allocations: 3.101 MB / 0.6042 GB, free: 70.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008182/1.471, allocations: 109.7 kB / 0.6043 GB, free: 70.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.473, allocations: 1.685 MB / 0.606 GB, free: 68.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001798/1.475, allocations: 1.492 MB / 0.6074 GB, free: 67.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004746/1.475, allocations: 91.94 kB / 0.6075 GB, free: 67.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002795/1.475, allocations: 487.2 kB / 0.608 GB, free: 66.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/1.48, allocations: 2.077 MB / 0.61 GB, free: 64.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005248/1.485, allocations: 2.741 MB / 0.6127 GB, free: 61.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005463/1.491, allocations: 2.58 MB / 0.6152 GB, free: 59.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.808e-05/1.491, allocations: 4 kB / 0.6152 GB, free: 59.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.01755/1.508, allocations: 7.35 MB / 0.6224 GB, free: 51.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001362/1.51, allocations: 7.142 MB / 0.6294 GB, free: 44.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.395e-05/1.51, allocations: 19.98 kB / 0.6294 GB, free: 44.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03117/1.541, allocations: 6.052 MB / 0.6353 GB, free: 37.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/1.545, allocations: 0.7567 MB / 0.636 GB, free: 37.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/1.562, allocations: 12.47 MB / 0.6482 GB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/1.567, allocations: 395.5 kB / 0.6486 GB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.568, allocations: 164 kB / 0.6487 GB, free: 23.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.568, allocations: 8 kB / 0.6488 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02057/1.588, allocations: 7.926 MB / 0.6565 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.883e-05/1.589, allocations: 19.95 kB / 0.6565 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/1.602, allocations: 3.645 MB / 0.6601 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/1.606, allocations: 0.784 MB / 0.6608 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3041/1.91, allocations: 33.73 MB / 0.6938 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004904/1.915, allocations: 367.2 kB / 0.6941 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008696/1.916, allocations: 144.7 kB / 0.6943 GB, free: 94.67 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.001144/1.917, allocations: 352.5 kB / 0.6946 GB, free: 94.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009554/1.918, allocations: 408.1 kB / 0.695 GB, free: 94.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/1.937, allocations: 7.594 MB / 0.7024 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/1.937, allocations: 46.78 kB / 0.7024 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.937, allocations: 0 / 0.7024 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.444e-05/1.937, allocations: 22.22 kB / 0.7025 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/1.967, allocations: 12.66 MB / 0.7148 GB, free: 93.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/1.967, allocations: 0 / 0.7148 GB, free: 93.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004335/1.972, allocations: 0.6223 MB / 0.7154 GB, free: 93.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03163/2.003, allocations: 5.966 MB / 0.7213 GB, free: 92.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009049/2.004, allocations: 115.9 kB / 0.7214 GB, free: 92.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/2.02, allocations: 12.22 MB / 0.7333 GB, free: 84.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.345e-06/2.02, allocations: 1.031 kB / 0.7333 GB, free: 84.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0226/2.043, allocations: 10.84 MB / 0.7439 GB, free: 79.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003453/2.046, allocations: 1.118 MB / 0.745 GB, free: 78.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/2.048, allocations: 99.47 kB / 0.7451 GB, free: 78.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/2.052, allocations: 343.8 kB / 0.7454 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/2.053, allocations: 371.3 kB / 0.7458 GB, free: 78.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004633/2.054, allocations: 115.6 kB / 0.7459 GB, free: 78.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004405/2.058, allocations: 2.412 MB / 0.7482 GB, free: 76.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.038e-06/2.058, allocations: 3.719 kB / 0.7482 GB, free: 76.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009273/2.067, allocations: 2.133 MB / 0.7503 GB, free: 73.92 MB / 426.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.001021/2.068, allocations: 260.2 kB / 0.7506 GB, free: 73.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03007/2.098, allocations: 12.18 MB / 0.7625 GB, free: 63.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.895e-06/2.099, allocations: 3.875 kB / 0.7625 GB, free: 63.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01042/2.109, allocations: 3.745 MB / 0.7661 GB, free: 60.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/2.113, allocations: 485 kB / 0.7666 GB, free: 59.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/2.139, allocations: 11.62 MB / 0.7779 GB, free: 48.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00564/2.145, allocations: 3.626 MB / 0.7815 GB, free: 44.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0126/2.157, allocations: 2.119 MB / 0.7835 GB, free: 42.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008394/2.158, allocations: 139.4 kB / 0.7837 GB, free: 42.46 MB / 426.7 MB Notification: Performance of SimCode: time 2.182e-06/2.158, allocations: 0 / 0.7837 GB, free: 42.46 MB / 426.7 MB Notification: Performance of Templates: time 0.4287/2.587, allocations: 85.19 MB / 0.8669 GB, free: 100.5 MB / 442.7 MB