Running command: "" <> buildModelFMU(MEV.Simulations.LinearControl.Scenario3,fileNamePrefix="MEV_MEV_Simulations_LinearControl_Scenario3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.16/2.16, allocations: 207.6 MB / 219.8 MB, free: 8.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.084e-05, allocations: 4 kB / 270.8 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 48.06 MB / 318.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4715/0.5794, allocations: 81.93 MB / 400.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5798, allocations: 83.33 kB / 400.9 MB, free: 1.398 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.4221/1.002, allocations: 90.14 MB / 491 MB, free: 14.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.002, allocations: 4 kB / 491 MB, free: 14.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004216/1.002, allocations: 96 kB / 491.1 MB, free: 14.46 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.02369/1.026, allocations: 5.083 MB / 496.2 MB, free: 9.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/1.026, allocations: 12.03 kB / 496.2 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00273/1.029, allocations: 0.576 MB / 496.8 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/1.032, allocations: 0.5327 MB / 497.3 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009357/1.042, allocations: 2.421 MB / 499.7 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006252/1.042, allocations: 332.5 kB / 0.4883 GB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/1.044, allocations: 435.9 kB / 0.4888 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02004/1.064, allocations: 5.28 MB / 0.4939 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/1.065, allocations: 7.922 kB / 0.4939 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001648/1.066, allocations: 172 kB / 0.4941 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/1.066, allocations: 100 kB / 0.4942 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/1.085, allocations: 5.186 MB / 0.4992 GB, free: 10.12 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.3603/1.446, allocations: 16.72 MB / 0.5156 GB, free: 85.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.465, allocations: 6.136 MB / 0.5216 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008119/1.473, allocations: 3.018 MB / 0.5245 GB, free: 85.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/1.474, allocations: 64.98 kB / 0.5246 GB, free: 85.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008157/1.482, allocations: 2.796 MB / 0.5273 GB, free: 85.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 8.796e-06/1.482, allocations: 0 / 0.5273 GB, free: 85.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.09083/1.573, allocations: 19.29 MB / 0.5461 GB, free: 84.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.573, allocations: 118 kB / 0.5463 GB, free: 84.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007349/1.581, allocations: 3.097 MB / 0.5493 GB, free: 83.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.582, allocations: 110.8 kB / 0.5494 GB, free: 83.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001983/1.584, allocations: 1.683 MB / 0.551 GB, free: 83.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002389/1.586, allocations: 1.499 MB / 0.5525 GB, free: 82.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/1.587, allocations: 82.06 kB / 0.5526 GB, free: 82.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003088/1.587, allocations: 486.6 kB / 0.553 GB, free: 82.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005318/1.592, allocations: 2.084 MB / 0.5551 GB, free: 82.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006504/1.599, allocations: 2.734 MB / 0.5577 GB, free: 81.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/1.606, allocations: 2.58 MB / 0.5603 GB, free: 81.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.354e-05/1.606, allocations: 7.781 kB / 0.5603 GB, free: 81.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02253/1.629, allocations: 7.345 MB / 0.5674 GB, free: 79.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00178/1.631, allocations: 7.144 MB / 0.5744 GB, free: 72.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.85e-05/1.631, allocations: 16.97 kB / 0.5744 GB, free: 72.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04742/1.678, allocations: 6.051 MB / 0.5803 GB, free: 71.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/1.685, allocations: 0.7658 MB / 0.5811 GB, free: 71.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/1.708, allocations: 12.47 MB / 0.5933 GB, free: 63.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/1.719, allocations: 397.6 kB / 0.5936 GB, free: 63.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.72, allocations: 163.1 kB / 0.5938 GB, free: 63.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.72, allocations: 3.938 kB / 0.5938 GB, free: 63.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04443/1.765, allocations: 7.929 MB / 0.6016 GB, free: 59.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/1.765, allocations: 16 kB / 0.6016 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02996/1.795, allocations: 3.645 MB / 0.6051 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009989/1.805, allocations: 0.7764 MB / 0.6059 GB, free: 56.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07297/1.878, allocations: 33.75 MB / 0.6388 GB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006521/1.885, allocations: 363.5 kB / 0.6392 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.886, allocations: 140 kB / 0.6393 GB, free: 25.44 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.001791/1.888, allocations: 352.2 kB / 0.6397 GB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/1.889, allocations: 410.8 kB / 0.6401 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02479/1.914, allocations: 7.6 MB / 0.6475 GB, free: 17.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.336e-05/1.914, allocations: 47.94 kB / 0.6475 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.914, allocations: 0 / 0.6475 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000148/1.914, allocations: 23.42 kB / 0.6475 GB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03882/1.953, allocations: 12.67 MB / 0.6599 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-05/1.953, allocations: 4 kB / 0.6599 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006139/1.959, allocations: 0.6165 MB / 0.6605 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3471/2.306, allocations: 5.955 MB / 0.6663 GB, free: 81.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/2.308, allocations: 116 kB / 0.6665 GB, free: 81.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02266/2.33, allocations: 12.21 MB / 0.6784 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/2.33, allocations: 4.906 kB / 0.6784 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03061/2.361, allocations: 10.83 MB / 0.689 GB, free: 75.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004498/2.366, allocations: 1.117 MB / 0.6901 GB, free: 75.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/2.368, allocations: 96.61 kB / 0.6901 GB, free: 75.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006521/2.374, allocations: 337 kB / 0.6905 GB, free: 75.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001751/2.376, allocations: 381.8 kB / 0.6908 GB, free: 75.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006478/2.377, allocations: 120.5 kB / 0.6909 GB, free: 75.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005703/2.383, allocations: 2.414 MB / 0.6933 GB, free: 75.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.383, allocations: 0 / 0.6933 GB, free: 75.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0118/2.395, allocations: 2.129 MB / 0.6954 GB, free: 75.07 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.03118/2.426, allocations: 11.78 MB / 0.7069 GB, free: 73.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04197/2.468, allocations: 12.17 MB / 0.7188 GB, free: 72.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/2.468, allocations: 0 / 0.7188 GB, free: 72.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01438/2.482, allocations: 3.752 MB / 0.7224 GB, free: 72.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/2.487, allocations: 485.8 kB / 0.7229 GB, free: 72.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04344/2.531, allocations: 13.17 MB / 0.7358 GB, free: 69.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005607/2.536, allocations: 3.635 MB / 0.7393 GB, free: 68.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01081/2.547, allocations: 2.115 MB / 0.7414 GB, free: 68.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003614/2.551, allocations: 1.62 MB / 0.743 GB, free: 66.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/2.551, allocations: 0 / 0.743 GB, free: 66.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6158/3.167, allocations: 123.9 MB / 0.8639 GB, free: 91.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/3.167, allocations: 165.9 kB / 0.8641 GB, free: 91.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/11.27, allocations: 2.156 kB / 0.8641 GB, free: 91.7 MB / 442.7 MB