Running command: translateModel(MEV.Simulations.OnOffControl.Scenario1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.OnOffControl.Scenario1") Notification: Performance of loadModel(MEV): time 1.849/1.849, allocations: 207.6 MB / 219.7 MB, free: 8.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/3.003e-05, allocations: 4 kB / 270.7 MB, free: 4.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 48.05 MB / 318.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4669, allocations: 82.01 MB / 400.8 MB, free: 1.879 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004517/0.4674, allocations: 79.14 kB / 400.8 MB, free: 1.84 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.4421/0.9095, allocations: 94.96 MB / 495.8 MB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.427e-06/0.9096, allocations: 0 / 495.8 MB, free: 9.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003373/0.91, allocations: 103.9 kB / 495.9 MB, free: 9.715 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.01773/0.9277, allocations: 5.091 MB / 0.4893 GB, free: 4.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.9278, allocations: 8.031 kB / 0.4893 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.9302, allocations: 0.5365 MB / 0.4898 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/0.9373, allocations: 2.417 MB / 0.4922 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005076/0.9379, allocations: 336.5 kB / 0.4925 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/0.9396, allocations: 431.9 kB / 0.4929 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.9554, allocations: 5.28 MB / 0.498 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.9556, allocations: 0 / 0.498 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007613/0.9564, allocations: 176 kB / 0.4982 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.9565, allocations: 100 kB / 0.4983 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.9712, allocations: 5.193 MB / 0.5034 GB, free: 5.957 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.2786/1.25, allocations: 16.7 MB / 0.5197 GB, free: 85.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/1.263, allocations: 6.139 MB / 0.5257 GB, free: 85.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006115/1.269, allocations: 3.018 MB / 0.5286 GB, free: 85.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/1.27, allocations: 61.38 kB / 0.5287 GB, free: 85.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005936/1.276, allocations: 2.792 MB / 0.5314 GB, free: 85.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 1.09e-05/1.276, allocations: 3.094 kB / 0.5314 GB, free: 85.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.06723/1.343, allocations: 19.29 MB / 0.5503 GB, free: 83.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/1.343, allocations: 112.5 kB / 0.5504 GB, free: 83.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/1.348, allocations: 3.1 MB / 0.5534 GB, free: 83.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008062/1.349, allocations: 109.9 kB / 0.5535 GB, free: 83.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.351, allocations: 1.685 MB / 0.5551 GB, free: 82.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.353, allocations: 1.493 MB / 0.5566 GB, free: 82.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/1.353, allocations: 89 kB / 0.5567 GB, free: 82.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002418/1.353, allocations: 485.1 kB / 0.5571 GB, free: 81.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/1.358, allocations: 2.079 MB / 0.5592 GB, free: 81.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005373/1.363, allocations: 2.738 MB / 0.5618 GB, free: 81.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005629/1.369, allocations: 2.586 MB / 0.5644 GB, free: 81.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/1.369, allocations: 3.406 kB / 0.5644 GB, free: 81.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.01743/1.386, allocations: 7.346 MB / 0.5715 GB, free: 78.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001352/1.388, allocations: 7.141 MB / 0.5785 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.145e-05/1.388, allocations: 21.45 kB / 0.5785 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03343/1.421, allocations: 6.051 MB / 0.5845 GB, free: 70.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/1.426, allocations: 0.7657 MB / 0.5852 GB, free: 70.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/1.443, allocations: 12.47 MB / 0.5974 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/1.448, allocations: 404.5 kB / 0.5978 GB, free: 62.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007795/1.449, allocations: 155.6 kB / 0.5979 GB, free: 62.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.449, allocations: 4 kB / 0.5979 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01962/1.468, allocations: 7.931 MB / 0.6057 GB, free: 56.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.209e-05/1.469, allocations: 16 kB / 0.6057 GB, free: 56.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/1.482, allocations: 3.647 MB / 0.6092 GB, free: 53.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/1.486, allocations: 0.7824 MB / 0.61 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05218/1.538, allocations: 33.73 MB / 0.6429 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.543, allocations: 371.6 kB / 0.6433 GB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008246/1.544, allocations: 140 kB / 0.6434 GB, free: 21.3 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.001079/1.545, allocations: 353.4 kB / 0.6438 GB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000959/1.546, allocations: 410.8 kB / 0.6442 GB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/1.563, allocations: 7.598 MB / 0.6516 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-05/1.564, allocations: 44 kB / 0.6516 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.564, allocations: 3.188 kB / 0.6516 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.285e-05/1.564, allocations: 19.92 kB / 0.6516 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/1.594, allocations: 12.67 MB / 0.664 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.402e-05/1.594, allocations: 4 kB / 0.664 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.247/1.841, allocations: 0.6154 MB / 0.6646 GB, free: 80.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03208/1.873, allocations: 5.959 MB / 0.6704 GB, free: 80.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009652/1.874, allocations: 113.8 kB / 0.6705 GB, free: 80.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/1.891, allocations: 12.22 MB / 0.6825 GB, free: 74.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.277e-06/1.891, allocations: 2.344 kB / 0.6825 GB, free: 74.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/1.914, allocations: 10.84 MB / 0.6931 GB, free: 73.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003622/1.917, allocations: 1.116 MB / 0.6942 GB, free: 73.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/1.919, allocations: 96.53 kB / 0.6943 GB, free: 73.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004203/1.923, allocations: 338.3 kB / 0.6946 GB, free: 73.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/1.924, allocations: 368.6 kB / 0.6949 GB, free: 73.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004317/1.925, allocations: 122.1 kB / 0.695 GB, free: 73.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004442/1.929, allocations: 2.41 MB / 0.6974 GB, free: 73.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.121e-06/1.929, allocations: 3 kB / 0.6974 GB, free: 73.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008947/1.938, allocations: 2.131 MB / 0.6995 GB, free: 73.71 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.0009794/1.939, allocations: 261.2 kB / 0.6997 GB, free: 73.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03158/1.971, allocations: 12.18 MB / 0.7116 GB, free: 72.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.612e-06/1.971, allocations: 3.281 kB / 0.7116 GB, free: 72.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01113/1.982, allocations: 3.749 MB / 0.7153 GB, free: 72.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/1.986, allocations: 490 kB / 0.7158 GB, free: 72.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/2.013, allocations: 11.63 MB / 0.7271 GB, free: 69.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003885/2.017, allocations: 3.628 MB / 0.7307 GB, free: 68.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007655/2.024, allocations: 2.115 MB / 0.7327 GB, free: 68.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008314/2.025, allocations: 141.3 kB / 0.7329 GB, free: 68.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.78e-06/2.025, allocations: 0 / 0.7329 GB, free: 68.63 MB / 426.7 MB Notification: Performance of Templates: time 0.1658/2.191, allocations: 85.2 MB / 0.8161 GB, free: 12.63 MB / 442.7 MB