Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario3,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.905/1.905, allocations: 207.6 MB / 219.7 MB, free: 8.059 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.72e-05, allocations: 0 / 270.8 MB, free: 4.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.09966, allocations: 48.05 MB / 318.9 MB, free: 4.238 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.501, allocations: 81.98 MB / 400.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5014, allocations: 85.27 kB / 400.9 MB, free: 1.363 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.3817/0.8831, allocations: 90.32 MB / 491.2 MB, free: 14.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.8832, allocations: 0 / 491.2 MB, free: 14.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003468/0.8835, allocations: 95.98 kB / 491.3 MB, free: 14.25 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.02186/0.9054, allocations: 5.091 MB / 496.4 MB, free: 9.086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.9055, allocations: 8.031 kB / 496.4 MB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002014/0.9075, allocations: 0.5876 MB / 497 MB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.9093, allocations: 0.5327 MB / 497.5 MB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007613/0.9169, allocations: 2.417 MB / 500 MB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004331/0.9174, allocations: 340.4 kB / 0.4886 GB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.9188, allocations: 435.8 kB / 0.489 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/0.9347, allocations: 5.284 MB / 0.4941 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.9349, allocations: 0 / 0.4941 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006972/0.9356, allocations: 172.4 kB / 0.4943 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.9357, allocations: 104 kB / 0.4944 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.952, allocations: 5.181 MB / 0.4995 GB, free: 9.902 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.3214/1.273, allocations: 16.71 MB / 0.5158 GB, free: 85.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.29, allocations: 6.136 MB / 0.5218 GB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007002/1.297, allocations: 3.023 MB / 0.5247 GB, free: 85.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/1.298, allocations: 64.16 kB / 0.5248 GB, free: 85.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006177/1.304, allocations: 2.792 MB / 0.5275 GB, free: 85.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 7.955e-06/1.304, allocations: 0 / 0.5275 GB, free: 85.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08022/1.384, allocations: 19.3 MB / 0.5464 GB, free: 84.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/1.384, allocations: 111.9 kB / 0.5465 GB, free: 84.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/1.39, allocations: 3.099 MB / 0.5495 GB, free: 83.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000921/1.391, allocations: 113.6 kB / 0.5496 GB, free: 83.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.393, allocations: 1.682 MB / 0.5512 GB, free: 83.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001938/1.395, allocations: 1.496 MB / 0.5527 GB, free: 82.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/1.395, allocations: 82.56 kB / 0.5528 GB, free: 82.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/1.395, allocations: 488 kB / 0.5533 GB, free: 82.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004886/1.4, allocations: 2.085 MB / 0.5553 GB, free: 82.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/1.406, allocations: 2.743 MB / 0.558 GB, free: 81.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005909/1.412, allocations: 2.574 MB / 0.5605 GB, free: 81.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/1.412, allocations: 3.531 kB / 0.5605 GB, free: 81.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.01857/1.43, allocations: 7.352 MB / 0.5677 GB, free: 79.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001353/1.432, allocations: 7.136 MB / 0.5746 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.104e-05/1.432, allocations: 15.34 kB / 0.5746 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04464/1.476, allocations: 6.052 MB / 0.5806 GB, free: 71.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005902/1.482, allocations: 0.7643 MB / 0.5813 GB, free: 71.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/1.503, allocations: 12.48 MB / 0.5935 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006452/1.509, allocations: 398.2 kB / 0.5939 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/1.51, allocations: 157.5 kB / 0.594 GB, free: 63.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.51, allocations: 3.281 kB / 0.594 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02488/1.535, allocations: 7.929 MB / 0.6018 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-05/1.535, allocations: 19.52 kB / 0.6018 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01744/1.553, allocations: 3.649 MB / 0.6054 GB, free: 56.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005975/1.559, allocations: 0.7771 MB / 0.6061 GB, free: 56.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0628/1.621, allocations: 33.76 MB / 0.6391 GB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005868/1.627, allocations: 363.6 kB / 0.6394 GB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005075/1.628, allocations: 140 kB / 0.6396 GB, free: 25.19 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.001184/1.629, allocations: 349.6 kB / 0.6399 GB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009043/1.63, allocations: 414.8 kB / 0.6403 GB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/1.649, allocations: 7.591 MB / 0.6477 GB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/1.649, allocations: 44 kB / 0.6477 GB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.649, allocations: 7.391 kB / 0.6477 GB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.66e-05/1.649, allocations: 27.91 kB / 0.6478 GB, free: 16.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03121/1.681, allocations: 12.66 MB / 0.6601 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.681, allocations: 0 / 0.6601 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005762/1.687, allocations: 0.628 MB / 0.6608 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3189/2.005, allocations: 5.951 MB / 0.6666 GB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/2.007, allocations: 110 kB / 0.6667 GB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/2.027, allocations: 12.23 MB / 0.6786 GB, free: 75.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.027, allocations: 1.25 kB / 0.6786 GB, free: 75.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02621/2.053, allocations: 10.84 MB / 0.6892 GB, free: 75.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003691/2.057, allocations: 1.114 MB / 0.6903 GB, free: 75.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/2.058, allocations: 99.41 kB / 0.6904 GB, free: 75.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004991/2.063, allocations: 342.5 kB / 0.6907 GB, free: 75.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/2.064, allocations: 371.1 kB / 0.6911 GB, free: 75.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003802/2.065, allocations: 123 kB / 0.6912 GB, free: 75.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00459/2.069, allocations: 2.408 MB / 0.6935 GB, free: 74.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.81e-07/2.069, allocations: 0 / 0.6935 GB, free: 74.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01094/2.08, allocations: 2.133 MB / 0.6956 GB, free: 74.91 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.03124/2.112, allocations: 11.78 MB / 0.7071 GB, free: 73.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04028/2.152, allocations: 12.18 MB / 0.719 GB, free: 72.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/2.152, allocations: 0 / 0.719 GB, free: 72.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01386/2.166, allocations: 3.746 MB / 0.7227 GB, free: 72.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/2.17, allocations: 479.3 kB / 0.7231 GB, free: 72.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03787/2.208, allocations: 13.17 MB / 0.736 GB, free: 69.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005538/2.214, allocations: 3.63 MB / 0.7395 GB, free: 68.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01503/2.229, allocations: 2.114 MB / 0.7416 GB, free: 67.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004771/2.234, allocations: 1.626 MB / 0.7432 GB, free: 66.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.234e-06/2.234, allocations: 0 / 0.7432 GB, free: 66.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5482/2.782, allocations: 123.9 MB / 0.8642 GB, free: 92.04 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/2.782, allocations: 160.8 kB / 0.8643 GB, free: 91.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/10.82, allocations: 3.906 kB / 0.8644 GB, free: 91.81 MB / 442.7 MB