Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.708e-06, allocations: 1.344 kB / 439.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 78.98 MB / 0.5065 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.2373, allocations: 110.7 MB / 0.6145 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.2377, allocations: 91.92 kB / 0.6146 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.08936/0.3271, allocations: 6.897 MB / 0.6214 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.3272, allocations: 7.656 kB / 0.6214 GB, free: 110.3 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002126/0.3294, allocations: 0.8647 MB / 0.6222 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3295, allocations: 7.344 kB / 0.6222 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.3297, allocations: 53.67 kB / 0.6223 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.3304, allocations: 368.1 kB / 0.6226 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.3305, allocations: 17.69 kB / 0.6226 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.3306, allocations: 28.27 kB / 0.6227 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004802/0.3312, allocations: 175.6 kB / 0.6228 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.3319, allocations: 323.3 kB / 0.6231 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.332, allocations: 0.9219 kB / 0.6231 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.3321, allocations: 6.391 kB / 0.6231 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.3322, allocations: 8.953 kB / 0.6231 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.3354, allocations: 1.594 MB / 0.6247 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.3363, allocations: 366.9 kB / 0.6251 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.3364, allocations: 44.45 kB / 0.6251 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.3365, allocations: 16.19 kB / 0.6251 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/0.3371, allocations: 280.5 kB / 0.6254 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=51): time 4.33e-06/0.3372, allocations: 0 / 0.6254 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=51): time 0.0008132/0.338, allocations: 316 kB / 0.6257 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002449/0.3383, allocations: 75.42 kB / 0.6258 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.3385, allocations: 34.08 kB / 0.6258 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.3388, allocations: 341.5 kB / 0.6261 GB, free: 108 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.3389, allocations: 36.41 kB / 0.6261 GB, free: 108 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3391, allocations: 158.5 kB / 0.6263 GB, free: 107.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3393, allocations: 110 kB / 0.6264 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.3393, allocations: 1.156 kB / 0.6264 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3395, allocations: 354.8 kB / 0.6267 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.3398, allocations: 64.14 kB / 0.6268 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.3401, allocations: 207.4 kB / 0.627 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.3404, allocations: 122.2 kB / 0.6271 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3405, allocations: 5.5 kB / 0.6271 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/0.3416, allocations: 2.103 MB / 0.6292 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3417, allocations: 4.078 kB / 0.6292 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.3418, allocations: 8.812 kB / 0.6292 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.3419, allocations: 13.73 kB / 0.6292 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.3426, allocations: 122 kB / 0.6293 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.3433, allocations: 84 kB / 0.6294 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-06/0.3434, allocations: 5.156 kB / 0.6294 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005603/0.344, allocations: 232 kB / 0.6296 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3441, allocations: 6.328 kB / 0.6296 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3442, allocations: 7.781 kB / 0.6296 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.3442, allocations: 9.406 kB / 0.6296 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.3447, allocations: 83.2 kB / 0.6297 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.3453, allocations: 48.42 kB / 0.6298 GB, free: 105.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0003153/0.3457, allocations: 162.5 kB / 0.6299 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.3459, allocations: 47.83 kB / 0.63 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.8e-05/0.346, allocations: 28.59 kB / 0.63 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.3461, allocations: 9.719 kB / 0.63 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.3462, allocations: 6.625 kB / 0.63 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.3462, allocations: 9.141 kB / 0.63 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.3485, allocations: 1.379 MB / 0.6314 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.521e-06/0.3486, allocations: 6.047 kB / 0.6314 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.3492, allocations: 93.88 kB / 0.6315 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.3493, allocations: 6.625 kB / 0.6315 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.3494, allocations: 10.94 kB / 0.6315 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.682e-06/0.3495, allocations: 5.125 kB / 0.6315 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.356e-06/0.3495, allocations: 0.6094 kB / 0.6315 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007762/0.3503, allocations: 0.8305 MB / 0.6323 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.3505, allocations: 113.1 kB / 0.6324 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3507, allocations: 13.53 kB / 0.6324 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.3519, allocations: 112.5 kB / 0.6325 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.3521, allocations: 48.83 kB / 0.6326 GB, free: 103.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0003139/0.3524, allocations: 163.9 kB / 0.6327 GB, free: 103.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.3535, allocations: 480.1 kB / 0.6332 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.657e-06/0.3536, allocations: 3.188 kB / 0.6332 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.3541, allocations: 173.6 kB / 0.6334 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.3549, allocations: 47.47 kB / 0.6334 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.3569, allocations: 0.8731 MB / 0.6343 GB, free: 103 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/0.3577, allocations: 1.139 MB / 0.6354 GB, free: 102.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.235e-06/0.3578, allocations: 4 kB / 0.6354 GB, free: 102.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.06556/0.4234, allocations: 8.545 MB / 0.6437 GB, free: 98.48 MB / 0.5137 GB