Running command: translateModel(MEV.Simulations.OnOffControl.Scenario2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.OnOffControl.Scenario2") Notification: Performance of loadModel(MEV): time 1.922/1.922, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.519e-05, allocations: 0 / 270.7 MB, free: 4.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08453, allocations: 48.06 MB / 318.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4178, allocations: 82 MB / 400.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4181, allocations: 75.78 kB / 400.8 MB, free: 1.758 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.3585/0.7766, allocations: 90.32 MB / 491.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.567e-06/0.7767, allocations: 0 / 491.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003304/0.777, allocations: 91.98 kB / 491.2 MB, free: 14.39 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.01772/0.7947, allocations: 5.091 MB / 496.3 MB, free: 9.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.7948, allocations: 12.03 kB / 496.4 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.797, allocations: 0.5287 MB / 496.9 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006999/0.804, allocations: 2.425 MB / 499.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/0.8046, allocations: 336.5 kB / 499.6 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.8063, allocations: 439.9 kB / 0.4883 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.8214, allocations: 5.272 MB / 0.4935 GB, free: 104 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.8216, allocations: 0 / 0.4935 GB, free: 104 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000682/0.8223, allocations: 176.1 kB / 0.4937 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.8224, allocations: 108 kB / 0.4938 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.8368, allocations: 5.178 MB / 0.4988 GB, free: 10.63 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.2817/1.119, allocations: 16.7 MB / 0.5151 GB, free: 86.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/1.133, allocations: 6.135 MB / 0.5211 GB, free: 86.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006451/1.14, allocations: 3.018 MB / 0.5241 GB, free: 86.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.14, allocations: 63.48 kB / 0.5241 GB, free: 86.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006342/1.147, allocations: 2.791 MB / 0.5269 GB, free: 86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 1.104e-05/1.147, allocations: 1.969 kB / 0.5269 GB, free: 86 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.06709/1.214, allocations: 19.3 MB / 0.5457 GB, free: 84.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/1.214, allocations: 114.2 kB / 0.5458 GB, free: 84.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/1.22, allocations: 3.095 MB / 0.5488 GB, free: 84.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008025/1.22, allocations: 114.6 kB / 0.5489 GB, free: 84.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.222, allocations: 1.686 MB / 0.5506 GB, free: 83.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001844/1.224, allocations: 1.494 MB / 0.5521 GB, free: 82.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/1.224, allocations: 90.47 kB / 0.5521 GB, free: 82.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000272/1.225, allocations: 482.3 kB / 0.5526 GB, free: 82.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/1.229, allocations: 2.081 MB / 0.5546 GB, free: 82.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005484/1.235, allocations: 2.739 MB / 0.5573 GB, free: 81.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/1.24, allocations: 2.579 MB / 0.5598 GB, free: 81.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.9e-05/1.24, allocations: 3.844 kB / 0.5598 GB, free: 81.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.0179/1.258, allocations: 7.347 MB / 0.567 GB, free: 80 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/1.26, allocations: 7.145 MB / 0.574 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/1.26, allocations: 17.81 kB / 0.574 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03356/1.293, allocations: 6.044 MB / 0.5799 GB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004676/1.298, allocations: 0.7638 MB / 0.5806 GB, free: 71.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/1.315, allocations: 12.48 MB / 0.5928 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005214/1.32, allocations: 396.9 kB / 0.5932 GB, free: 63.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008217/1.321, allocations: 156.6 kB / 0.5934 GB, free: 63.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.321, allocations: 6.281 kB / 0.5934 GB, free: 63.85 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02/1.341, allocations: 7.933 MB / 0.6011 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.917e-05/1.341, allocations: 19.39 kB / 0.6011 GB, free: 59.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/1.355, allocations: 3.648 MB / 0.6047 GB, free: 56.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/1.359, allocations: 0.7801 MB / 0.6055 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05211/1.411, allocations: 33.74 MB / 0.6384 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/1.416, allocations: 367.5 kB / 0.6388 GB, free: 25.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008006/1.416, allocations: 144 kB / 0.6389 GB, free: 25.32 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.001263/1.418, allocations: 355.4 kB / 0.6392 GB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009914/1.419, allocations: 414.8 kB / 0.6396 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/1.436, allocations: 7.587 MB / 0.647 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.104e-05/1.436, allocations: 51.88 kB / 0.6471 GB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.436, allocations: 4 kB / 0.6471 GB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.223e-05/1.437, allocations: 23.92 kB / 0.6471 GB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/1.465, allocations: 12.66 MB / 0.6595 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/1.466, allocations: 0 / 0.6595 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004296/1.47, allocations: 0.6204 MB / 0.6601 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03067/1.501, allocations: 5.963 MB / 0.6659 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009201/1.502, allocations: 111.9 kB / 0.666 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/1.521, allocations: 12.22 MB / 0.6779 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.395e-06/1.521, allocations: 7.969 kB / 0.678 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2747/1.796, allocations: 10.83 MB / 0.6885 GB, free: 97.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005191/1.801, allocations: 1.113 MB / 0.6896 GB, free: 97.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00211/1.803, allocations: 102.6 kB / 0.6897 GB, free: 97.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004755/1.808, allocations: 341.8 kB / 0.69 GB, free: 97.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/1.809, allocations: 371.2 kB / 0.6904 GB, free: 97.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004516/1.81, allocations: 121.2 kB / 0.6905 GB, free: 97.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004841/1.815, allocations: 2.413 MB / 0.6929 GB, free: 96.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.815, allocations: 3.781 kB / 0.6929 GB, free: 96.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009597/1.824, allocations: 2.131 MB / 0.6949 GB, free: 96.97 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.0008334/1.825, allocations: 246.5 kB / 0.6952 GB, free: 96.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0309/1.856, allocations: 12.19 MB / 0.7071 GB, free: 95.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.025e-06/1.856, allocations: 0 / 0.7071 GB, free: 95.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01078/1.867, allocations: 3.75 MB / 0.7107 GB, free: 95.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/1.87, allocations: 487.8 kB / 0.7112 GB, free: 95.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02672/1.897, allocations: 11.62 MB / 0.7226 GB, free: 93.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.901, allocations: 3.634 MB / 0.7261 GB, free: 92.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007585/1.909, allocations: 2.117 MB / 0.7282 GB, free: 92.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/1.91, allocations: 133.1 kB / 0.7283 GB, free: 92.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.704e-06/1.91, allocations: 0 / 0.7283 GB, free: 92.15 MB / 442.7 MB Notification: Performance of Templates: time 0.1635/2.073, allocations: 85.21 MB / 0.8115 GB, free: 30.62 MB / 442.7 MB