Running command: "" <> buildModelFMU(MEV.Simulations.LinearControl.Scenario4,fileNamePrefix="MEV_MEV_Simulations_LinearControl_Scenario4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.178/2.178, allocations: 207.6 MB / 219.7 MB, free: 8.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.848e-05, allocations: 7.984 kB / 270.8 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 48.05 MB / 318.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.538, allocations: 81.96 MB / 400.8 MB, free: 1.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.5384, allocations: 77.83 kB / 400.9 MB, free: 1.328 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.9203/1.459, allocations: 147.1 MB / 0.5351 GB, free: 109.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.459, allocations: 0 / 0.5351 GB, free: 109.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004064/1.459, allocations: 92.06 kB / 0.5352 GB, free: 109.5 MB / 426.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/1.481, allocations: 5.082 MB / 0.5402 GB, free: 107.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.481, allocations: 7.562 kB / 0.5402 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002646/1.484, allocations: 0.5813 MB / 0.5408 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/1.487, allocations: 0.5383 MB / 0.5413 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008028/1.495, allocations: 2.414 MB / 0.5436 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005507/1.496, allocations: 332.5 kB / 0.544 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/1.498, allocations: 443.1 kB / 0.5444 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/1.517, allocations: 5.281 MB / 0.5495 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002522/1.517, allocations: 0 / 0.5495 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001524/1.519, allocations: 178 kB / 0.5497 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.043e-05/1.519, allocations: 100.5 kB / 0.5498 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/1.535, allocations: 5.191 MB / 0.5549 GB, free: 106.5 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.05691/1.592, allocations: 16.72 MB / 0.5712 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/1.609, allocations: 6.135 MB / 0.5772 GB, free: 97.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00739/1.616, allocations: 3.016 MB / 0.5801 GB, free: 95.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/1.617, allocations: 64.91 kB / 0.5802 GB, free: 95.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00752/1.625, allocations: 2.8 MB / 0.5829 GB, free: 92.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 1.015e-05/1.625, allocations: 0 / 0.5829 GB, free: 92.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08872/1.713, allocations: 19.29 MB / 0.6018 GB, free: 73.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.714, allocations: 110.9 kB / 0.6019 GB, free: 72.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006504/1.72, allocations: 3.097 MB / 0.6049 GB, free: 69.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.721, allocations: 113.7 kB / 0.605 GB, free: 69.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.723, allocations: 1.684 MB / 0.6066 GB, free: 68.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002118/1.725, allocations: 1.503 MB / 0.6081 GB, free: 66.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/1.725, allocations: 84 kB / 0.6082 GB, free: 66.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/1.726, allocations: 491.2 kB / 0.6087 GB, free: 66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00522/1.731, allocations: 2.077 MB / 0.6107 GB, free: 63.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005949/1.737, allocations: 2.734 MB / 0.6134 GB, free: 60.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006489/1.744, allocations: 2.588 MB / 0.6159 GB, free: 58.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.455e-05/1.744, allocations: 4 kB / 0.6159 GB, free: 58.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02081/1.764, allocations: 7.338 MB / 0.6231 GB, free: 50.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001466/1.766, allocations: 7.146 MB / 0.63 GB, free: 43.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.195e-05/1.766, allocations: 16 kB / 0.6301 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04598/1.812, allocations: 6.055 MB / 0.636 GB, free: 37.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006115/1.818, allocations: 0.7567 MB / 0.6367 GB, free: 36.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/1.84, allocations: 12.48 MB / 0.6489 GB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007008/1.847, allocations: 395.5 kB / 0.6493 GB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/1.848, allocations: 160 kB / 0.6494 GB, free: 22.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.848, allocations: 7.953 kB / 0.6494 GB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02806/1.876, allocations: 7.931 MB / 0.6572 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-05/1.876, allocations: 16 kB / 0.6572 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01806/1.894, allocations: 3.643 MB / 0.6607 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006207/1.9, allocations: 0.784 MB / 0.6615 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4071/2.307, allocations: 33.73 MB / 0.6945 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/2.314, allocations: 356.4 kB / 0.6948 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/2.315, allocations: 147.6 kB / 0.6949 GB, free: 94.81 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.001451/2.316, allocations: 350.8 kB / 0.6953 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/2.318, allocations: 421.8 kB / 0.6957 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02286/2.341, allocations: 7.581 MB / 0.7031 GB, free: 94.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/2.341, allocations: 45.47 kB / 0.7031 GB, free: 94.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/2.341, allocations: 3.953 kB / 0.7031 GB, free: 94.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/2.341, allocations: 25.83 kB / 0.7031 GB, free: 94.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03871/2.379, allocations: 12.66 MB / 0.7155 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.477e-05/2.38, allocations: 0 / 0.7155 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005939/2.386, allocations: 0.6236 MB / 0.7161 GB, free: 93.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04241/2.428, allocations: 5.954 MB / 0.7219 GB, free: 92.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001131/2.429, allocations: 118.2 kB / 0.7221 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/2.449, allocations: 12.23 MB / 0.734 GB, free: 84.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/2.449, allocations: 7.609 kB / 0.734 GB, free: 84.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02906/2.478, allocations: 10.84 MB / 0.7446 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004293/2.483, allocations: 1.116 MB / 0.7457 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/2.485, allocations: 102.1 kB / 0.7458 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006217/2.491, allocations: 341.7 kB / 0.7461 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001632/2.492, allocations: 368.7 kB / 0.7464 GB, free: 77.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004636/2.493, allocations: 123.4 kB / 0.7466 GB, free: 77.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005256/2.498, allocations: 2.412 MB / 0.7489 GB, free: 75.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.72e-07/2.498, allocations: 0 / 0.7489 GB, free: 75.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01081/2.509, allocations: 2.13 MB / 0.751 GB, free: 73.25 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.02904/2.538, allocations: 11.79 MB / 0.7625 GB, free: 63.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04006/2.578, allocations: 12.17 MB / 0.7744 GB, free: 51.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/2.578, allocations: 2.75 kB / 0.7744 GB, free: 51.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0139/2.592, allocations: 3.75 MB / 0.7781 GB, free: 47.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/2.597, allocations: 477.6 kB / 0.7785 GB, free: 47.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03805/2.635, allocations: 13.18 MB / 0.7914 GB, free: 34.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004312/2.639, allocations: 3.634 MB / 0.7949 GB, free: 30.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009696/2.649, allocations: 2.113 MB / 0.797 GB, free: 28.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003257/2.652, allocations: 1.624 MB / 0.7986 GB, free: 26.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/2.652, allocations: 4 kB / 0.7986 GB, free: 26.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.582/3.234, allocations: 123.9 MB / 0.9196 GB, free: 76.55 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/3.235, allocations: 161.9 kB / 0.9197 GB, free: 76.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/11.32, allocations: 4.062 kB / 0.9197 GB, free: 76.32 MB / 442.7 MB