Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 270.1 MB / 283.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.642e-05, allocations: 7.797 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 61.88 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5412, allocations: 90 MB / 0.4885 GB, free: 14.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5415, allocations: 79.95 kB / 0.4886 GB, free: 14.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03349/0.575, allocations: 9.24 MB / 0.4976 GB, free: 4.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.045e-06/0.5751, allocations: 4 kB / 0.4977 GB, free: 4.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.5751, allocations: 4 kB / 0.4977 GB, free: 4.688 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001355/0.5765, allocations: 0.5606 MB / 0.4982 GB, free: 4.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5765, allocations: 8.031 kB / 0.4982 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.577, allocations: 51.69 kB / 0.4983 GB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.5772, allocations: 182.8 kB / 0.4984 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.5773, allocations: 16.56 kB / 0.4985 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.5773, allocations: 27.95 kB / 0.4985 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.578, allocations: 262.3 kB / 0.4987 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.578, allocations: 0 / 0.4987 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.578, allocations: 4 kB / 0.4987 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5781, allocations: 12 kB / 0.4987 GB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.5786, allocations: 172.9 kB / 0.4989 GB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.5811, allocations: 1.017 MB / 0.4999 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.5818, allocations: 357.8 kB / 0.5002 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.5821, allocations: 105.7 kB / 0.5003 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.5822, allocations: 85.06 kB / 0.5004 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.5823, allocations: 38.56 kB / 0.5005 GB, free: 1.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.677e-06/0.5823, allocations: 0 / 0.5005 GB, free: 1.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006609/0.583, allocations: 195.4 kB / 0.5006 GB, free: 1.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.583, allocations: 81.11 kB / 0.5007 GB, free: 1.258 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.5832, allocations: 132.7 kB / 0.5009 GB, free: 1.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.5833, allocations: 29.7 kB / 0.5009 GB, free: 1.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.5834, allocations: 144.1 kB / 0.501 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.5835, allocations: 63.09 kB / 0.5011 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.5835, allocations: 8 kB / 0.5011 GB, free: 0.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5837, allocations: 326.9 kB / 0.5014 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.5838, allocations: 51.94 kB / 0.5014 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.584, allocations: 82.72 kB / 0.5015 GB, free: 412 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.5842, allocations: 67.89 kB / 0.5016 GB, free: 344 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5842, allocations: 0 / 0.5016 GB, free: 344 kB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005985/0.5848, allocations: 219 kB / 0.5018 GB, free: 112 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5849, allocations: 7.953 kB / 0.5018 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.317e-06/0.5849, allocations: 4 kB / 0.5018 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.5852, allocations: 53.81 kB / 0.5019 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.5855, allocations: 55.91 kB / 0.5019 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.5884, allocations: 2.643 MB / 0.5045 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.5886, allocations: 39.92 kB / 0.5045 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.5887, allocations: 4 kB / 0.5045 GB, free: 13.03 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.5888, allocations: 117.1 kB / 0.5046 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.5889, allocations: 15.86 kB / 0.5047 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006089/0.5896, allocations: 218.6 kB / 0.5049 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.766e-06/0.5896, allocations: 4 kB / 0.5049 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.206e-06/0.5896, allocations: 0 / 0.5049 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5896, allocations: 7.953 kB / 0.5049 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.591, allocations: 0.6147 MB / 0.5055 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.591, allocations: 0 / 0.5055 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.5913, allocations: 39.97 kB / 0.5055 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.5915, allocations: 49.69 kB / 0.5056 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5916, allocations: 8.062 kB / 0.5056 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/0.5947, allocations: 2.631 MB / 0.5081 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.5947, allocations: 4.031 kB / 0.5081 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.5961, allocations: 491.8 kB / 0.5086 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.5962, allocations: 92.86 kB / 0.5087 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.5963, allocations: 4 kB / 0.5087 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.5969, allocations: 28.05 kB / 0.5087 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.597, allocations: 19.92 kB / 0.5088 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.5971, allocations: 8 kB / 0.5088 GB, free: 8.277 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.5973, allocations: 103.3 kB / 0.5089 GB, free: 8.176 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.332e-06/0.5973, allocations: 0 / 0.5089 GB, free: 8.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001154/0.5985, allocations: 75.84 kB / 0.5089 GB, free: 8.102 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003577/0.5989, allocations: 151.2 kB / 0.5091 GB, free: 7.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00095/0.5998, allocations: 357 kB / 0.5094 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.06e-06/0.5999, allocations: 0 / 0.5094 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.6005, allocations: 287.5 kB / 0.5097 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.601, allocations: 8 kB / 0.5097 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.6024, allocations: 331.5 kB / 0.51 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.6031, allocations: 0.7514 MB / 0.5108 GB, free: 6.137 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.6033, allocations: 17.2 kB / 0.5108 GB, free: 6.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.6035, allocations: 15.44 kB / 0.5108 GB, free: 6.105 MB / 426.7 MB Notification: Performance of SimCode: time 2.735e-06/0.6035, allocations: 3.938 kB / 0.5108 GB, free: 6.102 MB / 426.7 MB Notification: Performance of Templates: time 0.008679/0.6122, allocations: 2.159 MB / 0.5129 GB, free: 3.945 MB / 426.7 MB