Running command: translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadModel(BuildingSystems): time 3.425/3.425, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.157e-05/6.179e-05, allocations: 7.984 kB / 436.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1409, allocations: 77.72 MB / 0.5022 GB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/0.6517, allocations: 109.6 MB / 0.6092 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.652, allocations: 75.95 kB / 0.6093 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02235/0.6744, allocations: 5.356 MB / 0.6145 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.103e-06/0.6744, allocations: 0 / 0.6145 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.446e-05/0.6745, allocations: 4 kB / 0.6146 GB, free: 6.125 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007005/0.6752, allocations: 467.7 kB / 0.615 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6753, allocations: 8.031 kB / 0.615 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.6753, allocations: 15.81 kB / 0.615 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.6758, allocations: 263.6 kB / 0.6153 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.6759, allocations: 7.938 kB / 0.6153 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.6759, allocations: 4 kB / 0.6153 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.6761, allocations: 96.23 kB / 0.6154 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.311e-06/0.6762, allocations: 0 / 0.6154 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.6762, allocations: 0 / 0.6154 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.6762, allocations: 0 / 0.6154 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.6763, allocations: 35.92 kB / 0.6154 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.677, allocations: 364.7 kB / 0.6158 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.6773, allocations: 90.67 kB / 0.6158 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.6774, allocations: 29.08 kB / 0.6159 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.6774, allocations: 11.92 kB / 0.6159 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.6776, allocations: 79.3 kB / 0.616 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.915e-06/0.6776, allocations: 0 / 0.616 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003326/0.678, allocations: 113.4 kB / 0.6161 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.6781, allocations: 106.8 kB / 0.6162 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.6785, allocations: 237.9 kB / 0.6164 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.6785, allocations: 29.7 kB / 0.6164 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6786, allocations: 116.1 kB / 0.6165 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.6787, allocations: 23.72 kB / 0.6166 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-06/0.6787, allocations: 4 kB / 0.6166 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.6789, allocations: 330.8 kB / 0.6169 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.679, allocations: 27.94 kB / 0.6169 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.6791, allocations: 76.27 kB / 0.617 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.972e-05/0.6792, allocations: 27.98 kB / 0.617 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6793, allocations: 0 / 0.617 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002805/0.6795, allocations: 113.3 kB / 0.6171 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6796, allocations: 4.625 kB / 0.6171 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.002e-06/0.6796, allocations: 4 kB / 0.6171 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6796, allocations: 32 / 0.6171 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.6798, allocations: 19.95 kB / 0.6171 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6798, allocations: 7.984 kB / 0.6171 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.6799, allocations: 4 kB / 0.6171 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.68, allocations: 0 / 0.6171 GB, free: 3.199 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001197/0.6801, allocations: 113 kB / 0.6173 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.6801, allocations: 15.81 kB / 0.6173 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.6805, allocations: 127 kB / 0.6174 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.6805, allocations: 8 kB / 0.6174 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.008e-06/0.6806, allocations: 3.953 kB / 0.6174 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.147e-06/0.6806, allocations: 4 kB / 0.6174 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.6809, allocations: 229.6 kB / 0.6176 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-06/0.6809, allocations: 0 / 0.6176 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.681, allocations: 11.98 kB / 0.6176 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.362e-06/0.681, allocations: 0 / 0.6176 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.681, allocations: 4 kB / 0.6176 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-06/0.681, allocations: 3.938 kB / 0.6176 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.836e-06/0.6811, allocations: 0 / 0.6176 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.6814, allocations: 149.1 kB / 0.6178 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6815, allocations: 108.8 kB / 0.6179 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.6815, allocations: 3.984 kB / 0.6179 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.6817, allocations: 4 kB / 0.6179 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.6817, allocations: 11.98 kB / 0.6179 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.6818, allocations: 4 kB / 0.6179 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00028/0.682, allocations: 196.4 kB / 0.6181 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.37e-07/0.6821, allocations: 0 / 0.6181 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004009/0.6825, allocations: 67.77 kB / 0.6182 GB, free: 2.051 MB / 0.4948 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,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001484/0.684, allocations: 426.2 kB / 0.6186 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.6843, allocations: 79.91 kB / 0.6186 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.084e-06/0.6843, allocations: 0 / 0.6186 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.6844, allocations: 40.03 kB / 0.6187 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.6847, allocations: 40.03 kB / 0.6187 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.6853, allocations: 222.1 kB / 0.6189 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.6858, allocations: 0.7243 MB / 0.6196 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.6859, allocations: 29.5 kB / 0.6197 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.686, allocations: 23.42 kB / 0.6197 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of SimCode: time 3.656e-06/0.686, allocations: 0 / 0.6197 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of Templates: time 0.008251/0.6943, allocations: 2.482 MB / 0.6221 GB, free: 14.05 MB / 0.5105 GB