Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.438e-05, allocations: 4 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3196, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4562, allocations: 89.35 MB / 498.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4564, allocations: 67.97 kB / 498.3 MB, free: 1.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02902/0.4855, allocations: 7.192 MB / 0.4936 GB, free: 9.996 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4855, allocations: 0 / 0.4936 GB, free: 9.996 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.4856, allocations: 8 kB / 0.4936 GB, free: 9.988 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001126/0.4867, allocations: 0.588 MB / 0.4942 GB, free: 9.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4867, allocations: 8.031 kB / 0.4942 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.809e-05/0.4869, allocations: 39.53 kB / 0.4942 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.4873, allocations: 272.3 kB / 0.4945 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.4874, allocations: 28.78 kB / 0.4945 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.4874, allocations: 32 kB / 0.4945 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.4882, allocations: 326.3 kB / 0.4949 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4882, allocations: 3.938 kB / 0.4949 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.4882, allocations: 16 kB / 0.4949 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4883, allocations: 8 kB / 0.4949 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.4888, allocations: 200.7 kB / 0.4951 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.4914, allocations: 1.29 MB / 0.4963 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.4918, allocations: 170.5 kB / 0.4965 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.492, allocations: 59.56 kB / 0.4966 GB, free: 6.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.492, allocations: 4 kB / 0.4966 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.4921, allocations: 38.59 kB / 0.4966 GB, free: 6.676 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.755e-06/0.4921, allocations: 4 kB / 0.4966 GB, free: 6.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004879/0.4926, allocations: 145.3 kB / 0.4967 GB, free: 6.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.4927, allocations: 140.4 kB / 0.4969 GB, free: 6.355 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.4931, allocations: 282.7 kB / 0.4971 GB, free: 6.074 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4932, allocations: 25.7 kB / 0.4972 GB, free: 6.043 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.4934, allocations: 289.8 kB / 0.4974 GB, free: 5.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.4935, allocations: 55.38 kB / 0.4975 GB, free: 5.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.4935, allocations: 4 kB / 0.4975 GB, free: 5.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4937, allocations: 322.8 kB / 0.4978 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4939, allocations: 52.56 kB / 0.4979 GB, free: 5.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.4941, allocations: 143.9 kB / 0.498 GB, free: 5.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.4943, allocations: 71.91 kB / 0.4981 GB, free: 5.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.966e-06/0.4944, allocations: 0 / 0.4981 GB, free: 5.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005675/0.4949, allocations: 229.2 kB / 0.4983 GB, free: 4.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.495, allocations: 4 kB / 0.4983 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.495, allocations: 4 kB / 0.4983 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.495, allocations: 4 kB / 0.4983 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.4955, allocations: 92.09 kB / 0.4984 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.4955, allocations: 11.92 kB / 0.4984 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.4959, allocations: 51.52 kB / 0.4984 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.4959, allocations: 8 kB / 0.4984 GB, free: 4.668 MB / 426.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.000115/0.496, allocations: 116.9 kB / 0.4986 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.4962, allocations: 31.72 kB / 0.4986 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.4963, allocations: 34.41 kB / 0.4986 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.4963, allocations: 7.984 kB / 0.4986 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.158e-06/0.4963, allocations: 3.953 kB / 0.4986 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.974e-06/0.4963, allocations: 336 / 0.4986 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.4974, allocations: 0.5954 MB / 0.4992 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-06/0.4975, allocations: 0 / 0.4992 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.4977, allocations: 51.91 kB / 0.4993 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/0.4978, allocations: 0 / 0.4993 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.4978, allocations: 7.938 kB / 0.4993 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.4978, allocations: 3.938 kB / 0.4993 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.711e-06/0.4978, allocations: 4 kB / 0.4993 GB, free: 3.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.4983, allocations: 414.7 kB / 0.4997 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4985, allocations: 112.6 kB / 0.4998 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.4985, allocations: 8 kB / 0.4998 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.4989, allocations: 23.91 kB / 0.4998 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.4989, allocations: 19.98 kB / 0.4998 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.499, allocations: 4 kB / 0.4998 GB, free: 3.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.4993, allocations: 222.2 kB / 0.5001 GB, free: 2.859 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.4993, allocations: 0 / 0.5001 GB, free: 2.859 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005335/0.4999, allocations: 75.75 kB / 0.5001 GB, free: 2.785 MB / 426.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.0001533/0.5, allocations: 111.1 kB / 0.5002 GB, free: 2.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.5004, allocations: 139.8 kB / 0.5004 GB, free: 2.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.5005, allocations: 0 / 0.5004 GB, free: 2.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.5006, allocations: 47.94 kB / 0.5004 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.501, allocations: 29.16 kB / 0.5004 GB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.5019, allocations: 386.6 kB / 0.5008 GB, free: 2.035 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.5025, allocations: 0.7794 MB / 0.5016 GB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.5026, allocations: 23.42 kB / 0.5016 GB, free: 1.207 MB / 426.7 MB Notification: Performance of SimCode: time 1.407e-06/0.5026, allocations: 0 / 0.5016 GB, free: 1.207 MB / 426.7 MB Notification: Performance of Templates: time 0.006359/0.509, allocations: 3.094 MB / 0.5046 GB, free: 14.12 MB / 442.7 MB