Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario1,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.968/1.968, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.15e-05, allocations: 6.188 kB / 270.8 MB, free: 4.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 48.05 MB / 318.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.5235, allocations: 82 MB / 400.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5239, allocations: 73.72 kB / 400.9 MB, free: 1.383 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.4224/0.9463, allocations: 94.97 MB / 495.9 MB, free: 9.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.9464, allocations: 4 kB / 495.9 MB, free: 9.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003728/0.9467, allocations: 91.98 kB / 496 MB, free: 9.559 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.02289/0.9696, allocations: 5.102 MB / 0.4893 GB, free: 4.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.9697, allocations: 12.03 kB / 0.4894 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002274/0.972, allocations: 0.5799 MB / 0.4899 GB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.9744, allocations: 0.5365 MB / 0.4904 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008233/0.9826, allocations: 2.413 MB / 0.4928 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/0.9832, allocations: 328.5 kB / 0.4931 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/0.9851, allocations: 436.3 kB / 0.4935 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/1.003, allocations: 5.284 MB / 0.4987 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/1.003, allocations: 0 / 0.4987 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007377/1.004, allocations: 168 kB / 0.4988 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/1.004, allocations: 111.9 kB / 0.499 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/1.021, allocations: 5.185 MB / 0.504 GB, free: 5.203 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.3381/1.359, allocations: 16.71 MB / 0.5203 GB, free: 85.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/1.375, allocations: 6.143 MB / 0.5263 GB, free: 85.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006741/1.382, allocations: 3.018 MB / 0.5293 GB, free: 85.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/1.383, allocations: 58.98 kB / 0.5293 GB, free: 85.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006139/1.389, allocations: 2.8 MB / 0.5321 GB, free: 85.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 7.474e-06/1.389, allocations: 0 / 0.5321 GB, free: 85.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08317/1.472, allocations: 19.29 MB / 0.5509 GB, free: 83.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/1.472, allocations: 119.7 kB / 0.551 GB, free: 83.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006126/1.478, allocations: 3.096 MB / 0.554 GB, free: 83.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009766/1.479, allocations: 112 kB / 0.5542 GB, free: 83.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/1.481, allocations: 1.681 MB / 0.5558 GB, free: 83.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002108/1.483, allocations: 1.498 MB / 0.5573 GB, free: 82.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/1.484, allocations: 81.25 kB / 0.5573 GB, free: 82.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002685/1.484, allocations: 491.7 kB / 0.5578 GB, free: 81.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00529/1.489, allocations: 2.082 MB / 0.5598 GB, free: 81.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006334/1.496, allocations: 2.739 MB / 0.5625 GB, free: 81.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006623/1.502, allocations: 2.573 MB / 0.565 GB, free: 81.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/1.502, allocations: 6.938 kB / 0.565 GB, free: 81.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02116/1.524, allocations: 7.357 MB / 0.5722 GB, free: 78.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001521/1.525, allocations: 7.145 MB / 0.5792 GB, free: 71.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-05/1.525, allocations: 14.62 kB / 0.5792 GB, free: 71.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04623/1.571, allocations: 6.05 MB / 0.5851 GB, free: 70.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/1.578, allocations: 0.7635 MB / 0.5859 GB, free: 70.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/1.6, allocations: 12.47 MB / 0.598 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/1.607, allocations: 401.8 kB / 0.5984 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.609, allocations: 159 kB / 0.5986 GB, free: 61.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.609, allocations: 4 kB / 0.5986 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02859/1.637, allocations: 7.927 MB / 0.6063 GB, free: 55.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-05/1.637, allocations: 23.95 kB / 0.6063 GB, free: 55.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01873/1.656, allocations: 3.645 MB / 0.6099 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00637/1.663, allocations: 0.7802 MB / 0.6107 GB, free: 52.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06764/1.73, allocations: 33.73 MB / 0.6436 GB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006301/1.737, allocations: 363.5 kB / 0.644 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008485/1.738, allocations: 152 kB / 0.6441 GB, free: 20.42 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.001272/1.739, allocations: 352.9 kB / 0.6444 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.74, allocations: 410.8 kB / 0.6448 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02151/1.761, allocations: 7.595 MB / 0.6522 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.56e-05/1.762, allocations: 47.98 kB / 0.6523 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.762, allocations: 0 / 0.6523 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/1.762, allocations: 19.92 kB / 0.6523 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3404/2.102, allocations: 12.65 MB / 0.6647 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.466e-05/2.102, allocations: 2.5 kB / 0.6647 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006433/2.109, allocations: 0.621 MB / 0.6653 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04418/2.153, allocations: 5.964 MB / 0.6711 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/2.154, allocations: 117.1 kB / 0.6712 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02081/2.175, allocations: 12.22 MB / 0.6831 GB, free: 71.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/2.175, allocations: 7.75 kB / 0.6832 GB, free: 71.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02769/2.203, allocations: 10.83 MB / 0.6937 GB, free: 71.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004246/2.207, allocations: 1.11 MB / 0.6948 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002083/2.209, allocations: 97.98 kB / 0.6949 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006313/2.215, allocations: 347.1 kB / 0.6952 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001669/2.217, allocations: 370 kB / 0.6956 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005319/2.218, allocations: 122.5 kB / 0.6957 GB, free: 71.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005351/2.223, allocations: 2.409 MB / 0.6981 GB, free: 71.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.223, allocations: 0 / 0.6981 GB, free: 71.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009861/2.233, allocations: 2.135 MB / 0.7001 GB, free: 71.13 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.02877/2.262, allocations: 11.79 MB / 0.7117 GB, free: 69.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04144/2.303, allocations: 12.17 MB / 0.7235 GB, free: 68.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/2.303, allocations: 3.312 kB / 0.7236 GB, free: 68.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01442/2.318, allocations: 3.745 MB / 0.7272 GB, free: 68.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/2.323, allocations: 489.1 kB / 0.7277 GB, free: 68.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/2.364, allocations: 13.17 MB / 0.7405 GB, free: 65.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004987/2.369, allocations: 3.631 MB / 0.7441 GB, free: 64.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01033/2.379, allocations: 2.119 MB / 0.7462 GB, free: 63.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003443/2.383, allocations: 1.626 MB / 0.7477 GB, free: 61.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/2.383, allocations: 4 kB / 0.7477 GB, free: 61.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6054/2.988, allocations: 123.9 MB / 0.8687 GB, free: 90.96 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/2.989, allocations: 156.8 kB / 0.8689 GB, free: 90.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/11.04, allocations: 0 / 0.8689 GB, free: 90.73 MB / 442.7 MB