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.458/2.458, allocations: 234.9 MB / 250.1 MB, free: 10.91 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.289e-05, allocations: 4 kB / 308 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3602, allocations: 54.87 MB / 362.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002756/0.363, allocations: 1.499 MB / 364.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3642, allocations: 0.5079 MB / 364.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.3643, allocations: 8 kB / 364.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.3644, allocations: 19.86 kB / 364.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.3646, allocations: 27.92 kB / 364.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.3648, allocations: 27.97 kB / 364.9 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3649, allocations: 87.66 kB / 365 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3651, allocations: 28.31 kB / 365.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3653, allocations: 47.89 kB / 365.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.3654, allocations: 47.83 kB / 365.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.3654, allocations: 8 kB / 365.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3654, allocations: 4 kB / 365.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.3655, allocations: 19.92 kB / 365.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.3655, allocations: 12 kB / 365.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3657, allocations: 117.5 kB / 365.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3657, allocations: 0 / 365.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.428e-06/0.3658, allocations: 4 kB / 365.3 MB, free: 9.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3658, allocations: 3.938 kB / 365.3 MB, free: 9.395 MB / 298.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.0007353/0.3665, allocations: 423.2 kB / 365.7 MB, free: 8.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3666, allocations: 8.031 kB / 365.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.3666, allocations: 15.81 kB / 365.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3669, allocations: 194.8 kB / 365.9 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3669, allocations: 16.22 kB / 366 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.367, allocations: 12 kB / 366 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.3675, allocations: 143.8 kB / 366.1 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3675, allocations: 0 / 366.1 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.3675, allocations: 11.95 kB / 366.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3675, allocations: 0 / 366.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.368, allocations: 116.2 kB / 366.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.3695, allocations: 0.6222 MB / 366.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.3699, allocations: 78.62 kB / 366.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.37, allocations: 0 / 366.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.37, allocations: 34.56 kB / 367 MB, free: 7.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.37, allocations: 3.938 kB / 367 MB, free: 7.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006354/0.3707, allocations: 125.7 kB / 367.1 MB, free: 7.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3707, allocations: 55.41 kB / 367.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3709, allocations: 139 kB / 367.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3709, allocations: 29.7 kB / 367.3 MB, free: 7.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3711, allocations: 201.9 kB / 367.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3711, allocations: 19.69 kB / 367.5 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.3711, allocations: 4 kB / 367.5 MB, free: 6.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3713, allocations: 314.8 kB / 367.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3715, allocations: 39.98 kB / 367.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3717, allocations: 68.2 kB / 367.9 MB, free: 6.527 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.3719, allocations: 35.98 kB / 368 MB, free: 6.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3719, allocations: 4 kB / 368 MB, free: 6.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004948/0.3724, allocations: 137.5 kB / 368.1 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3725, allocations: 7.938 kB / 368.1 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3725, allocations: 0 / 368.1 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3725, allocations: 4 kB / 368.1 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.3728, allocations: 27.98 kB / 368.2 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3728, allocations: 4.062 kB / 368.2 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.373, allocations: 19.88 kB / 368.2 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.373, allocations: 11.98 kB / 368.2 MB, free: 6.273 MB / 298.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 0.0001226/0.3731, allocations: 117.8 kB / 368.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.3732, allocations: 15.84 kB / 368.3 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.3732, allocations: 12.31 kB / 368.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3733, allocations: 0 / 368.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3733, allocations: 0 / 368.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3733, allocations: 0 / 368.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3736, allocations: 213.5 kB / 368.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3736, allocations: 4 kB / 368.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3738, allocations: 15.98 kB / 368.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3738, allocations: 0 / 368.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3738, allocations: 11.95 kB / 368.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3738, allocations: 0 / 368.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3738, allocations: 0 / 368.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.3743, allocations: 191.4 kB / 368.8 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.3744, allocations: 89 kB / 368.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3744, allocations: 7.875 kB / 368.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3746, allocations: 15.94 kB / 368.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.3746, allocations: 7.984 kB / 368.9 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3747, allocations: 4.312 kB / 368.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.3748, allocations: 110.3 kB / 369 MB, free: 5.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3748, allocations: 0 / 369 MB, free: 5.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.3751, allocations: 31.84 kB / 369 MB, free: 5.352 MB / 298.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.0001182/0.3753, allocations: 91.25 kB / 369.1 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.3757, allocations: 95.92 kB / 369.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3757, allocations: 0 / 369.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.3759, allocations: 31.98 kB / 369.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3762, allocations: 6.812 kB / 369.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.377, allocations: 351.5 kB / 369.6 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3773, allocations: 0.7119 MB / 370.3 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.3774, allocations: 11.44 kB / 370.3 MB, free: 4 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3774, allocations: 0 / 370.3 MB, free: 4 MB / 298.7 MB Notification: Performance of Templates: time 0.003772/0.3812, allocations: 1.216 MB / 371.5 MB, free: 2.781 MB / 298.7 MB