Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario7,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.031/2.031, allocations: 207.6 MB / 219.7 MB, free: 8.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.165e-05, allocations: 4 kB / 270.8 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.09998, allocations: 48.05 MB / 318.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.522, allocations: 82.05 MB / 400.9 MB, free: 1.285 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.5224, allocations: 78.39 kB / 401 MB, free: 1.246 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.9603/1.483, allocations: 147.4 MB / 0.5355 GB, free: 109.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.483, allocations: 0 / 0.5355 GB, free: 109.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003728/1.483, allocations: 93.03 kB / 0.5356 GB, free: 109.3 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.02156/1.505, allocations: 5.086 MB / 0.5406 GB, free: 107.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.505, allocations: 10.88 kB / 0.5406 GB, free: 107.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00233/1.507, allocations: 0.5817 MB / 0.5411 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/1.51, allocations: 0.5385 MB / 0.5417 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/1.518, allocations: 2.417 MB / 0.544 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005112/1.518, allocations: 331.2 kB / 0.5443 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/1.521, allocations: 448.5 kB / 0.5448 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/1.539, allocations: 5.279 MB / 0.5499 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002276/1.539, allocations: 0 / 0.5499 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/1.541, allocations: 176.3 kB / 0.5501 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.813e-05/1.541, allocations: 104.9 kB / 0.5502 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/1.557, allocations: 5.19 MB / 0.5553 GB, free: 106.2 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.05255/1.609, allocations: 16.7 MB / 0.5716 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/1.625, allocations: 6.165 MB / 0.5776 GB, free: 97.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007386/1.632, allocations: 3.039 MB / 0.5806 GB, free: 94.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/1.633, allocations: 61.78 kB / 0.5806 GB, free: 94.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007135/1.64, allocations: 2.827 MB / 0.5834 GB, free: 92.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=423): time 9.688e-06/1.64, allocations: 3.938 kB / 0.5834 GB, free: 92.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=448): time 0.08466/1.725, allocations: 19.39 MB / 0.6023 GB, free: 72.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/1.725, allocations: 118.2 kB / 0.6024 GB, free: 72.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/1.731, allocations: 3.081 MB / 0.6054 GB, free: 69.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009785/1.732, allocations: 109.7 kB / 0.6055 GB, free: 69.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.734, allocations: 1.671 MB / 0.6072 GB, free: 67.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002261/1.736, allocations: 1.501 MB / 0.6086 GB, free: 66.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/1.737, allocations: 88 kB / 0.6087 GB, free: 66.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004646/1.738, allocations: 483.2 kB / 0.6092 GB, free: 65.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007763/1.745, allocations: 2.097 MB / 0.6112 GB, free: 63.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00616/1.752, allocations: 2.738 MB / 0.6139 GB, free: 60.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/1.758, allocations: 2.581 MB / 0.6164 GB, free: 57.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/1.758, allocations: 4 kB / 0.6164 GB, free: 57.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=547) (initialization): time 0.02119/1.779, allocations: 7.382 MB / 0.6236 GB, free: 50.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001339/1.781, allocations: 6.761 MB / 0.6302 GB, free: 43.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-05/1.781, allocations: 20 kB / 0.6303 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04728/1.828, allocations: 6.171 MB / 0.6363 GB, free: 36.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006136/1.834, allocations: 0.7606 MB / 0.637 GB, free: 36.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/1.855, allocations: 12.52 MB / 0.6493 GB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006988/1.863, allocations: 399.5 kB / 0.6496 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.864, allocations: 160 kB / 0.6498 GB, free: 22.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.864, allocations: 5.094 kB / 0.6498 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02778/1.891, allocations: 7.959 MB / 0.6576 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.235e-05/1.892, allocations: 16 kB / 0.6576 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/1.91, allocations: 3.686 MB / 0.6612 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006293/1.916, allocations: 0.7762 MB / 0.6619 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3649/2.281, allocations: 33.97 MB / 0.6951 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/2.288, allocations: 368.6 kB / 0.6955 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009754/2.289, allocations: 143.2 kB / 0.6956 GB, free: 94.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (328): * Single equations (assignments): 317 * 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,1 21} Notification: Performance of prepare postOptimizeDAE: time 0.001249/2.29, allocations: 346.2 kB / 0.6959 GB, free: 93.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/2.291, allocations: 416.2 kB / 0.6963 GB, free: 93.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/2.311, allocations: 7.618 MB / 0.7038 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/2.311, allocations: 45.03 kB / 0.7038 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/2.311, allocations: 0 / 0.7038 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-05/2.311, allocations: 33.42 kB / 0.7038 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03705/2.348, allocations: 12.85 MB / 0.7164 GB, free: 92.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-05/2.348, allocations: 3.938 kB / 0.7164 GB, free: 92.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006092/2.355, allocations: 0.6258 MB / 0.717 GB, free: 92.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04256/2.397, allocations: 6.09 MB / 0.723 GB, free: 91.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/2.398, allocations: 112.3 kB / 0.7231 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/2.418, allocations: 12.35 MB / 0.7351 GB, free: 83.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/2.418, allocations: 0 / 0.7351 GB, free: 83.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02807/2.446, allocations: 10.98 MB / 0.7458 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004071/2.45, allocations: 1.124 MB / 0.7469 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/2.451, allocations: 98.7 kB / 0.747 GB, free: 76.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005606/2.457, allocations: 338.7 kB / 0.7474 GB, free: 76.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/2.458, allocations: 379.8 kB / 0.7477 GB, free: 76.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004008/2.459, allocations: 126.8 kB / 0.7478 GB, free: 76.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005065/2.464, allocations: 2.403 MB / 0.7502 GB, free: 74.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.464, allocations: 0 / 0.7502 GB, free: 74.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009485/2.473, allocations: 2.141 MB / 0.7523 GB, free: 72 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 (231): * Single equations (assignments): 209 * 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 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.02825/2.501, allocations: 11.92 MB / 0.7639 GB, free: 61.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03936/2.541, allocations: 12.12 MB / 0.7758 GB, free: 49.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/2.541, allocations: 0 / 0.7758 GB, free: 49.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01404/2.555, allocations: 3.776 MB / 0.7794 GB, free: 46.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004533/2.56, allocations: 491.6 kB / 0.7799 GB, free: 45.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03787/2.597, allocations: 13.16 MB / 0.7928 GB, free: 32.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/2.602, allocations: 3.63 MB / 0.7963 GB, free: 29.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009963/2.612, allocations: 2.086 MB / 0.7983 GB, free: 27.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00324/2.615, allocations: 1.62 MB / 0.7999 GB, free: 25.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.462e-06/2.615, allocations: 0 / 0.7999 GB, free: 25.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6008/3.216, allocations: 124.9 MB / 0.9219 GB, free: 75.29 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/3.216, allocations: 162.7 kB / 0.922 GB, free: 75.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/11.73, allocations: 0 / 0.922 GB, free: 75.06 MB / 442.7 MB