Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.449e-05, allocations: 0 / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09221, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4538, allocations: 87.78 MB / 430.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4541, allocations: 85.56 kB / 430.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08582/0.5399, allocations: 25.63 MB / 456.1 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.806e-06/0.5399, allocations: 0 / 456.1 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.54, allocations: 20 kB / 456.1 MB, free: 0.9531 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004007/0.544, allocations: 1.096 MB / 457.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5441, allocations: 15.97 kB / 457.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.5468, allocations: 330.8 kB / 457.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.5471, allocations: 250 kB / 457.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/0.5472, allocations: 66 kB / 457.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.5474, allocations: 83.98 kB / 457.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.5493, allocations: 0.8018 MB / 458.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.5494, allocations: 4 kB / 458.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5495, allocations: 28.34 kB / 458.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.5495, allocations: 23.95 kB / 458.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.5514, allocations: 0.6952 MB / 459.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006038/0.5574, allocations: 2.985 MB / 462.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.5589, allocations: 0.9635 MB / 463.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.5594, allocations: 202.5 kB / 463.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.5595, allocations: 97.64 kB / 463.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.5596, allocations: 43.12 kB / 463.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 3.578e-06/0.5596, allocations: 0 / 463.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.008899/0.5685, allocations: 1.816 MB / 465.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.5686, allocations: 97.59 kB / 465.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.5693, allocations: 282.5 kB / 465.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.861e-05/0.5695, allocations: 37.7 kB / 466 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.5699, allocations: 362.6 kB / 466.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/0.5702, allocations: 209 kB / 466.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.5703, allocations: 12 kB / 466.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.5706, allocations: 362.7 kB / 466.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009822/0.5716, allocations: 198 kB / 467.1 MB, free: 5.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.5729, allocations: 434.6 kB / 467.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.574, allocations: 267.2 kB / 467.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.5741, allocations: 0 / 467.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003295/0.5774, allocations: 0.7388 MB / 468.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.5775, allocations: 15.95 kB / 468.5 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.5775, allocations: 8 kB / 468.5 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.5781, allocations: 61.69 kB / 468.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.5793, allocations: 219.7 kB / 468.8 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.5822, allocations: 2.652 MB / 471.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.5831, allocations: 79.86 kB / 471.5 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5832, allocations: 35.98 kB / 471.6 MB, free: 0.5195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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.0002257/0.5835, allocations: 153.5 kB / 471.7 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5836, allocations: 47.66 kB / 471.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.5852, allocations: 0.6026 MB / 472.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.831e-06/0.5853, allocations: 4 kB / 472.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.459e-06/0.5853, allocations: 0 / 472.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.5853, allocations: 7.984 kB / 472.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.5881, allocations: 1.293 MB / 473.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.251e-06/0.5881, allocations: 3.938 kB / 473.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/0.5891, allocations: 147.8 kB / 473.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.5894, allocations: 61.67 kB / 473.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.5895, allocations: 15.98 kB / 473.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/0.5923, allocations: 2.644 MB / 476.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.909e-06/0.5923, allocations: 0 / 476.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5945, allocations: 0.883 MB / 477.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.5948, allocations: 164.5 kB / 477.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.445e-05/0.5949, allocations: 8 kB / 477.6 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/0.5956, allocations: 59.94 kB / 477.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.5958, allocations: 52.56 kB / 477.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.5959, allocations: 19.98 kB / 477.7 MB, free: 9.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003297/0.5962, allocations: 214.2 kB / 477.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.5962, allocations: 0 / 477.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009817/0.5972, allocations: 184 kB / 478.1 MB, free: 9.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * 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.0003911/0.5976, allocations: 213.6 kB / 478.3 MB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.5992, allocations: 0.7407 MB / 479.1 MB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5992, allocations: 0 / 479.1 MB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008632/0.6001, allocations: 481.5 kB / 479.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.6005, allocations: 36.86 kB / 479.6 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.6032, allocations: 0.8682 MB / 480.4 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.6039, allocations: 0.8964 MB / 481.3 MB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006917/0.6046, allocations: 96.52 kB / 481.4 MB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.6049, allocations: 51.42 kB / 481.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of SimCode: time 1.261e-06/0.6049, allocations: 0 / 481.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of Templates: time 0.01808/0.623, allocations: 6.079 MB / 487.6 MB, free: 64 kB / 394.7 MB