Running command: "" <> buildModelFMU(MEV.Simulations.LinearControl.Scenario1,fileNamePrefix="MEV_MEV_Simulations_LinearControl_Scenario1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.016/2.016, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.981e-05, allocations: 4 kB / 270.8 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 48.06 MB / 318.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5423, allocations: 81.98 MB / 400.8 MB, free: 1.375 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5426, allocations: 78.58 kB / 400.9 MB, free: 1.336 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.4321/0.9748, allocations: 94.8 MB / 495.7 MB, free: 9.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.9749, allocations: 0 / 495.7 MB, free: 9.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004135/0.9753, allocations: 92 kB / 495.8 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.02366/0.999, allocations: 5.087 MB / 0.4891 GB, free: 4.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.999, allocations: 12.03 kB / 0.4892 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003144/1.002, allocations: 0.5799 MB / 0.4897 GB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/1.006, allocations: 0.5326 MB / 0.4902 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/1.017, allocations: 2.425 MB / 0.4926 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008161/1.018, allocations: 332.5 kB / 0.4929 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/1.021, allocations: 439.9 kB / 0.4934 GB, free: 164 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/1.046, allocations: 5.277 MB / 0.4985 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/1.047, allocations: 4 kB / 0.4985 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/1.048, allocations: 168 kB / 0.4987 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/1.048, allocations: 108 kB / 0.4988 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/1.073, allocations: 5.197 MB / 0.5038 GB, free: 5.355 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.3765/1.449, allocations: 16.71 MB / 0.5202 GB, free: 85.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/1.467, allocations: 6.138 MB / 0.5262 GB, free: 85.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007483/1.474, allocations: 3.017 MB / 0.5291 GB, free: 85.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/1.475, allocations: 62.34 kB / 0.5292 GB, free: 85.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007586/1.483, allocations: 2.788 MB / 0.5319 GB, free: 85.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 1.138e-05/1.483, allocations: 3.891 kB / 0.5319 GB, free: 85.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.09201/1.575, allocations: 19.29 MB / 0.5507 GB, free: 83.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.575, allocations: 120.9 kB / 0.5508 GB, free: 83.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/1.582, allocations: 3.096 MB / 0.5539 GB, free: 83.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.583, allocations: 108.8 kB / 0.554 GB, free: 83.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.584, allocations: 1.683 MB / 0.5556 GB, free: 83.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002167/1.587, allocations: 1.5 MB / 0.5571 GB, free: 82.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004198/1.587, allocations: 85.12 kB / 0.5572 GB, free: 82.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003012/1.587, allocations: 478.1 kB / 0.5576 GB, free: 82.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00548/1.593, allocations: 2.083 MB / 0.5597 GB, free: 82.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006526/1.6, allocations: 2.743 MB / 0.5623 GB, free: 81.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/1.606, allocations: 2.574 MB / 0.5648 GB, free: 81.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.838e-05/1.607, allocations: 6.938 kB / 0.5649 GB, free: 81.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02228/1.629, allocations: 7.346 MB / 0.572 GB, free: 78.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001594/1.63, allocations: 7.145 MB / 0.579 GB, free: 71.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.609e-05/1.631, allocations: 16.75 kB / 0.579 GB, free: 71.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04732/1.678, allocations: 6.053 MB / 0.5849 GB, free: 70.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/1.684, allocations: 0.7637 MB / 0.5857 GB, free: 70.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/1.706, allocations: 12.47 MB / 0.5979 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007103/1.713, allocations: 396 kB / 0.5982 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.715, allocations: 155.6 kB / 0.5984 GB, free: 61.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.715, allocations: 4 kB / 0.5984 GB, free: 61.93 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02872/1.743, allocations: 7.93 MB / 0.6061 GB, free: 55.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.519e-05/1.744, allocations: 16 kB / 0.6061 GB, free: 55.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01823/1.762, allocations: 3.651 MB / 0.6097 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006234/1.768, allocations: 0.7751 MB / 0.6105 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07937/1.848, allocations: 33.74 MB / 0.6434 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008518/1.856, allocations: 359.6 kB / 0.6438 GB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.857, allocations: 148 kB / 0.6439 GB, free: 20.58 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.002363/1.86, allocations: 348.3 kB / 0.6442 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001888/1.862, allocations: 414.8 kB / 0.6446 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03272/1.895, allocations: 7.591 MB / 0.652 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-05/1.895, allocations: 44 kB / 0.6521 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/1.895, allocations: 0 / 0.6521 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000163/1.895, allocations: 27.41 kB / 0.6521 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3443/2.239, allocations: 12.68 MB / 0.6645 GB, free: 77.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.209e-05/2.239, allocations: 1.719 kB / 0.6645 GB, free: 77.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006474/2.246, allocations: 0.6158 MB / 0.6651 GB, free: 77.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04596/2.292, allocations: 5.96 MB / 0.6709 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/2.293, allocations: 114.1 kB / 0.671 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/2.314, allocations: 12.21 MB / 0.683 GB, free: 71.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/2.314, allocations: 6.219 kB / 0.683 GB, free: 71.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02977/2.344, allocations: 10.83 MB / 0.6935 GB, free: 71.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004651/2.348, allocations: 1.113 MB / 0.6946 GB, free: 71.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002221/2.351, allocations: 97.39 kB / 0.6947 GB, free: 71.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006457/2.357, allocations: 346.8 kB / 0.695 GB, free: 71.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001686/2.359, allocations: 372.4 kB / 0.6954 GB, free: 71.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000565/2.36, allocations: 121 kB / 0.6955 GB, free: 71.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005554/2.365, allocations: 2.413 MB / 0.6979 GB, free: 71.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.81e-07/2.365, allocations: 0 / 0.6979 GB, free: 71.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01144/2.377, allocations: 2.133 MB / 0.7 GB, free: 71.17 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.03842/2.415, allocations: 11.77 MB / 0.7115 GB, free: 69.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.05337/2.469, allocations: 12.19 MB / 0.7234 GB, free: 68.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/2.469, allocations: 0 / 0.7234 GB, free: 68.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02164/2.49, allocations: 3.748 MB / 0.727 GB, free: 68.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007286/2.498, allocations: 482.2 kB / 0.7275 GB, free: 68.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05922/2.557, allocations: 13.17 MB / 0.7403 GB, free: 65.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007314/2.564, allocations: 3.626 MB / 0.7439 GB, free: 64.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01462/2.579, allocations: 2.113 MB / 0.7459 GB, free: 63.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005211/2.584, allocations: 1.622 MB / 0.7475 GB, free: 62.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/2.584, allocations: 0 / 0.7475 GB, free: 62.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5898/3.174, allocations: 123.9 MB / 0.8685 GB, free: 90.97 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/3.175, allocations: 160.5 kB / 0.8687 GB, free: 90.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/11.32, allocations: 0 / 0.8687 GB, free: 90.75 MB / 442.7 MB