Running command: "" <> buildModelFMU(MEV.Simulations.LinearControl.Scenario2,fileNamePrefix="MEV_MEV_Simulations_LinearControl_Scenario2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.015/2.015, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.156e-05, allocations: 7.984 kB / 270.8 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 48.05 MB / 318.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5689, allocations: 81.94 MB / 400.8 MB, free: 1.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5693, allocations: 84.45 kB / 400.9 MB, free: 1.359 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.4038/0.9731, allocations: 90.14 MB / 491 MB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9732, allocations: 4 kB / 491 MB, free: 14.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004124/0.9736, allocations: 95.98 kB / 491.1 MB, free: 14.44 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.02438/0.998, allocations: 5.075 MB / 496.2 MB, free: 9.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.9981, allocations: 16.03 kB / 496.2 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002417/1.001, allocations: 0.5799 MB / 496.8 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/1.003, allocations: 0.5327 MB / 497.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008476/1.011, allocations: 2.429 MB / 499.7 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005082/1.012, allocations: 328.5 kB / 0.4883 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/1.014, allocations: 435.9 kB / 0.4888 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/1.032, allocations: 5.28 MB / 0.4939 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/1.032, allocations: 0 / 0.4939 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/1.033, allocations: 172 kB / 0.4941 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/1.033, allocations: 104.4 kB / 0.4942 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/1.052, allocations: 5.193 MB / 0.4993 GB, free: 10.1 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.3795/1.431, allocations: 16.71 MB / 0.5156 GB, free: 86.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/1.455, allocations: 6.134 MB / 0.5216 GB, free: 86.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007757/1.462, allocations: 3.021 MB / 0.5245 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/1.463, allocations: 62.59 kB / 0.5246 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007089/1.47, allocations: 2.794 MB / 0.5273 GB, free: 86.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 9.378e-06/1.47, allocations: 0 / 0.5273 GB, free: 86.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08642/1.557, allocations: 19.3 MB / 0.5462 GB, free: 84.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.557, allocations: 108.6 kB / 0.5463 GB, free: 84.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006246/1.563, allocations: 3.103 MB / 0.5493 GB, free: 84.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009617/1.564, allocations: 110.3 kB / 0.5494 GB, free: 84.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.566, allocations: 1.683 MB / 0.551 GB, free: 83.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002175/1.568, allocations: 1.499 MB / 0.5525 GB, free: 82.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/1.568, allocations: 84.34 kB / 0.5526 GB, free: 82.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002917/1.569, allocations: 483.2 kB / 0.553 GB, free: 82.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005303/1.574, allocations: 2.085 MB / 0.5551 GB, free: 82.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006295/1.58, allocations: 2.735 MB / 0.5578 GB, free: 81.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006988/1.587, allocations: 2.579 MB / 0.5603 GB, free: 81.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-05/1.588, allocations: 3.625 kB / 0.5603 GB, free: 81.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02119/1.609, allocations: 7.345 MB / 0.5674 GB, free: 80.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001586/1.61, allocations: 7.147 MB / 0.5744 GB, free: 72.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-05/1.61, allocations: 16.06 kB / 0.5744 GB, free: 72.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04638/1.657, allocations: 6.053 MB / 0.5804 GB, free: 71.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/1.663, allocations: 0.7576 MB / 0.5811 GB, free: 71.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/1.685, allocations: 12.48 MB / 0.5933 GB, free: 64.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.691, allocations: 398.3 kB / 0.5937 GB, free: 63.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.693, allocations: 161.2 kB / 0.5938 GB, free: 63.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.693, allocations: 3.969 kB / 0.5938 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02614/1.719, allocations: 7.93 MB / 0.6016 GB, free: 59.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.862e-05/1.719, allocations: 16 kB / 0.6016 GB, free: 59.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01833/1.737, allocations: 3.646 MB / 0.6051 GB, free: 57.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006232/1.744, allocations: 0.7798 MB / 0.6059 GB, free: 56.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06534/1.809, allocations: 33.74 MB / 0.6388 GB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006076/1.815, allocations: 367.7 kB / 0.6392 GB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007833/1.816, allocations: 143.9 kB / 0.6393 GB, free: 25.39 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.00127/1.817, allocations: 345.5 kB / 0.6397 GB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.818, allocations: 410.8 kB / 0.6401 GB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02124/1.839, allocations: 7.6 MB / 0.6475 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-05/1.84, allocations: 44 kB / 0.6475 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.84, allocations: 7.375 kB / 0.6475 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/1.84, allocations: 23.92 kB / 0.6475 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05152/1.891, allocations: 12.67 MB / 0.6599 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-05/1.891, allocations: 2.5 kB / 0.6599 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01721/1.909, allocations: 0.6204 MB / 0.6605 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3747/2.283, allocations: 5.955 MB / 0.6663 GB, free: 81.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/2.285, allocations: 110.8 kB / 0.6665 GB, free: 81.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/2.306, allocations: 12.22 MB / 0.6784 GB, free: 76.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.307, allocations: 2.25 kB / 0.6784 GB, free: 76.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02855/2.335, allocations: 10.83 MB / 0.689 GB, free: 75.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004036/2.339, allocations: 1.118 MB / 0.6901 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/2.341, allocations: 100 kB / 0.6902 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006037/2.347, allocations: 336.2 kB / 0.6905 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/2.348, allocations: 373.4 kB / 0.6908 GB, free: 75.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004119/2.349, allocations: 124 kB / 0.691 GB, free: 75.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005049/2.354, allocations: 2.409 MB / 0.6933 GB, free: 75.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/2.354, allocations: 6.875 kB / 0.6933 GB, free: 75.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009691/2.364, allocations: 2.131 MB / 0.6954 GB, free: 75.38 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.02853/2.392, allocations: 11.78 MB / 0.7069 GB, free: 74.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04867/2.441, allocations: 12.18 MB / 0.7188 GB, free: 72.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.441, allocations: 3.844 kB / 0.7188 GB, free: 72.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01558/2.457, allocations: 3.743 MB / 0.7224 GB, free: 72.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005931/2.463, allocations: 483.4 kB / 0.7229 GB, free: 72.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06539/2.528, allocations: 13.17 MB / 0.7358 GB, free: 69.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01414/2.542, allocations: 3.635 MB / 0.7393 GB, free: 68.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.02039/2.563, allocations: 2.116 MB / 0.7414 GB, free: 68.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003669/2.566, allocations: 1.625 MB / 0.743 GB, free: 66.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.315e-06/2.566, allocations: 0 / 0.743 GB, free: 66.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.575/3.141, allocations: 123.9 MB / 0.864 GB, free: 92.34 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/3.142, allocations: 168.4 kB / 0.8641 GB, free: 92.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/11.28, allocations: 0 / 0.8641 GB, free: 92.11 MB / 442.7 MB