Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Simulations.OnOffControl.Scenario7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Simulations.OnOffControl.Scenario7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.OnOffControl.Scenario7") translateModel(MEV.Simulations.OnOffControl.Scenario7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.OnOffControl.Scenario7") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002179/0.002179, allocations: 181.6 kB / 7.453 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006877/0.006877, allocations: 1.92 MB / 9.789 MB, free: 456 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.2 MB / 215.9 MB, free: 12.06 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000812/0.000812, allocations: 79.16 kB / 264.4 MB, free: 11.01 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 4.519e-06/4.539e-06, allocations: 0 / 318.5 MB, free: 4.82 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 48.06 MB / 366.6 MB, free: 46.02 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07514/0.2435, allocations: 81.26 MB / 447.9 MB, free: 1.891 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.2437, allocations: 83.89 kB / 447.9 MB, free: 1.812 MB / 330.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd: time 0.9003/1.144, allocations: 295.5 MB / 0.726 GB, free: 66.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0005294/1.145, allocations: 181.2 kB / 0.7262 GB, free: 66.49 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2134 * Number of variables: 2134 Notification: Performance of Generate backend data structure: time 0.02579/1.17, allocations: 10.19 MB / 0.7361 GB, free: 56.53 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.17, allocations: 8.031 kB / 0.7361 GB, free: 56.52 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/1.174, allocations: 1.058 MB / 0.7372 GB, free: 55.45 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009837/1.184, allocations: 4.679 MB / 0.7417 GB, free: 50.8 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004161/1.185, allocations: 307.9 kB / 0.742 GB, free: 50.5 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002625/1.187, allocations: 0.5699 MB / 0.7426 GB, free: 49.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0183/1.206, allocations: 11.36 MB / 0.7537 GB, free: 38.56 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/1.226, allocations: 9.997 MB / 0.7634 GB, free: 28.51 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/1.227, allocations: 4 kB / 0.7634 GB, free: 28.51 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002024/1.229, allocations: 19.97 kB / 0.7635 GB, free: 28.49 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/1.229, allocations: 200 kB / 0.7637 GB, free: 28.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2429/1.472, allocations: 32.03 MB / 0.7949 GB, free: 103.2 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.486, allocations: 9.872 MB / 0.8046 GB, free: 103.2 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009287/1.495, allocations: 7.406 MB / 0.8118 GB, free: 103.1 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/1.496, allocations: 139.9 kB / 0.8119 GB, free: 103.1 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007049/1.503, allocations: 5.844 MB / 0.8176 GB, free: 102.9 MB / 410.9 MB Notification: Performance of pre-optimization done (n=930): time 1.013e-05/1.503, allocations: 0 / 0.8176 GB, free: 102.9 MB / 410.9 MB Notification: Performance of matching and sorting (n=975): time 0.07045/1.573, allocations: 36.92 MB / 0.8537 GB, free: 100.7 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/1.573, allocations: 219.6 kB / 0.8539 GB, free: 100.6 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005019/1.578, allocations: 4.341 MB / 0.8582 GB, free: 100.3 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001403/1.58, allocations: 117.7 kB / 0.8583 GB, free: 100.3 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.581, allocations: 2.279 MB / 0.8605 GB, free: 99.28 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.00248/1.584, allocations: 3.09 MB / 0.8635 GB, free: 97.26 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/1.584, allocations: 3.969 kB / 0.8635 GB, free: 97.26 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 0.0003418/1.585, allocations: 0.6902 MB / 0.8642 GB, free: 96.94 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005866/1.59, allocations: 5.162 MB / 0.8692 GB, free: 93.87 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006341/1.597, allocations: 6.418 MB / 0.8755 GB, free: 88.06 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.607, allocations: 6.474 MB / 0.8818 GB, free: 83 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.941e-05/1.607, allocations: 8 kB / 0.8818 GB, free: 82.99 MB / 410.9 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02875/1.636, allocations: 16.86 MB / 0.8983 GB, free: 69.18 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.001771/1.638, allocations: 12.67 MB / 0.9107 GB, free: 55.68 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-05/1.638, allocations: 28 kB / 0.9107 GB, free: 55.66 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0263/1.664, allocations: 8.363 MB / 0.9189 GB, free: 49.73 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006608/1.671, allocations: 1.526 MB / 0.9203 GB, free: 48.44 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0309/1.702, allocations: 27.45 MB / 0.9472 GB, free: 23.89 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009062/1.711, allocations: 0.6911 MB / 0.9478 GB, free: 23.39 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/1.713, allocations: 350.5 kB / 0.9482 GB, free: 23.07 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.713, allocations: 4 kB / 0.9482 GB, free: 23.06 MB / 410.9 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03132/1.744, allocations: 16.23 MB / 0.964 GB, free: 6.773 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/1.744, allocations: 28 kB / 0.964 GB, free: 6.746 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1269/1.871, allocations: 7.023 MB / 0.9709 GB, free: 94.68 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006386/1.878, allocations: 1.613 MB / 0.9725 GB, free: 94.68 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06961/1.947, allocations: 64.65 MB / 1.036 GB, free: 69.44 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007547/1.955, allocations: 0.642 MB / 1.036 GB, free: 69.44 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007312/1.956, allocations: 332.5 kB / 1.037 GB, free: 69.44 MB / 410.9 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: patients[20].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[20].win:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Entering flow rate" type: Real [20] pipeSegments[19].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[19].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[18].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[18].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[18].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[17].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[17].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[17].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[16].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[16].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[16].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[15].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[15].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[15].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[14].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[14].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[14].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[13].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[13].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[13].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[12].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[12].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[12].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[11].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[11].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[11].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[11].win:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Entering flow rate" type: Real [20] pipeSegments[10].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[10].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[9].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[10].pin:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Entering relative pressure" type: Real [20] patients[9].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[8].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[8].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[8].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[7].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[7].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[7].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[6].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[6].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[6].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[5].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[5].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[5].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[4].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[4].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[4].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[4].win:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Entering flow rate" type: Real [20] pipeSegments[3].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[3].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[2].wout:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Leaving flow rate" type: Real [20] pipeSegments[2].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[2].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegments[2].win:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Entering flow rate" type: Real [20] pipeSegments[1].pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving relative pressure" type: Real [20] patients[1].valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real [20] Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: pipeSegments[1].uin:VARIABLE(unit = "m/s" ) "Entering fluid speed" type: Real [20] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 184 ($whenCondition61,$whenCondition62,$whenCondition59,$whenCondition60,$whenCondition58,$whenCondition56,$whenCondition57,$whenCondition55,$whenCondition53,$whenCondition54,$whenCondition52,$whenCondition50,$whenCondition51,$whenCondition49,$whenCondition47,$whenCondition48,$whenCondition46,$whenCondition44,$whenCondition45,$whenCondition43,$whenCondition41,$whenCondition42,$whenCondition40,$whenCondition38,$whenCondition39,$whenCondition37,$whenCondition35,$whenCondition36,$whenCondition34,$whenCondition32,$whenCondition33,$whenCondition31,$whenCondition29,$whenCondition30,$whenCondition28,$whenCondition26,$whenCondition27,$whenCondition25,$whenCondition23,$whenCondition24,$whenCondition22,$whenCondition20,$whenCondition21,$whenCondition19,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition15,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.onOffControllerWithHysteresis.on,onOffControllerWithHysteresis.on,$PRE.patientControllers[1].t_on,patientControllers[1].t_on,$PRE.patientControllers[1].t_off,patientControllers[1].t_off,$PRE.patientControllers[1].active,patientControllers[1].active,$PRE.patientControllers[2].t_on,patientControllers[2].t_on,$PRE.patientControllers[2].t_off,patientControllers[2].t_off,$PRE.patientControllers[2].active,patientControllers[2].active,$PRE.patientControllers[3].t_on,patientControllers[3].t_on,$PRE.patientControllers[3].t_off,patientControllers[3].t_off,$PRE.patientControllers[3].active,patientControllers[3].active,$PRE.patientControllers[4].t_on,patientControllers[4].t_on,$PRE.patientControllers[4].t_off,patientControllers[4].t_off,$PRE.patientControllers[4].active,patientControllers[4].active,$PRE.patientControllers[5].t_on,patientControllers[5].t_on,$PRE.patientControllers[5].t_off,patientControllers[5].t_off,$PRE.patientControllers[5].active,patientControllers[5].active,$PRE.patientControllers[6].t_on,patientControllers[6].t_on,$PRE.patientControllers[6].t_off,patientControllers[6].t_off,$PRE.patientControllers[6].active,patientControllers[6].active,$PRE.patientControllers[7].t_on,patientControllers[7].t_on,$PRE.patientControllers[7].t_off,patientControllers[7].t_off,$PRE.patientControllers[7].active,patientControllers[7].active,$PRE.patientControllers[8].t_on,patientControllers[8].t_on,$PRE.patientControllers[8].t_off,patientControllers[8].t_off,$PRE.patientControllers[8].active,patientControllers[8].active,$PRE.patientControllers[9].t_on,patientControllers[9].t_on,$PRE.patientControllers[9].t_off,patientControllers[9].t_off,$PRE.patientControllers[9].active,patientControllers[9].active,$PRE.patientControllers[10].t_on,patientControllers[10].t_on,$PRE.patientControllers[10].t_off,patientControllers[10].t_off,$PRE.patientControllers[10].active,patientControllers[10].active,$PRE.patientControllers[11].t_on,patientControllers[11].t_on,$PRE.patientControllers[11].t_off,patientControllers[11].t_off,$PRE.patientControllers[11].active,patientControllers[11].active,$PRE.patientControllers[12].t_on,patientControllers[12].t_on,$PRE.patientControllers[12].t_off,patientControllers[12].t_off,$PRE.patientControllers[12].active,patientControllers[12].active,$PRE.patientControllers[13].t_on,patientControllers[13].t_on,$PRE.patientControllers[13].t_off,patientControllers[13].t_off,$PRE.patientControllers[13].active,patientControllers[13].active,$PRE.patientControllers[14].t_on,patientControllers[14].t_on,$PRE.patientControllers[14].t_off,patientControllers[14].t_off,$PRE.patientControllers[14].active,patientControllers[14].active,$PRE.patientControllers[15].t_on,patientControllers[15].t_on,$PRE.patientControllers[15].t_off,patientControllers[15].t_off,$PRE.patientControllers[15].active,patientControllers[15].active,$PRE.patientControllers[16].t_on,patientControllers[16].t_on,$PRE.patientControllers[16].t_off,patientControllers[16].t_off,$PRE.patientControllers[16].active,patientControllers[16].active,$PRE.patientControllers[17].t_on,patientControllers[17].t_on,$PRE.patientControllers[17].t_off,patientControllers[17].t_off,$PRE.patientControllers[17].active,patientControllers[17].active,$PRE.patientControllers[18].t_on,patientControllers[18].t_on,$PRE.patientControllers[18].t_off,patientControllers[18].t_off,$PRE.patientControllers[18].active,patientControllers[18].active,$PRE.patientControllers[19].t_on,patientControllers[19].t_on,$PRE.patientControllers[19].t_off,patientControllers[19].t_off,$PRE.patientControllers[19].active,patientControllers[19].active,$PRE.patientControllers[20].t_on,patientControllers[20].t_on,$PRE.patientControllers[20].t_off,patientControllers[20].t_off,$PRE.patientControllers[20].active,patientControllers[20].active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (773): * Single equations (assignments): 732 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 20 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 20 * 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: 20 {3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,1 17} Notification: Performance of prepare postOptimizeDAE: time 0.001906/1.958, allocations: 0.5385 MB / 1.037 GB, free: 69.19 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.959, allocations: 0.6929 MB / 1.038 GB, free: 69.18 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0217/1.98, allocations: 15.51 MB / 1.053 GB, free: 68.57 MB / 410.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.494e-05/1.98, allocations: 96.91 kB / 1.053 GB, free: 68.57 MB / 410.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.98, allocations: 0 / 1.053 GB, free: 68.57 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.524e-05/1.98, allocations: 48.56 kB / 1.053 GB, free: 68.57 MB / 410.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/2.018, allocations: 24.94 MB / 1.077 GB, free: 59.99 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/2.018, allocations: 0 / 1.077 GB, free: 59.99 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005715/2.024, allocations: 1.282 MB / 1.079 GB, free: 58.92 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02328/2.047, allocations: 8.286 MB / 1.087 GB, free: 52.7 MB / 410.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009061/2.048, allocations: 153.8 kB / 1.087 GB, free: 52.6 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02531/2.074, allocations: 26.07 MB / 1.112 GB, free: 29.05 MB / 410.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.074, allocations: 4.094 kB / 1.112 GB, free: 29.05 MB / 410.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02956/2.103, allocations: 22.78 MB / 1.135 GB, free: 8.82 MB / 410.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00494/2.108, allocations: 2.053 MB / 1.137 GB, free: 6.738 MB / 410.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002203/2.11, allocations: 155.8 kB / 1.137 GB, free: 6.586 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0062/2.117, allocations: 0.597 MB / 1.137 GB, free: 5.988 MB / 410.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002801/2.119, allocations: 1.373 MB / 1.139 GB, free: 4.613 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006898/2.12, allocations: 279.9 kB / 1.139 GB, free: 4.34 MB / 410.9 MB Notification: Performance of sort global known variables: time 0.003482/2.124, allocations: 3.295 MB / 1.142 GB, free: 1.062 MB / 410.9 MB Notification: Performance of remove unused functions: time 0.111/2.235, allocations: 3.834 MB / 1.146 GB, free: 90.89 MB / 410.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 84 (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,pipeSegments[11].p,pipeSegments[12].p,pipeSegments[13].p,pipeSegments[14].p,pipeSegments[15].p,pipeSegments[16].p,pipeSegments[17].p,pipeSegments[18].p,pipeSegments[19].p,pipeSegments[20].p,patients[1].compliance.p,patients[1].compliance.V,patients[1].compliance.Vb,patients[2].compliance.p,patients[2].compliance.V,patients[2].compliance.Vb,patients[3].compliance.p,patients[3].compliance.V,patients[3].compliance.Vb,patients[4].compliance.p,patients[4].compliance.V,patients[4].compliance.Vb,patients[5].compliance.p,patients[5].compliance.V,patients[5].compliance.Vb,patients[6].compliance.p,patients[6].compliance.V,patients[6].compliance.Vb,patients[7].compliance.p,patients[7].compliance.V,patients[7].compliance.Vb,patients[8].compliance.p,patients[8].compliance.V,patients[8].compliance.Vb,patients[9].compliance.p,patients[9].compliance.V,patients[9].compliance.Vb,patients[10].compliance.p,patients[10].compliance.V,patients[10].compliance.Vb,patients[11].compliance.p,patients[11].compliance.V,patients[11].compliance.Vb,patients[12].compliance.p,patients[12].compliance.V,patients[12].compliance.Vb,patients[13].compliance.p,patients[13].compliance.V,patients[13].compliance.Vb,patients[14].compliance.p,patients[14].compliance.V,patients[14].compliance.Vb,patients[15].compliance.p,patients[15].compliance.V,patients[15].compliance.Vb,patients[16].compliance.p,patients[16].compliance.V,patients[16].compliance.Vb,patients[17].compliance.p,patients[17].compliance.V,patients[17].compliance.Vb,patients[18].compliance.p,patients[18].compliance.V,patients[18].compliance.Vb,patients[19].compliance.p,patients[19].compliance.V,patients[19].compliance.Vb,patients[20].compliance.p,patients[20].compliance.V,patients[20].compliance.Vb,linearController.firstOrder.y) * Number of discrete variables: 123 ($whenCondition61,$whenCondition62,$whenCondition59,$whenCondition60,$whenCondition58,$whenCondition56,$whenCondition57,$whenCondition55,$whenCondition53,$whenCondition54,$whenCondition52,$whenCondition50,$whenCondition51,$whenCondition49,$whenCondition47,$whenCondition48,$whenCondition46,$whenCondition44,$whenCondition45,$whenCondition43,$whenCondition41,$whenCondition42,$whenCondition40,$whenCondition38,$whenCondition39,$whenCondition37,$whenCondition35,$whenCondition36,$whenCondition34,$whenCondition32,$whenCondition33,$whenCondition31,$whenCondition29,$whenCondition30,$whenCondition28,$whenCondition26,$whenCondition27,$whenCondition25,$whenCondition23,$whenCondition24,$whenCondition22,$whenCondition20,$whenCondition21,$whenCondition19,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition15,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,onOffControllerWithHysteresis.on,patientControllers[1].t_on,patientControllers[1].t_off,patientControllers[1].active,patientControllers[2].t_on,patientControllers[2].t_off,patientControllers[2].active,patientControllers[3].t_on,patientControllers[3].t_off,patientControllers[3].active,patientControllers[4].t_on,patientControllers[4].t_off,patientControllers[4].active,patientControllers[5].t_on,patientControllers[5].t_off,patientControllers[5].active,patientControllers[6].t_on,patientControllers[6].t_off,patientControllers[6].active,patientControllers[7].t_on,patientControllers[7].t_off,patientControllers[7].active,patientControllers[8].t_on,patientControllers[8].t_off,patientControllers[8].active,patientControllers[9].t_on,patientControllers[9].t_off,patientControllers[9].active,patientControllers[10].t_on,patientControllers[10].t_off,patientControllers[10].active,patientControllers[11].t_on,patientControllers[11].t_off,patientControllers[11].active,patientControllers[12].t_on,patientControllers[12].t_off,patientControllers[12].active,patientControllers[13].t_on,patientControllers[13].t_off,patientControllers[13].active,patientControllers[14].t_on,patientControllers[14].t_off,patientControllers[14].active,patientControllers[15].t_on,patientControllers[15].t_off,patientControllers[15].active,patientControllers[16].t_on,patientControllers[16].t_off,patientControllers[16].active,patientControllers[17].t_on,patientControllers[17].t_off,patientControllers[17].active,patientControllers[18].t_on,patientControllers[18].t_off,patientControllers[18].active,patientControllers[19].t_on,patientControllers[19].t_off,patientControllers[19].active,patientControllers[20].t_on,patientControllers[20].t_off,patientControllers[20].active) * Number of discrete states: 40 (patientControllers[1].active,patientControllers[1].t_on,patientControllers[2].active,patientControllers[2].t_on,patientControllers[3].active,patientControllers[3].t_on,patientControllers[4].active,patientControllers[4].t_on,patientControllers[5].active,patientControllers[5].t_on,patientControllers[6].active,patientControllers[6].t_on,patientControllers[7].active,patientControllers[7].t_on,patientControllers[8].active,patientControllers[8].t_on,patientControllers[9].active,patientControllers[9].t_on,patientControllers[10].active,patientControllers[10].t_on,patientControllers[11].active,patientControllers[11].t_on,patientControllers[12].active,patientControllers[12].t_on,patientControllers[13].active,patientControllers[13].t_on,patientControllers[14].active,patientControllers[14].t_on,patientControllers[15].active,patientControllers[15].t_on,patientControllers[16].active,patientControllers[16].t_on,patientControllers[17].active,patientControllers[17].t_on,patientControllers[18].active,patientControllers[18].t_on,patientControllers[19].active,patientControllers[19].t_on,patientControllers[20].active,patientControllers[20].t_on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (562): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 61 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 20 * 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: 20 {3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,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.0008147/2.235, allocations: 367.5 kB / 1.146 GB, free: 90.78 MB / 410.9 MB Notification: Performance of simCode: created initialization part: time 0.0451/2.281, allocations: 52.29 MB / 1.197 GB, free: 61.3 MB / 410.9 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/2.281, allocations: 5.453 kB / 1.197 GB, free: 61.3 MB / 410.9 MB Notification: Performance of simCode: created simulation system equations: time 0.01387/2.294, allocations: 7.956 MB / 1.205 GB, free: 61.07 MB / 410.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/2.298, allocations: 436.8 kB / 1.206 GB, free: 61.05 MB / 410.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/2.337, allocations: 24.91 MB / 1.23 GB, free: 55.02 MB / 410.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006873/2.343, allocations: 6.9 MB / 1.237 GB, free: 53.98 MB / 410.9 MB Notification: Performance of SimCode: time 1.292e-06/2.343, allocations: 0 / 1.237 GB, free: 53.98 MB / 410.9 MB Notification: Performance of Templates: time 0.3192/2.663, allocations: 190.4 MB / 1.423 GB, free: 32.59 MB / 410.9 MB make -j1 -f MEV_MEV.Simulations.OnOffControl.Scenario7.makefile (rm -f MEV_MEV.Simulations.OnOffControl.Scenario7.pipe ; mkfifo MEV_MEV.Simulations.OnOffControl.Scenario7.pipe ; head -c 1048576 < MEV_MEV.Simulations.OnOffControl.Scenario7.pipe >> ../files/MEV_MEV.Simulations.OnOffControl.Scenario7.sim & ./MEV_MEV.Simulations.OnOffControl.Scenario7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Simulations.OnOffControl.Scenario7.pipe 2>&1)