Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.069e-05, allocations: 1.438 kB / 439.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 78.96 MB / 0.5065 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6604/0.7678, allocations: 363.1 MB / 0.861 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.7682, allocations: 95.02 kB / 0.8611 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042/1.81, allocations: 276.5 MB / 1.131 GB, free: 154.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.648e-05/1.81, allocations: 32.84 kB / 1.131 GB, free: 154.2 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002237/1.812, allocations: 1.188 MB / 1.132 GB, free: 153.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/1.813, allocations: 7.219 kB / 1.132 GB, free: 153.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/1.814, allocations: 214 kB / 1.133 GB, free: 153.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/1.816, allocations: 0.6382 MB / 1.133 GB, free: 153.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/1.816, allocations: 25.88 kB / 1.133 GB, free: 153.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.816, allocations: 38.17 kB / 1.133 GB, free: 153.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005589/1.817, allocations: 217.1 kB / 1.133 GB, free: 153.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/1.817, allocations: 493.9 kB / 1.134 GB, free: 153.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/1.818, allocations: 0 / 1.134 GB, free: 153.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/1.818, allocations: 3.781 kB / 1.134 GB, free: 153.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/1.818, allocations: 18.78 kB / 1.134 GB, free: 153.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/1.823, allocations: 2.866 MB / 1.137 GB, free: 151.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/1.823, allocations: 224.3 kB / 1.137 GB, free: 151.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/1.823, allocations: 29.08 kB / 1.137 GB, free: 151.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/1.824, allocations: 121.6 kB / 1.137 GB, free: 151.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/1.824, allocations: 233.1 kB / 1.137 GB, free: 151.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 3.003e-06/1.824, allocations: 0 / 1.137 GB, free: 151.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.004522/1.829, allocations: 0.7297 MB / 1.138 GB, free: 151.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00099/1.83, allocations: 279.6 kB / 1.138 GB, free: 151.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/1.83, allocations: 32.36 kB / 1.138 GB, free: 151.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/1.831, allocations: 0.5088 MB / 1.139 GB, free: 150.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.831, allocations: 33.42 kB / 1.139 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/1.831, allocations: 303.8 kB / 1.139 GB, free: 150.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.831, allocations: 64.28 kB / 1.139 GB, free: 150.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/1.831, allocations: 0 / 1.139 GB, free: 150.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/1.831, allocations: 332.4 kB / 1.139 GB, free: 150.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/1.832, allocations: 112.2 kB / 1.14 GB, free: 150.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/1.832, allocations: 210.7 kB / 1.14 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/1.833, allocations: 133.1 kB / 1.14 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-06/1.833, allocations: 3.281 kB / 1.14 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001455/1.834, allocations: 1.637 MB / 1.142 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.834, allocations: 0 / 1.142 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/1.834, allocations: 7.781 kB / 1.142 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.835, allocations: 11.25 kB / 1.142 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007241/1.842, allocations: 0.9521 MB / 1.142 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.844, allocations: 219.2 kB / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/1.844, allocations: 0 / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007407/1.845, allocations: 270.2 kB / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.845, allocations: 7.156 kB / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.845, allocations: 7.594 kB / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/1.845, allocations: 8.656 kB / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/1.846, allocations: 141.3 kB / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.847, allocations: 106.8 kB / 1.143 GB, free: 148.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004584/1.848, allocations: 158 kB / 1.143 GB, free: 148.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/1.848, allocations: 78.52 kB / 1.143 GB, free: 148.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.849, allocations: 311.1 kB / 1.144 GB, free: 148.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.849, allocations: 4.844 kB / 1.144 GB, free: 148.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.172e-06/1.849, allocations: 0 / 1.144 GB, free: 148.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.289e-06/1.849, allocations: 3.5 kB / 1.144 GB, free: 148.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/1.851, allocations: 0.8495 MB / 1.145 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-06/1.851, allocations: 0 / 1.145 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006282/1.857, allocations: 0.8585 MB / 1.145 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/1.857, allocations: 7.469 kB / 1.145 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.858, allocations: 15.78 kB / 1.145 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006649/1.864, allocations: 4.276 MB / 1.15 GB, free: 144.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-06/1.864, allocations: 0 / 1.15 GB, free: 144.3 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001656/1.866, allocations: 0.565 MB / 1.15 GB, free: 144.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/1.867, allocations: 152.2 kB / 1.15 GB, free: 144 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.867, allocations: 7.812 kB / 1.15 GB, free: 144 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.869, allocations: 202.8 kB / 1.15 GB, free: 144 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.869, allocations: 37.3 kB / 1.151 GB, free: 144 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/1.87, allocations: 394.9 kB / 1.151 GB, free: 143.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.882, allocations: 1.777 MB / 1.153 GB, free: 143.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.882, allocations: 3.688 kB / 1.153 GB, free: 143.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02186/1.904, allocations: 1.812 MB / 1.154 GB, free: 143.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/1.908, allocations: 275.2 kB / 1.155 GB, free: 143.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/1.916, allocations: 1.372 MB / 1.156 GB, free: 143.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.917, allocations: 1.093 MB / 1.157 GB, free: 142.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.723e-06/1.918, allocations: 0 / 1.157 GB, free: 142.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.09427/2.012, allocations: 19.1 MB / 1.176 GB, free: 142.4 MB / 0.6544 GB