Running command: "" <> buildModelFMU(MEV.Simulations.LinearControl.Scenario6,fileNamePrefix="MEV_MEV_Simulations_LinearControl_Scenario6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.082/2.082, allocations: 207.6 MB / 219.8 MB, free: 8.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.997e-05, allocations: 0 / 270.8 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.06 MB / 318.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.54, allocations: 81.98 MB / 400.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.5404, allocations: 81.89 kB / 400.9 MB, free: 1.309 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.436/0.9764, allocations: 92.5 MB / 493.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9765, allocations: 0 / 493.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003361/0.9769, allocations: 92 kB / 493.5 MB, free: 12.04 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.02208/0.9989, allocations: 5.067 MB / 498.6 MB, free: 6.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.999, allocations: 12.03 kB / 498.6 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002121/1.001, allocations: 0.5799 MB / 499.2 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/1.003, allocations: 0.5327 MB / 499.7 MB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007891/1.011, allocations: 2.405 MB / 0.4903 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005235/1.011, allocations: 336.5 kB / 0.4907 GB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/1.013, allocations: 435.8 kB / 0.4911 GB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/1.032, allocations: 5.28 MB / 0.4962 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/1.032, allocations: 3.953 kB / 0.4962 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008032/1.033, allocations: 176.4 kB / 0.4964 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/1.033, allocations: 100 kB / 0.4965 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/1.051, allocations: 5.185 MB / 0.5016 GB, free: 7.723 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.3687/1.419, allocations: 16.7 MB / 0.5179 GB, free: 87.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/1.437, allocations: 6.141 MB / 0.5239 GB, free: 87.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007147/1.444, allocations: 3.012 MB / 0.5268 GB, free: 87.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/1.445, allocations: 66.75 kB / 0.5269 GB, free: 87.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006925/1.452, allocations: 2.797 MB / 0.5296 GB, free: 87.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 8.445e-06/1.452, allocations: 0 / 0.5296 GB, free: 87.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.1049/1.556, allocations: 19.29 MB / 0.5484 GB, free: 86.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/1.557, allocations: 107.3 kB / 0.5485 GB, free: 85.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006155/1.563, allocations: 3.072 MB / 0.5515 GB, free: 85.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009739/1.564, allocations: 111.1 kB / 0.5517 GB, free: 85.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.566, allocations: 1.669 MB / 0.5533 GB, free: 85.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002136/1.568, allocations: 1.494 MB / 0.5547 GB, free: 84.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/1.568, allocations: 89.44 kB / 0.5548 GB, free: 84.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002739/1.568, allocations: 481 kB / 0.5553 GB, free: 84.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/1.574, allocations: 2.079 MB / 0.5573 GB, free: 84.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005981/1.58, allocations: 2.738 MB / 0.56 GB, free: 83.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/1.586, allocations: 2.583 MB / 0.5625 GB, free: 83.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-05/1.586, allocations: 3.625 kB / 0.5625 GB, free: 83.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02037/1.607, allocations: 7.345 MB / 0.5697 GB, free: 80.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00161/1.608, allocations: 7.128 MB / 0.5766 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/1.609, allocations: 18.03 kB / 0.5767 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04653/1.655, allocations: 6.048 MB / 0.5826 GB, free: 72.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006243/1.661, allocations: 0.7636 MB / 0.5833 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/1.683, allocations: 12.47 MB / 0.5955 GB, free: 64.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006873/1.69, allocations: 398.4 kB / 0.5959 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009426/1.691, allocations: 161 kB / 0.596 GB, free: 64.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.691, allocations: 4 kB / 0.596 GB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02652/1.717, allocations: 7.933 MB / 0.6038 GB, free: 58.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.332e-05/1.717, allocations: 18.81 kB / 0.6038 GB, free: 58.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0183/1.736, allocations: 3.649 MB / 0.6074 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006327/1.742, allocations: 0.7751 MB / 0.6081 GB, free: 55.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06787/1.81, allocations: 33.74 MB / 0.6411 GB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006713/1.817, allocations: 367.5 kB / 0.6414 GB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/1.818, allocations: 144 kB / 0.6416 GB, free: 23.15 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.001396/1.819, allocations: 349.4 kB / 0.6419 GB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.82, allocations: 414.8 kB / 0.6423 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/1.843, allocations: 7.582 MB / 0.6497 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/1.844, allocations: 44 kB / 0.6497 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.844, allocations: 3.391 kB / 0.6497 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001365/1.844, allocations: 23.92 kB / 0.6498 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03752/1.881, allocations: 12.66 MB / 0.6621 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.263e-05/1.881, allocations: 3.062 kB / 0.6621 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006118/1.888, allocations: 0.6243 MB / 0.6627 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3432/2.231, allocations: 5.958 MB / 0.6685 GB, free: 82.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/2.232, allocations: 111.4 kB / 0.6687 GB, free: 82.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/2.253, allocations: 12.23 MB / 0.6806 GB, free: 76.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/2.253, allocations: 5 kB / 0.6806 GB, free: 76.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0279/2.281, allocations: 10.83 MB / 0.6912 GB, free: 75.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00401/2.285, allocations: 1.112 MB / 0.6923 GB, free: 75.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.286, allocations: 98.45 kB / 0.6923 GB, free: 75.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005396/2.292, allocations: 343.2 kB / 0.6927 GB, free: 75.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/2.293, allocations: 372.7 kB / 0.693 GB, free: 75.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003825/2.293, allocations: 124.6 kB / 0.6931 GB, free: 75.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004979/2.298, allocations: 2.39 MB / 0.6955 GB, free: 75.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.298, allocations: 0 / 0.6955 GB, free: 75.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009952/2.308, allocations: 2.129 MB / 0.6976 GB, free: 75.5 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.02772/2.336, allocations: 11.77 MB / 0.7091 GB, free: 74.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04107/2.377, allocations: 12.18 MB / 0.7209 GB, free: 72.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/2.377, allocations: 0 / 0.7209 GB, free: 72.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01386/2.391, allocations: 3.745 MB / 0.7246 GB, free: 72.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/2.396, allocations: 492.1 kB / 0.7251 GB, free: 72.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03571/2.431, allocations: 13.15 MB / 0.7379 GB, free: 69.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/2.435, allocations: 3.634 MB / 0.7415 GB, free: 68.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009367/2.445, allocations: 2.109 MB / 0.7435 GB, free: 66.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003042/2.448, allocations: 1.607 MB / 0.7451 GB, free: 65.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/2.448, allocations: 0 / 0.7451 GB, free: 65.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5582/3.006, allocations: 123.5 MB / 0.8657 GB, free: 92.36 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/3.006, allocations: 172.4 kB / 0.8658 GB, free: 92.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/11.2, allocations: 0 / 0.8658 GB, free: 92.13 MB / 442.7 MB