Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.089e-05, allocations: 0 / 329.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 44.53 MB / 374.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3333/0.4393, allocations: 72.9 MB / 447.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.4395, allocations: 64.52 kB / 447.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02946/0.4689, allocations: 7.556 MB / 454.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.469, allocations: 0 / 454.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.469, allocations: 4 kB / 454.7 MB, free: 8.168 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007827/0.4698, allocations: 0.7922 MB / 455.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4699, allocations: 12.03 kB / 455.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.47, allocations: 39.66 kB / 455.6 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.4704, allocations: 282.6 kB / 455.9 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.4704, allocations: 12.19 kB / 455.9 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.4705, allocations: 16 kB / 455.9 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002761/0.4708, allocations: 124.4 kB / 456 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.4712, allocations: 260.9 kB / 456.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4712, allocations: 0 / 456.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.4713, allocations: 4 kB / 456.3 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.4713, allocations: 4 kB / 456.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.4722, allocations: 0.99 MB / 457.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.4726, allocations: 222.5 kB / 457.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.4728, allocations: 163.4 kB / 457.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.4728, allocations: 8 kB / 457.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005069/0.4734, allocations: 0.5096 MB / 458.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 3.221e-06/0.4734, allocations: 4 kB / 458.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001053/0.4744, allocations: 482.5 kB / 458.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.4746, allocations: 498.6 kB / 459.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.4749, allocations: 254.3 kB / 459.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.4749, allocations: 41.69 kB / 459.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4751, allocations: 145.3 kB / 459.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.4752, allocations: 83.22 kB / 459.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.4752, allocations: 0 / 459.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.4753, allocations: 350.8 kB / 460 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.4756, allocations: 136.5 kB / 460.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.4759, allocations: 229.5 kB / 460.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.4763, allocations: 155.3 kB / 460.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.547e-06/0.4763, allocations: 0 / 460.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001125/0.4775, allocations: 0.5356 MB / 461 MB, free: 1.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.4776, allocations: 297 kB / 461.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.865e-06/0.4776, allocations: 4 kB / 461.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4777, allocations: 4 kB / 461.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4778, allocations: 19.92 kB / 461.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.053e-06/0.4778, allocations: 4 kB / 461.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.478, allocations: 31.98 kB / 461.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.4781, allocations: 28 kB / 461.4 MB, free: 0.9062 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index,$whenCondition8,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,$whenCondition7,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.4784, allocations: 344.3 kB / 461.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.4785, allocations: 43.56 kB / 461.8 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.4786, allocations: 29.95 kB / 461.8 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.506e-06/0.4786, allocations: 8.141 kB / 461.8 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4786, allocations: 3.938 kB / 461.8 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.126e-06/0.4786, allocations: 3.984 kB / 461.8 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009447/0.4796, allocations: 0.6277 MB / 462.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-06/0.4796, allocations: 4 kB / 462.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.4796, allocations: 0 / 462.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.378e-06/0.4797, allocations: 4 kB / 462.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.4797, allocations: 19.98 kB / 462.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.503e-06/0.4797, allocations: 7.938 kB / 462.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.411e-06/0.4798, allocations: 4 kB / 462.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.4818, allocations: 1.462 MB / 464 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.482, allocations: 108.6 kB / 464.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.4821, allocations: 27.98 kB / 464.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.4824, allocations: 23.98 kB / 464.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4825, allocations: 23.97 kB / 464.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.4826, allocations: 28.23 kB / 464.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002484/0.4829, allocations: 202 kB / 464.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.26e-07/0.4829, allocations: 0 / 464.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009665/0.4839, allocations: 151.9 kB / 464.5 MB, free: 13.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,start.reset[1],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],$whenCondition7,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 30 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition7,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition4,$whenCondition6,stop.on,$whenCondition5,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition3,start.on,$whenCondition2,start.pre_reset[1],start.reset[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005491/0.4844, allocations: 248.6 kB / 464.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4856, allocations: 0.9357 MB / 465.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.048e-06/0.4856, allocations: 0 / 465.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.4863, allocations: 0.5864 MB / 466.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.4866, allocations: 32.95 kB / 466.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.488, allocations: 0.6857 MB / 467 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.4885, allocations: 0.7874 MB / 467.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.255e-05/0.4886, allocations: 21.84 kB / 467.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.4886, allocations: 15.44 kB / 467.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of SimCode: time 1.49e-06/0.4886, allocations: 7.938 kB / 467.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.01797/0.5066, allocations: 4.085 MB / 471.9 MB, free: 5.941 MB / 334.1 MB