Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.039e-05, allocations: 3.938 kB / 0.5178 GB, free: 12.69 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1598, allocations: 76.94 MB / 0.593 GB, free: 15.68 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8973/1.057, allocations: 120.6 MB / 0.7108 GB, free: 36.26 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001164/1.058, allocations: 52.62 kB / 0.7108 GB, free: 36.21 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.4139/1.472, allocations: 67.3 MB / 0.7765 GB, free: 0.8086 MB / 0.5334 GB Notification: Performance of Transformations before backend: time 0.0005555/1.472, allocations: 124 kB / 0.7767 GB, free: 0.6875 MB / 0.5334 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01212/1.484, allocations: 6.487 MB / 0.783 GB, free: 10.12 MB / 0.549 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.484, allocations: 8.031 kB / 0.783 GB, free: 10.11 MB / 0.549 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/1.486, allocations: 1.134 MB / 0.7841 GB, free: 8.961 MB / 0.549 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03123/1.518, allocations: 11.21 MB / 0.795 GB, free: 13.64 MB / 0.5647 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/1.518, allocations: 8 kB / 0.7951 GB, free: 13.64 MB / 0.5647 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/1.518, allocations: 32 kB / 0.7951 GB, free: 13.61 MB / 0.5647 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003727/1.518, allocations: 204 kB / 0.7953 GB, free: 13.41 MB / 0.5647 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/1.519, allocations: 389.3 kB / 0.7957 GB, free: 13.02 MB / 0.5647 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.519, allocations: 1.031 kB / 0.7957 GB, free: 13.02 MB / 0.5647 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/1.519, allocations: 35.94 kB / 0.7957 GB, free: 12.98 MB / 0.5647 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/1.519, allocations: 0 / 0.7957 GB, free: 12.98 MB / 0.5647 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00774/1.527, allocations: 3.48 MB / 0.7991 GB, free: 9.469 MB / 0.5647 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/1.527, allocations: 138.5 kB / 0.7992 GB, free: 9.324 MB / 0.5647 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/1.527, allocations: 120.9 kB / 0.7993 GB, free: 9.203 MB / 0.5647 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/1.527, allocations: 0 / 0.7993 GB, free: 9.203 MB / 0.5647 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/1.528, allocations: 372.6 kB / 0.7997 GB, free: 8.82 MB / 0.5647 GB Notification: Performance of pre-optimization done (n=8): time 2.611e-06/1.528, allocations: 0 / 0.7997 GB, free: 8.82 MB / 0.5647 GB Notification: Performance of matching and sorting (n=8): time 0.002666/1.53, allocations: 1.624 MB / 0.8013 GB, free: 7.176 MB / 0.5647 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.531, allocations: 77.11 kB / 0.8013 GB, free: 7.082 MB / 0.5647 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/1.553, allocations: 9.925 MB / 0.811 GB, free: 13.26 MB / 0.5803 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/1.553, allocations: 57.7 kB / 0.8111 GB, free: 13.2 MB / 0.5803 GB Notification: Performance of collectInitialEqns (initialization): time 0.009077/1.562, allocations: 5.294 MB / 0.8163 GB, free: 7.902 MB / 0.5803 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/1.562, allocations: 51.72 kB / 0.8163 GB, free: 7.852 MB / 0.5803 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/1.562, allocations: 32 kB / 0.8163 GB, free: 7.82 MB / 0.5803 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.563, allocations: 309.9 kB / 0.8166 GB, free: 7.512 MB / 0.5803 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/1.563, allocations: 115.9 kB / 0.8168 GB, free: 7.398 MB / 0.5803 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/1.563, allocations: 104 kB / 0.8169 GB, free: 7.297 MB / 0.5803 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/1.563, allocations: 112 kB / 0.817 GB, free: 7.188 MB / 0.5803 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.563, allocations: 4 kB / 0.817 GB, free: 7.184 MB / 0.5803 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0026/1.566, allocations: 1.624 MB / 0.8185 GB, free: 5.539 MB / 0.5803 GB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/1.566, allocations: 41.64 kB / 0.8186 GB, free: 5.492 MB / 0.5803 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-06/1.566, allocations: 96 / 0.8186 GB, free: 5.492 MB / 0.5803 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.566, allocations: 3.984 kB / 0.8186 GB, free: 5.488 MB / 0.5803 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/1.566, allocations: 7.984 kB / 0.8186 GB, free: 5.48 MB / 0.5803 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.404e-06/1.566, allocations: 0 / 0.8186 GB, free: 5.48 MB / 0.5803 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.568, allocations: 39.94 kB / 0.8186 GB, free: 5.441 MB / 0.5803 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004991/1.568, allocations: 440 kB / 0.8191 GB, free: 5.012 MB / 0.5803 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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.0002879/1.568, allocations: 213.8 kB / 0.8193 GB, free: 4.793 MB / 0.5803 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/1.57, allocations: 1.141 MB / 0.8204 GB, free: 3.637 MB / 0.5803 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/1.574, allocations: 1.281 MB / 0.8216 GB, free: 2.355 MB / 0.5803 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.517e-06/1.574, allocations: 0 / 0.8216 GB, free: 2.355 MB / 0.5803 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.574, allocations: 4 kB / 0.8216 GB, free: 2.352 MB / 0.5803 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-06/1.574, allocations: 0 / 0.8216 GB, free: 2.352 MB / 0.5803 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009169/1.583, allocations: 3.797 MB / 0.8253 GB, free: 14.52 MB / 0.5959 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.513e-06/1.583, allocations: 3.953 kB / 0.8253 GB, free: 14.52 MB / 0.5959 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/1.583, allocations: 0 / 0.8253 GB, free: 14.52 MB / 0.5959 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.07e-06/1.583, allocations: 0 / 0.8253 GB, free: 14.52 MB / 0.5959 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/1.583, allocations: 104 kB / 0.8254 GB, free: 14.41 MB / 0.5959 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.609e-06/1.583, allocations: 4 kB / 0.8254 GB, free: 14.41 MB / 0.5959 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.941e-06/1.583, allocations: 0 / 0.8254 GB, free: 14.41 MB / 0.5959 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007851/1.591, allocations: 5.063 MB / 0.8304 GB, free: 9.27 MB / 0.5959 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.593, allocations: 1.037 MB / 0.8314 GB, free: 8.199 MB / 0.5959 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/1.594, allocations: 32 kB / 0.8314 GB, free: 8.168 MB / 0.5959 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.595, allocations: 36 kB / 0.8315 GB, free: 8.133 MB / 0.5959 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/1.595, allocations: 12.02 kB / 0.8315 GB, free: 8.121 MB / 0.5959 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004892/1.595, allocations: 444 kB / 0.8319 GB, free: 7.688 MB / 0.5959 GB Notification: Performance of sorting global known variables: time 0.01824/1.614, allocations: 7.737 MB / 0.8395 GB, free: 32 kB / 0.5959 GB Notification: Performance of sort global known variables: time 1.087e-06/1.614, allocations: 4 kB / 0.8395 GB, free: 28 kB / 0.5959 GB Notification: Performance of remove unused functions: time 0.001607/1.615, allocations: 340 kB / 0.8398 GB, free: 15.69 MB / 0.6115 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0003402/1.616, allocations: 159.1 kB / 0.8399 GB, free: 15.53 MB / 0.6115 GB Notification: Performance of simCode: created initialization part: time 0.0006637/1.616, allocations: 355.3 kB / 0.8403 GB, free: 15.17 MB / 0.6115 GB Notification: Performance of simCode: created event and clocks part: time 2.87e-06/1.616, allocations: 4 kB / 0.8403 GB, free: 15.16 MB / 0.6115 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/1.617, allocations: 235.4 kB / 0.8405 GB, free: 14.92 MB / 0.6115 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/1.619, allocations: 0.8231 MB / 0.8413 GB, free: 14.1 MB / 0.6115 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/1.65, allocations: 13.86 MB / 0.8548 GB, free: 164 kB / 0.6115 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3178/1.968, allocations: 4.972 MB / 0.8597 GB, free: 187.1 MB / 0.6115 GB Notification: Performance of simCode: alias equations: time 0.009477/1.977, allocations: 2.272 MB / 0.8619 GB, free: 186.6 MB / 0.6115 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007808/1.978, allocations: 0.497 MB / 0.8624 GB, free: 186.6 MB / 0.6115 GB Notification: Performance of SimCode: time 1.47e-06/1.978, allocations: 0 / 0.8624 GB, free: 186.6 MB / 0.6115 GB Notification: Performance of Templates: time 0.1633/2.141, allocations: 34.8 MB / 0.8964 GB, free: 180.2 MB / 0.6115 GB