Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadModel(ModelicaTest): time 2.238/2.238, allocations: 235 MB / 247.6 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.337e-05, allocations: 7.984 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3249, allocations: 54.84 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4524, allocations: 82.85 MB / 442.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4526, allocations: 63.97 kB / 442.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02814/0.4808, allocations: 6.871 MB / 449.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.4808, allocations: 0 / 449.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.4808, allocations: 8 kB / 449.5 MB, free: 7.211 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001163/0.482, allocations: 0.588 MB / 450.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4821, allocations: 12.97 kB / 450.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.4822, allocations: 43.42 kB / 450.2 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.4827, allocations: 276.3 kB / 450.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.4827, allocations: 24.78 kB / 450.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.4828, allocations: 28 kB / 450.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/0.4835, allocations: 318.3 kB / 450.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4835, allocations: 4 kB / 450.8 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.4836, allocations: 19.95 kB / 450.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4836, allocations: 8 kB / 450.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.4842, allocations: 208.7 kB / 451.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.4868, allocations: 1.296 MB / 452.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.4872, allocations: 166.5 kB / 452.5 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4874, allocations: 59.62 kB / 452.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.4874, allocations: 0 / 452.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4875, allocations: 42.53 kB / 452.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.553e-06/0.4875, allocations: 0 / 452.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004761/0.488, allocations: 137.3 kB / 452.7 MB, free: 3.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.4881, allocations: 140.5 kB / 452.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.4885, allocations: 283.8 kB / 453.2 MB, free: 3.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.4886, allocations: 25.7 kB / 453.2 MB, free: 3.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.4888, allocations: 289.8 kB / 453.5 MB, free: 2.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.4889, allocations: 55.19 kB / 453.5 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.4889, allocations: 8 kB / 453.5 MB, free: 2.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4891, allocations: 322.8 kB / 453.8 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.4893, allocations: 64.5 kB / 453.9 MB, free: 2.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.4895, allocations: 139.9 kB / 454 MB, free: 2.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4898, allocations: 76.03 kB / 454.1 MB, free: 2.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.026e-06/0.4898, allocations: 4 kB / 454.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000568/0.4903, allocations: 226.3 kB / 454.3 MB, free: 2.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4904, allocations: 11.12 kB / 454.4 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.508e-06/0.4904, allocations: 0 / 454.4 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.4904, allocations: 8 kB / 454.4 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.4909, allocations: 83.83 kB / 454.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.4909, allocations: 11.92 kB / 454.5 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.4913, allocations: 51.8 kB / 454.5 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.4914, allocations: 12 kB / 454.5 MB, free: 1.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.000122/0.4915, allocations: 126.9 kB / 454.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.4917, allocations: 23.72 kB / 454.7 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.4918, allocations: 38.41 kB / 454.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.977e-06/0.4918, allocations: 3.984 kB / 454.7 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.628e-06/0.4918, allocations: 0 / 454.7 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.135e-06/0.4918, allocations: 8.141 kB / 454.7 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.4929, allocations: 0.5837 MB / 455.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.374e-06/0.4929, allocations: 3.938 kB / 455.3 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.4932, allocations: 52.06 kB / 455.4 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.575e-06/0.4933, allocations: 4 kB / 455.4 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4933, allocations: 0 / 455.4 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.446e-06/0.4933, allocations: 5.953 kB / 455.4 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.353e-06/0.4933, allocations: 3.953 kB / 455.4 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.4938, allocations: 425.7 kB / 455.8 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.494, allocations: 100.8 kB / 455.9 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.494, allocations: 8 kB / 455.9 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.4944, allocations: 19.97 kB / 455.9 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.4944, allocations: 23.88 kB / 455.9 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.4945, allocations: 8.062 kB / 455.9 MB, free: 284 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003268/0.4948, allocations: 230.2 kB / 456.2 MB, free: 60 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.4948, allocations: 0 / 456.2 MB, free: 60 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005738/0.4954, allocations: 79.73 kB / 456.2 MB, free: 15.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001463/0.4956, allocations: 95.25 kB / 456.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.496, allocations: 140.8 kB / 456.5 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.063e-06/0.496, allocations: 4.062 kB / 456.5 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.4961, allocations: 47.94 kB / 456.5 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.4965, allocations: 25.2 kB / 456.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/0.4975, allocations: 383.8 kB / 456.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.498, allocations: 0.7794 MB / 457.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.4981, allocations: 19.44 kB / 457.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.645e-06/0.4981, allocations: 0 / 457.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of Templates: time 0.006584/0.5047, allocations: 3.084 MB / 460.8 MB, free: 11.35 MB / 394.7 MB