Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.588e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3483, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4739, allocations: 82.43 MB / 442.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4741, allocations: 63.97 kB / 442.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.485, allocations: 2.75 MB / 445 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.951e-06/0.485, allocations: 0 / 445 MB, free: 11.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.485, allocations: 4 kB / 445 MB, free: 11.78 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006253/0.4857, allocations: 422.4 kB / 445.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4857, allocations: 8.031 kB / 445.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.4858, allocations: 23.75 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.4861, allocations: 195.7 kB / 445.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4861, allocations: 8.281 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4862, allocations: 12 kB / 445.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.4865, allocations: 131.5 kB / 445.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4865, allocations: 0 / 445.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.4865, allocations: 8 kB / 445.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.903e-06/0.4865, allocations: 5.031 kB / 445.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.4868, allocations: 76.52 kB / 445.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.4879, allocations: 0.5625 MB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.4881, allocations: 58.59 kB / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.4882, allocations: 17.86 kB / 446.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4882, allocations: 3.953 kB / 446.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.4883, allocations: 30.56 kB / 446.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.428e-06/0.4883, allocations: 0 / 446.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002237/0.4885, allocations: 65.64 kB / 446.6 MB, free: 9.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.4886, allocations: 59.34 kB / 446.7 MB, free: 9.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4887, allocations: 137.4 kB / 446.8 MB, free: 9.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.4888, allocations: 30.39 kB / 446.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.4889, allocations: 205.8 kB / 447 MB, free: 9.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.489, allocations: 15.81 kB / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.489, allocations: 0 / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4891, allocations: 314.8 kB / 447.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.4892, allocations: 16 kB / 447.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4893, allocations: 53 kB / 447.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.274e-05/0.4894, allocations: 20 kB / 447.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4894, allocations: 1.219 kB / 447.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002426/0.4897, allocations: 105.5 kB / 447.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4897, allocations: 9.672 kB / 447.6 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-06/0.4897, allocations: 4 kB / 447.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4897, allocations: 0.625 kB / 447.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.4899, allocations: 27.98 kB / 447.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.076e-06/0.49, allocations: 0 / 447.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.4901, allocations: 19.83 kB / 447.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4901, allocations: 8.125 kB / 447.6 MB, free: 8.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.45e-05/0.4902, allocations: 112.9 kB / 447.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.4903, allocations: 9.656 kB / 447.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.4904, allocations: 12.05 kB / 447.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-06/0.4904, allocations: 7.984 kB / 447.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-06/0.4904, allocations: 1.594 kB / 447.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.4904, allocations: 0 / 447.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.4907, allocations: 205.6 kB / 448 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-06/0.4907, allocations: 0 / 448 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.4909, allocations: 23.98 kB / 448 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4909, allocations: 0 / 448 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.293e-06/0.4909, allocations: 0 / 448 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.442e-06/0.4909, allocations: 3.953 kB / 448 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4909, allocations: 0 / 448 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.4911, allocations: 164.3 kB / 448.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.4912, allocations: 88.94 kB / 448.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.4913, allocations: 12 kB / 448.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4914, allocations: 4 kB / 448.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.4915, allocations: 11.94 kB / 448.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-06/0.4915, allocations: 4.125 kB / 448.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.4916, allocations: 113.9 kB / 448.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.4916, allocations: 0 / 448.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.492, allocations: 25.31 kB / 448.4 MB, free: 8.062 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001348/0.4921, allocations: 99.25 kB / 448.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.4923, allocations: 47.94 kB / 448.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.278e-06/0.4923, allocations: 0 / 448.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.4924, allocations: 12 kB / 448.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.4926, allocations: 8.609 kB / 448.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.493, allocations: 167.3 kB / 448.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4935, allocations: 0.708 MB / 449.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.4935, allocations: 15.44 kB / 449.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of SimCode: time 1.409e-06/0.4935, allocations: 0 / 449.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of Templates: time 0.003336/0.4969, allocations: 1.265 MB / 450.7 MB, free: 5.695 MB / 378.7 MB