Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 270 MB / 282.7 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.936e-05, allocations: 0 / 347 MB, free: 3.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3153, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.4491, allocations: 88.82 MB / 497.7 MB, free: 1.859 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4493, allocations: 67.97 kB / 497.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.4609, allocations: 2.919 MB / 0.4889 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.461, allocations: 3.938 kB / 0.4889 GB, free: 14.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.461, allocations: 4 kB / 0.4889 GB, free: 14.85 MB / 426.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.000625/0.4616, allocations: 414.4 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4617, allocations: 12.03 kB / 0.4893 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.4617, allocations: 15.81 kB / 0.4893 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.462, allocations: 203 kB / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4621, allocations: 8.281 kB / 0.4895 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.4621, allocations: 20 kB / 0.4896 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.4624, allocations: 119.5 kB / 0.4897 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.764e-06/0.4624, allocations: 0 / 0.4897 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.4625, allocations: 8 kB / 0.4897 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-06/0.4625, allocations: 3.938 kB / 0.4897 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.4627, allocations: 80.55 kB / 0.4898 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.4638, allocations: 0.5535 MB / 0.4903 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.4641, allocations: 62.58 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.4641, allocations: 16.98 kB / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4642, allocations: 0 / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4642, allocations: 38.56 kB / 0.4904 GB, free: 13.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.925e-06/0.4642, allocations: 0 / 0.4904 GB, free: 13.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002068/0.4644, allocations: 57.61 kB / 0.4905 GB, free: 13.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4645, allocations: 59.41 kB / 0.4905 GB, free: 13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.4647, allocations: 140.3 kB / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4647, allocations: 25.7 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4649, allocations: 197.8 kB / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.4649, allocations: 27.64 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-06/0.4649, allocations: 4 kB / 0.4909 GB, free: 12.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4651, allocations: 322.8 kB / 0.4912 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.4652, allocations: 16 kB / 0.4912 GB, free: 12.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.4653, allocations: 44.3 kB / 0.4913 GB, free: 12.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.85e-05/0.4654, allocations: 35.92 kB / 0.4913 GB, free: 12.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4654, allocations: 0 / 0.4913 GB, free: 12.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002267/0.4656, allocations: 89.55 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4656, allocations: 8 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.114e-06/0.4657, allocations: 0 / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4657, allocations: 7.938 kB / 0.4914 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.4659, allocations: 31.97 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4659, allocations: 12.19 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.4661, allocations: 15.84 kB / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.4661, allocations: 4 kB / 0.4915 GB, free: 12 MB / 426.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.636e-05/0.4662, allocations: 116.9 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.4662, allocations: 7.906 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.4663, allocations: 12.09 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-06/0.4663, allocations: 0 / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-06/0.4663, allocations: 0 / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-06/0.4663, allocations: 4 kB / 0.4916 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.4667, allocations: 213.6 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-06/0.4667, allocations: 0 / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.4668, allocations: 19.98 kB / 0.4918 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.369e-06/0.4668, allocations: 0 / 0.4918 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-06/0.4668, allocations: 0 / 0.4918 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-06/0.4669, allocations: 0 / 0.4918 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-06/0.4669, allocations: 0 / 0.4918 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.4671, allocations: 163.5 kB / 0.492 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.4672, allocations: 88.97 kB / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4672, allocations: 0 / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4674, allocations: 19.92 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4674, allocations: 0 / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-06/0.4674, allocations: 0 / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4676, allocations: 111 kB / 0.4922 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4676, allocations: 0 / 0.4922 GB, free: 11.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.4679, allocations: 35.84 kB / 0.4922 GB, free: 11.13 MB / 426.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.0001415/0.4681, allocations: 107.2 kB / 0.4923 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.4683, allocations: 43.94 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4683, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.4683, allocations: 16 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.4686, allocations: 16.19 kB / 0.4924 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.469, allocations: 161.8 kB / 0.4925 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.4694, allocations: 0.708 MB / 0.4932 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.4695, allocations: 11.44 kB / 0.4932 GB, free: 10.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.366e-06/0.4695, allocations: 0 / 0.4932 GB, free: 10.01 MB / 426.7 MB Notification: Performance of Templates: time 0.003301/0.4728, allocations: 1.268 MB / 0.4945 GB, free: 8.742 MB / 426.7 MB