Notification: Performance of FrontEnd - loaded program: time 7.263e-06/7.403e-06, allocations: 0 / 439.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 78.98 MB / 0.5065 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.2478, allocations: 108.1 MB / 0.612 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.2482, allocations: 75.95 kB / 0.612 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.1436/0.3918, allocations: 18.36 MB / 0.63 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.3919, allocations: 4.375 kB / 0.63 GB, free: 110.7 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009714/0.393, allocations: 0.5933 MB / 0.6306 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3931, allocations: 8.031 kB / 0.6306 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.3932, allocations: 25.56 kB / 0.6306 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3936, allocations: 253.6 kB / 0.6308 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.3937, allocations: 9.484 kB / 0.6308 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.3938, allocations: 12.75 kB / 0.6309 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002998/0.3942, allocations: 167.5 kB / 0.631 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.3946, allocations: 290.2 kB / 0.6313 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3947, allocations: 0 / 0.6313 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.3948, allocations: 17.34 kB / 0.6313 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3949, allocations: 4.125 kB / 0.6313 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.3956, allocations: 0.567 MB / 0.6319 GB, free: 109.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/0.3965, allocations: 0.5807 MB / 0.6324 GB, free: 108.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.397, allocations: 211.3 kB / 0.6326 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.3971, allocations: 8.109 kB / 0.6326 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.3975, allocations: 300.7 kB / 0.6329 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 2.863e-06/0.3976, allocations: 4 kB / 0.6329 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.0008354/0.3985, allocations: 471.3 kB / 0.6334 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001657/0.3987, allocations: 43.52 kB / 0.6334 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.3988, allocations: 11.62 kB / 0.6334 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.3991, allocations: 305.8 kB / 0.6337 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.3991, allocations: 31.86 kB / 0.6338 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.3992, allocations: 102.9 kB / 0.6339 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.3994, allocations: 71.12 kB / 0.6339 GB, free: 108 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.3995, allocations: 1.188 kB / 0.6339 GB, free: 108 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.3996, allocations: 354.1 kB / 0.6343 GB, free: 107.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.3999, allocations: 158.3 kB / 0.6344 GB, free: 107.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.4003, allocations: 249.6 kB / 0.6347 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.4007, allocations: 200.5 kB / 0.6348 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-06/0.4007, allocations: 0 / 0.6348 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008646/0.4017, allocations: 0.4907 MB / 0.6353 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4017, allocations: 6.297 kB / 0.6353 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.4018, allocations: 5.562 kB / 0.6353 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4019, allocations: 9.438 kB / 0.6353 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.4022, allocations: 50.11 kB / 0.6354 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.4026, allocations: 12.52 kB / 0.6354 GB, free: 107.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0002515/0.4029, allocations: 133 kB / 0.6355 GB, free: 107 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/0.403, allocations: 34.2 kB / 0.6356 GB, free: 107 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.4031, allocations: 23.89 kB / 0.6356 GB, free: 107 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4032, allocations: 9.062 kB / 0.6356 GB, free: 107 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4033, allocations: 1.312 kB / 0.6356 GB, free: 107 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.451e-06/0.4033, allocations: 1.312 kB / 0.6356 GB, free: 107 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.4054, allocations: 1.361 MB / 0.6369 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.727e-06/0.4055, allocations: 1.344 kB / 0.6369 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.4056, allocations: 33.61 kB / 0.637 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.4057, allocations: 2.625 kB / 0.637 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.4058, allocations: 16.66 kB / 0.637 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.683e-06/0.4058, allocations: 2.594 kB / 0.637 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4059, allocations: 1.156 kB / 0.637 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007987/0.4067, allocations: 0.8148 MB / 0.6378 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.4069, allocations: 105.3 kB / 0.6379 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/0.407, allocations: 3.531 kB / 0.6379 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.4075, allocations: 6.312 kB / 0.6379 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4076, allocations: 49.47 kB / 0.6379 GB, free: 105.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002812/0.408, allocations: 132.3 kB / 0.6381 GB, free: 105.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007676/0.4088, allocations: 436.4 kB / 0.6385 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.213e-06/0.4089, allocations: 0 / 0.6385 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.4094, allocations: 245.7 kB / 0.6387 GB, free: 105 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.4114, allocations: 288.3 kB / 0.639 GB, free: 104.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.4132, allocations: 0.844 MB / 0.6398 GB, free: 104.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.4137, allocations: 0.9491 MB / 0.6407 GB, free: 103.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.165e-06/0.4138, allocations: 0 / 0.6407 GB, free: 103.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.07408/0.4879, allocations: 8.324 MB / 0.6489 GB, free: 94.99 MB / 0.5137 GB