Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.304e-05, allocations: 4.938 kB / 334.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2028, allocations: 44.52 MB / 378.8 MB, free: 75.5 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.3576, allocations: 77.49 MB / 456.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.3579, allocations: 72.52 kB / 456.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.4961, allocations: 31.05 MB / 487.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.547e-06/0.4961, allocations: 0 / 487.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.245e-05/0.4962, allocations: 16 kB / 487.4 MB, free: 10.32 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.003085/0.4993, allocations: 1.296 MB / 488.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.4994, allocations: 8.031 kB / 488.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005305/0.5, allocations: 126.5 kB / 488.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.5017, allocations: 0.513 MB / 489.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.5018, allocations: 19.98 kB / 489.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.502, allocations: 28 kB / 489.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001544/0.5036, allocations: 447.4 kB / 489.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.5057, allocations: 0.5909 MB / 490.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.5057, allocations: 0 / 490.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.5059, allocations: 15.98 kB / 490.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5059, allocations: 4 kB / 490.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.5097, allocations: 1.051 MB / 491.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.5115, allocations: 0.6741 MB / 492.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.5132, allocations: 0.6569 MB / 492.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.5132, allocations: 4 kB / 492.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/0.5152, allocations: 0.7555 MB / 493.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 4.505e-06/0.5152, allocations: 0 / 493.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.003862/0.5191, allocations: 1.089 MB / 494.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003651/0.5195, allocations: 329 kB / 495 MB, free: 2.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005777/0.5253, allocations: 1.541 MB / 496.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.5256, allocations: 49.64 kB / 496.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/0.5262, allocations: 234.5 kB / 496.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.5265, allocations: 75.08 kB / 496.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.5267, allocations: 16 kB / 496.9 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003721/0.5271, allocations: 382.7 kB / 497.3 MB, free: 104 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.5286, allocations: 436 kB / 497.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.53, allocations: 439.9 kB / 498.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/0.531, allocations: 288 kB / 498.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5311, allocations: 3.938 kB / 498.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003656/0.5347, allocations: 1.037 MB / 499.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004478/0.5352, allocations: 289.5 kB / 499.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5353, allocations: 0 / 499.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.5353, allocations: 0 / 499.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.5354, allocations: 11.98 kB / 499.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5354, allocations: 3.953 kB / 499.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/0.5364, allocations: 47.84 kB / 499.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004422/0.5369, allocations: 151.9 kB / 499.9 MB, free: 13.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.0009273/0.5378, allocations: 462.5 kB / 0.4887 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005001/0.5384, allocations: 138.4 kB / 0.4888 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.5396, allocations: 248 kB / 0.489 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.692e-06/0.5397, allocations: 0 / 0.489 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.3e-06/0.5397, allocations: 0 / 0.489 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5397, allocations: 3.953 kB / 0.489 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007038/0.5468, allocations: 2.01 MB / 0.491 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-06/0.5469, allocations: 0 / 0.491 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.5469, allocations: 8 kB / 0.491 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.5469, allocations: 3.984 kB / 0.491 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.5471, allocations: 39.92 kB / 0.491 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.5472, allocations: 3.984 kB / 0.491 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.5472, allocations: 0 / 0.491 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007149/0.5543, allocations: 2.584 MB / 0.4936 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/0.5573, allocations: 0.6746 MB / 0.4942 GB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/0.5578, allocations: 67.86 kB / 0.4943 GB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00095/0.5588, allocations: 43.95 kB / 0.4943 GB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/0.5601, allocations: 347.6 kB / 0.4947 GB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004195/0.5606, allocations: 163.9 kB / 0.4948 GB, free: 6.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004738/0.5653, allocations: 1.259 MB / 0.496 GB, free: 5.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.706e-06/0.5654, allocations: 0 / 0.496 GB, free: 5.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001747/0.5671, allocations: 140 kB / 0.4962 GB, free: 5.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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 Backend phase and start with SimCode phase: time 0.0005372/0.5677, allocations: 189.7 kB / 0.4964 GB, free: 4.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004691/0.5724, allocations: 1.878 MB / 0.4982 GB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/0.5725, allocations: 0 / 0.4982 GB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.5756, allocations: 1.382 MB / 0.4995 GB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.5784, allocations: 301.6 kB / 0.4998 GB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009917/0.5884, allocations: 2.706 MB / 0.5025 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/0.591, allocations: 1.228 MB / 0.5037 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000807/0.5919, allocations: 190.9 kB / 0.5039 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.592, allocations: 27.44 kB / 0.5039 GB, free: 12.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.979e-06/0.592, allocations: 0 / 0.5039 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Templates: time 0.1954/0.7874, allocations: 15.77 MB / 0.5193 GB, free: 115.9 MB / 382.1 MB