Running command: "" <> buildModelFMU(MEV.Simulations.LinearControl.Scenario5,fileNamePrefix="MEV_MEV_Simulations_LinearControl_Scenario5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.119/2.119, allocations: 207.6 MB / 219.8 MB, free: 8.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.173e-05, allocations: 4 kB / 270.8 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 48.06 MB / 318.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.5409, allocations: 81.96 MB / 400.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.5413, allocations: 74.78 kB / 400.9 MB, free: 1.32 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.4209/0.9622, allocations: 90.6 MB / 491.5 MB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9623, allocations: 4 kB / 491.5 MB, free: 14.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004166/0.9627, allocations: 95.98 kB / 491.6 MB, free: 13.91 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.02367/0.9864, allocations: 5.075 MB / 496.7 MB, free: 8.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.9865, allocations: 12.03 kB / 496.7 MB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002486/0.989, allocations: 0.576 MB / 497.3 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.991, allocations: 0.5366 MB / 497.8 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008415/0.9995, allocations: 2.425 MB / 0.4885 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005196/1, allocations: 336.5 kB / 0.4888 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/1.002, allocations: 439.8 kB / 0.4892 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/1.02, allocations: 5.281 MB / 0.4944 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/1.02, allocations: 4 kB / 0.4944 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007156/1.021, allocations: 168 kB / 0.4946 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.021, allocations: 100.4 kB / 0.4947 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/1.039, allocations: 5.193 MB / 0.4997 GB, free: 9.57 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.3496/1.388, allocations: 16.71 MB / 0.516 GB, free: 85.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01886/1.407, allocations: 6.142 MB / 0.522 GB, free: 85.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007739/1.415, allocations: 3.015 MB / 0.525 GB, free: 85.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/1.416, allocations: 62.48 kB / 0.525 GB, free: 85.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006626/1.422, allocations: 2.795 MB / 0.5278 GB, free: 85.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 8.325e-06/1.422, allocations: 0 / 0.5278 GB, free: 85.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08744/1.51, allocations: 19.3 MB / 0.5466 GB, free: 83.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.51, allocations: 110.6 kB / 0.5467 GB, free: 83.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006921/1.517, allocations: 3.108 MB / 0.5498 GB, free: 83.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.518, allocations: 112.4 kB / 0.5499 GB, free: 83.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.52, allocations: 1.68 MB / 0.5515 GB, free: 83.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002291/1.522, allocations: 1.494 MB / 0.553 GB, free: 82.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/1.523, allocations: 86.69 kB / 0.5531 GB, free: 82.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003519/1.523, allocations: 483.4 kB / 0.5535 GB, free: 82.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005856/1.529, allocations: 2.083 MB / 0.5555 GB, free: 82.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006657/1.536, allocations: 2.736 MB / 0.5582 GB, free: 81.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/1.543, allocations: 2.577 MB / 0.5607 GB, free: 81.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-05/1.543, allocations: 3.469 kB / 0.5607 GB, free: 81.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.0217/1.565, allocations: 7.351 MB / 0.5679 GB, free: 79.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001553/1.566, allocations: 7.142 MB / 0.5749 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.378e-05/1.566, allocations: 16.59 kB / 0.5749 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04786/1.614, allocations: 6.048 MB / 0.5808 GB, free: 70.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/1.621, allocations: 0.762 MB / 0.5816 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/1.643, allocations: 12.48 MB / 0.5937 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.651, allocations: 391.3 kB / 0.5941 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.652, allocations: 168.1 kB / 0.5943 GB, free: 63.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.652, allocations: 6.25 kB / 0.5943 GB, free: 63.14 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02934/1.681, allocations: 7.928 MB / 0.602 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.578e-05/1.681, allocations: 16 kB / 0.602 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02108/1.703, allocations: 3.647 MB / 0.6056 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008983/1.712, allocations: 0.7762 MB / 0.6064 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08565/1.797, allocations: 33.75 MB / 0.6393 GB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006417/1.804, allocations: 355.6 kB / 0.6397 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009769/1.805, allocations: 140 kB / 0.6398 GB, free: 23.95 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.001374/1.806, allocations: 356.1 kB / 0.6401 GB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.807, allocations: 410.8 kB / 0.6405 GB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02215/1.829, allocations: 7.594 MB / 0.6479 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/1.83, allocations: 47.03 kB / 0.648 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.83, allocations: 7.219 kB / 0.648 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001238/1.83, allocations: 19.92 kB / 0.648 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03645/1.866, allocations: 12.68 MB / 0.6604 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-05/1.866, allocations: 4 kB / 0.6604 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006078/1.872, allocations: 0.618 MB / 0.661 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.045/1.917, allocations: 5.957 MB / 0.6668 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/1.919, allocations: 111.9 kB / 0.6669 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.318/2.237, allocations: 12.22 MB / 0.6789 GB, free: 96.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/2.237, allocations: 1.953 kB / 0.6789 GB, free: 96.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03333/2.27, allocations: 10.83 MB / 0.6894 GB, free: 96.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004297/2.274, allocations: 1.123 MB / 0.6905 GB, free: 96.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/2.276, allocations: 98.38 kB / 0.6906 GB, free: 96.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006392/2.283, allocations: 343.8 kB / 0.691 GB, free: 96.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001727/2.284, allocations: 365.9 kB / 0.6913 GB, free: 96.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006181/2.285, allocations: 122.3 kB / 0.6914 GB, free: 96.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006017/2.291, allocations: 2.411 MB / 0.6938 GB, free: 96.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.553e-06/2.291, allocations: 0 / 0.6938 GB, free: 96.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01093/2.302, allocations: 2.135 MB / 0.6959 GB, free: 96.04 MB / 442.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.03015/2.332, allocations: 11.78 MB / 0.7074 GB, free: 94.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04152/2.374, allocations: 12.17 MB / 0.7192 GB, free: 93.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/2.374, allocations: 0 / 0.7192 GB, free: 93.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01443/2.388, allocations: 3.752 MB / 0.7229 GB, free: 93.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/2.393, allocations: 480.1 kB / 0.7234 GB, free: 93.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04008/2.433, allocations: 13.18 MB / 0.7362 GB, free: 90.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005451/2.439, allocations: 3.626 MB / 0.7398 GB, free: 89.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01057/2.449, allocations: 2.113 MB / 0.7418 GB, free: 89.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003501/2.453, allocations: 1.622 MB / 0.7434 GB, free: 89.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/2.453, allocations: 0 / 0.7434 GB, free: 89.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.58/3.033, allocations: 123.9 MB / 0.8644 GB, free: 85.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/3.033, allocations: 164.6 kB / 0.8646 GB, free: 85.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/11, allocations: 3.781 kB / 0.8646 GB, free: 85.27 MB / 442.7 MB