Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario6,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.913/1.913, allocations: 207.6 MB / 219.8 MB, free: 8.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.728e-05, allocations: 4 kB / 270.8 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.05 MB / 318.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4309/0.537, allocations: 81.92 MB / 400.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.5373, allocations: 82.27 kB / 400.8 MB, free: 1.352 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.4288/0.9661, allocations: 92.68 MB / 493.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.9662, allocations: 0 / 493.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00042/0.9666, allocations: 92 kB / 493.6 MB, free: 11.93 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.02375/0.9904, allocations: 5.066 MB / 498.7 MB, free: 6.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.9905, allocations: 8.031 kB / 498.7 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002683/0.9932, allocations: 0.5838 MB / 499.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/0.9966, allocations: 0.5326 MB / 499.8 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009331/1.006, allocations: 2.409 MB / 0.4904 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005907/1.007, allocations: 336.5 kB / 0.4908 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/1.009, allocations: 443.8 kB / 0.4912 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/1.027, allocations: 5.281 MB / 0.4963 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/1.028, allocations: 3.953 kB / 0.4963 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000748/1.028, allocations: 168 kB / 0.4965 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/1.028, allocations: 104 kB / 0.4966 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/1.046, allocations: 5.193 MB / 0.5017 GB, free: 7.605 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.3519/1.398, allocations: 16.69 MB / 0.518 GB, free: 87.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/1.415, allocations: 6.132 MB / 0.524 GB, free: 87.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007274/1.423, allocations: 3.016 MB / 0.5269 GB, free: 87.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/1.423, allocations: 67.17 kB / 0.527 GB, free: 87.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007274/1.43, allocations: 2.79 MB / 0.5297 GB, free: 87.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 8.737e-06/1.43, allocations: 0 / 0.5297 GB, free: 87.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08914/1.52, allocations: 19.29 MB / 0.5485 GB, free: 85.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/1.52, allocations: 113.8 kB / 0.5486 GB, free: 85.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006015/1.526, allocations: 3.07 MB / 0.5516 GB, free: 85.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009718/1.527, allocations: 108.4 kB / 0.5517 GB, free: 85.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/1.529, allocations: 1.664 MB / 0.5534 GB, free: 85.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002084/1.531, allocations: 1.501 MB / 0.5548 GB, free: 84.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/1.531, allocations: 83.91 kB / 0.5549 GB, free: 84.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/1.531, allocations: 485.6 kB / 0.5554 GB, free: 84.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.536, allocations: 2.087 MB / 0.5574 GB, free: 84.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005848/1.542, allocations: 2.735 MB / 0.5601 GB, free: 83.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/1.549, allocations: 2.584 MB / 0.5626 GB, free: 83.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.82e-05/1.549, allocations: 11.44 kB / 0.5626 GB, free: 83.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02064/1.57, allocations: 7.34 MB / 0.5698 GB, free: 80.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001515/1.571, allocations: 7.125 MB / 0.5768 GB, free: 73.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-05/1.571, allocations: 15.88 kB / 0.5768 GB, free: 73.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0454/1.617, allocations: 6.051 MB / 0.5827 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006052/1.623, allocations: 0.7634 MB / 0.5834 GB, free: 72.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/1.644, allocations: 12.48 MB / 0.5956 GB, free: 64.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007187/1.651, allocations: 396.2 kB / 0.596 GB, free: 64.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.652, allocations: 158.2 kB / 0.5961 GB, free: 64.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.652, allocations: 4 kB / 0.5961 GB, free: 64.57 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02652/1.679, allocations: 7.928 MB / 0.6039 GB, free: 58.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.191e-05/1.679, allocations: 16 kB / 0.6039 GB, free: 58.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.018/1.697, allocations: 3.649 MB / 0.6075 GB, free: 55.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006159/1.703, allocations: 0.7828 MB / 0.6082 GB, free: 55.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.065/1.768, allocations: 33.74 MB / 0.6412 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006175/1.775, allocations: 371.5 kB / 0.6415 GB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/1.775, allocations: 144 kB / 0.6417 GB, free: 23.02 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.001225/1.777, allocations: 353.2 kB / 0.642 GB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.778, allocations: 406.9 kB / 0.6424 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02224/1.8, allocations: 7.588 MB / 0.6498 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/1.8, allocations: 44 kB / 0.6498 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.8, allocations: 0 / 0.6498 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/1.8, allocations: 23.91 kB / 0.6499 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03693/1.837, allocations: 12.66 MB / 0.6622 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.329e-05/1.837, allocations: 0 / 0.6622 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0061/1.843, allocations: 0.6204 MB / 0.6628 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3584/2.202, allocations: 5.958 MB / 0.6687 GB, free: 81.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001198/2.203, allocations: 110.8 kB / 0.6688 GB, free: 81.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/2.224, allocations: 12.23 MB / 0.6807 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.224, allocations: 1.812 kB / 0.6807 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02871/2.253, allocations: 10.84 MB / 0.6913 GB, free: 75.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004471/2.257, allocations: 1.111 MB / 0.6924 GB, free: 75.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002159/2.259, allocations: 101.5 kB / 0.6925 GB, free: 75.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006254/2.266, allocations: 340 kB / 0.6928 GB, free: 75.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00161/2.267, allocations: 371.2 kB / 0.6931 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004802/2.268, allocations: 121.2 kB / 0.6933 GB, free: 75.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005488/2.273, allocations: 2.387 MB / 0.6956 GB, free: 75.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.273, allocations: 0 / 0.6956 GB, free: 75.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01081/2.284, allocations: 2.131 MB / 0.6977 GB, free: 75.39 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.02917/2.313, allocations: 11.78 MB / 0.7092 GB, free: 74.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03948/2.353, allocations: 12.17 MB / 0.7211 GB, free: 72.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/2.353, allocations: 3.531 kB / 0.7211 GB, free: 72.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01396/2.367, allocations: 3.749 MB / 0.7247 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.004476/2.371, allocations: 487.4 kB / 0.7252 GB, free: 72.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03653/2.408, allocations: 13.16 MB / 0.738 GB, free: 69.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004084/2.412, allocations: 3.629 MB / 0.7416 GB, free: 68.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01084/2.423, allocations: 2.12 MB / 0.7437 GB, free: 66.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003299/2.426, allocations: 1.605 MB / 0.7452 GB, free: 65.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.472e-06/2.426, allocations: 0 / 0.7452 GB, free: 65.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5883/3.015, allocations: 123.5 MB / 0.8658 GB, free: 92.61 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/3.015, allocations: 156.8 kB / 0.866 GB, free: 92.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/11.42, allocations: 0 / 0.866 GB, free: 92.38 MB / 442.7 MB