Running command: translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadModel(ModelicaTest): time 2.683/2.683, allocations: 270 MB / 283.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.705e-05, allocations: 0 / 348.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 61.89 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.51, allocations: 89.33 MB / 499.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/0.5104, allocations: 71.97 kB / 499.7 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0504/0.5608, allocations: 7.197 MB / 0.495 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.531e-06/0.5609, allocations: 4 kB / 0.495 GB, free: 9.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.561, allocations: 4 kB / 0.495 GB, free: 9.926 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.00208/0.5631, allocations: 0.5802 MB / 0.4956 GB, free: 9.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.5632, allocations: 12.03 kB / 0.4956 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.5634, allocations: 39.53 kB / 0.4956 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.5642, allocations: 272.3 kB / 0.4959 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/0.5643, allocations: 28.78 kB / 0.4959 GB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.5645, allocations: 36 kB / 0.4959 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.5659, allocations: 318.2 kB / 0.4963 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.5659, allocations: 3.938 kB / 0.4963 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.566, allocations: 16 kB / 0.4963 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.5661, allocations: 8 kB / 0.4963 GB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.5672, allocations: 200.7 kB / 0.4965 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.5718, allocations: 1.29 MB / 0.4977 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/0.5726, allocations: 166.6 kB / 0.4979 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.5729, allocations: 59.55 kB / 0.4979 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.573, allocations: 7.984 kB / 0.498 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.573, allocations: 38.56 kB / 0.498 GB, free: 6.621 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 5.067e-06/0.573, allocations: 0 / 0.498 GB, free: 6.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009228/0.574, allocations: 145.4 kB / 0.4981 GB, free: 6.473 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.5742, allocations: 136.5 kB / 0.4983 GB, free: 6.309 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.575, allocations: 286.7 kB / 0.4985 GB, free: 6.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.5751, allocations: 33.73 kB / 0.4986 GB, free: 5.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.5755, allocations: 239.3 kB / 0.4988 GB, free: 5.746 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.5756, allocations: 47.36 kB / 0.4988 GB, free: 5.699 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.5756, allocations: 4 kB / 0.4988 GB, free: 5.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003028/0.576, allocations: 342.8 kB / 0.4992 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.5763, allocations: 48.56 kB / 0.4992 GB, free: 5.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.5768, allocations: 147.9 kB / 0.4994 GB, free: 5.117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.5772, allocations: 79.89 kB / 0.4994 GB, free: 5.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.438e-06/0.5772, allocations: 0 / 0.4994 GB, free: 5.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001182/0.5784, allocations: 245 kB / 0.4997 GB, free: 4.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.5785, allocations: 7.938 kB / 0.4997 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5785, allocations: 4.25 kB / 0.4997 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/0.5786, allocations: 8 kB / 0.4997 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.5795, allocations: 83.84 kB / 0.4998 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/0.5795, allocations: 8 kB / 0.4998 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.5804, allocations: 51.52 kB / 0.4998 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.5805, allocations: 12 kB / 0.4998 GB, free: 4.621 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.0002212/0.5807, allocations: 116.9 kB / 0.4999 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.5811, allocations: 35.61 kB / 0.5 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.5813, allocations: 34.41 kB / 0.5 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.5813, allocations: 4 kB / 0.5 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.5814, allocations: 3.953 kB / 0.5 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.554e-06/0.5814, allocations: 0 / 0.5 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.5838, allocations: 0.5876 MB / 0.5006 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.891e-06/0.5839, allocations: 0 / 0.5006 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.5845, allocations: 47.86 kB / 0.5006 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.5845, allocations: 4 kB / 0.5006 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.5846, allocations: 8 kB / 0.5006 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.5846, allocations: 4.156 kB / 0.5007 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-06/0.5846, allocations: 7.938 kB / 0.5007 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.5851, allocations: 417.1 kB / 0.5011 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.5853, allocations: 112.6 kB / 0.5012 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.5854, allocations: 11.98 kB / 0.5012 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.5857, allocations: 23.98 kB / 0.5012 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.5858, allocations: 11.98 kB / 0.5012 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.5858, allocations: 8.141 kB / 0.5012 GB, free: 3.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003352/0.5862, allocations: 218.2 kB / 0.5014 GB, free: 2.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.5862, allocations: 0 / 0.5014 GB, free: 2.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005659/0.5868, allocations: 71.84 kB / 0.5015 GB, free: 2.742 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.0001642/0.5869, allocations: 111.2 kB / 0.5016 GB, free: 2.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.5873, allocations: 143.7 kB / 0.5017 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.938e-06/0.5874, allocations: 0 / 0.5017 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.5875, allocations: 55.88 kB / 0.5018 GB, free: 2.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.5879, allocations: 25.97 kB / 0.5018 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.5888, allocations: 348.1 kB / 0.5021 GB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.5894, allocations: 0.7833 MB / 0.5029 GB, free: 1.219 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.5896, allocations: 18.08 kB / 0.5029 GB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.5897, allocations: 23.44 kB / 0.503 GB, free: 1.18 MB / 426.7 MB Notification: Performance of SimCode: time 3.675e-06/0.5897, allocations: 0 / 0.503 GB, free: 1.18 MB / 426.7 MB Notification: Performance of Templates: time 0.007124/0.5968, allocations: 1.691 MB / 0.5046 GB, free: 15.5 MB / 442.7 MB