Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario2,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.887/1.887, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.786e-05, allocations: 0 / 270.8 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09724, allocations: 48.05 MB / 318.8 MB, free: 4.234 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3964/0.4937, allocations: 82 MB / 400.9 MB, free: 1.738 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.494, allocations: 74.28 kB / 400.9 MB, free: 1.703 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.3888/0.8828, allocations: 90.33 MB / 491.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.8829, allocations: 0 / 491.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003703/0.8833, allocations: 96 kB / 491.3 MB, free: 14.33 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.02248/0.9058, allocations: 5.093 MB / 496.4 MB, free: 9.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.9058, allocations: 12.47 kB / 496.5 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002224/0.9081, allocations: 0.5838 MB / 497 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.9102, allocations: 0.5287 MB / 497.6 MB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008412/0.9187, allocations: 2.429 MB / 500 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/0.9193, allocations: 328.5 kB / 0.4886 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/0.9213, allocations: 439.9 kB / 0.489 GB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/0.9399, allocations: 5.276 MB / 0.4942 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.9401, allocations: 7.938 kB / 0.4942 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.9412, allocations: 172 kB / 0.4943 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.9413, allocations: 104 kB / 0.4944 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.9586, allocations: 5.189 MB / 0.4995 GB, free: 9.969 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.3335/1.292, allocations: 16.7 MB / 0.5158 GB, free: 86.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/1.311, allocations: 6.135 MB / 0.5218 GB, free: 86.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007696/1.319, allocations: 3.018 MB / 0.5247 GB, free: 86.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/1.319, allocations: 66.58 kB / 0.5248 GB, free: 86.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007447/1.327, allocations: 2.789 MB / 0.5275 GB, free: 86.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 9.467e-06/1.327, allocations: 0 / 0.5275 GB, free: 86.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.09198/1.419, allocations: 19.3 MB / 0.5464 GB, free: 84.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.419, allocations: 108.3 kB / 0.5465 GB, free: 84.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006971/1.426, allocations: 3.104 MB / 0.5495 GB, free: 84.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009845/1.427, allocations: 111.4 kB / 0.5496 GB, free: 84.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001971/1.429, allocations: 1.684 MB / 0.5513 GB, free: 84.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002201/1.431, allocations: 1.498 MB / 0.5527 GB, free: 83.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005345/1.432, allocations: 88.94 kB / 0.5528 GB, free: 83.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000316/1.432, allocations: 484.1 kB / 0.5533 GB, free: 83.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/1.438, allocations: 2.079 MB / 0.5553 GB, free: 83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006496/1.444, allocations: 2.739 MB / 0.558 GB, free: 82.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006771/1.451, allocations: 2.575 MB / 0.5605 GB, free: 82.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.904e-05/1.451, allocations: 11.03 kB / 0.5605 GB, free: 82.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02149/1.473, allocations: 7.342 MB / 0.5677 GB, free: 80.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001633/1.474, allocations: 7.145 MB / 0.5747 GB, free: 72.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/1.474, allocations: 14.97 kB / 0.5747 GB, free: 72.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04599/1.52, allocations: 6.058 MB / 0.5806 GB, free: 71.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006134/1.527, allocations: 0.7587 MB / 0.5813 GB, free: 71.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/1.548, allocations: 12.48 MB / 0.5935 GB, free: 64.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007021/1.555, allocations: 400.1 kB / 0.5939 GB, free: 64.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.557, allocations: 164.5 kB / 0.594 GB, free: 64.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/1.557, allocations: 3.969 kB / 0.5941 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02785/1.585, allocations: 7.926 MB / 0.6018 GB, free: 59.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.762e-05/1.585, allocations: 16 kB / 0.6018 GB, free: 59.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01794/1.603, allocations: 3.649 MB / 0.6054 GB, free: 57.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006095/1.609, allocations: 0.7838 MB / 0.6061 GB, free: 56.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06567/1.674, allocations: 33.74 MB / 0.6391 GB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006105/1.681, allocations: 371.5 kB / 0.6394 GB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007364/1.681, allocations: 144 kB / 0.6396 GB, free: 25.36 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.001206/1.683, allocations: 341.5 kB / 0.6399 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.684, allocations: 410.8 kB / 0.6403 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/1.705, allocations: 7.603 MB / 0.6477 GB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.723e-05/1.705, allocations: 48 kB / 0.6478 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.705, allocations: 0 / 0.6478 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001173/1.705, allocations: 23.92 kB / 0.6478 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03571/1.741, allocations: 12.66 MB / 0.6602 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.845e-05/1.741, allocations: 0 / 0.6602 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006/1.747, allocations: 0.6243 MB / 0.6608 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3282/2.075, allocations: 5.959 MB / 0.6666 GB, free: 82.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001183/2.076, allocations: 107 kB / 0.6667 GB, free: 82.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/2.098, allocations: 12.23 MB / 0.6786 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/2.098, allocations: 1.406 kB / 0.6786 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02929/2.127, allocations: 10.83 MB / 0.6892 GB, free: 75.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004338/2.132, allocations: 1.114 MB / 0.6903 GB, free: 75.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/2.133, allocations: 98.84 kB / 0.6904 GB, free: 75.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006101/2.139, allocations: 343.8 kB / 0.6907 GB, free: 75.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001613/2.141, allocations: 373.5 kB / 0.6911 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000459/2.141, allocations: 121.4 kB / 0.6912 GB, free: 75.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00533/2.147, allocations: 2.413 MB / 0.6935 GB, free: 75.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.71e-07/2.147, allocations: 0 / 0.6935 GB, free: 75.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01031/2.157, allocations: 2.135 MB / 0.6956 GB, free: 75.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.02968/2.187, allocations: 11.78 MB / 0.7071 GB, free: 74.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04036/2.227, allocations: 12.18 MB / 0.719 GB, free: 73.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/2.227, allocations: 0 / 0.719 GB, free: 73.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01389/2.241, allocations: 3.746 MB / 0.7227 GB, free: 73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/2.246, allocations: 490.9 kB / 0.7231 GB, free: 72.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03763/2.283, allocations: 13.17 MB / 0.736 GB, free: 70.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00431/2.288, allocations: 3.634 MB / 0.7396 GB, free: 68.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00975/2.298, allocations: 2.112 MB / 0.7416 GB, free: 68.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003261/2.301, allocations: 1.613 MB / 0.7432 GB, free: 66.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/2.301, allocations: 0 / 0.7432 GB, free: 66.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5567/2.858, allocations: 123.9 MB / 0.8642 GB, free: 92.58 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/2.858, allocations: 156.8 kB / 0.8644 GB, free: 92.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/10.85, allocations: 4 kB / 0.8644 GB, free: 92.35 MB / 442.7 MB