Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.383e-05/5.41e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.165, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.5378, allocations: 87.84 MB / 430.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5381, allocations: 88.81 kB / 430.5 MB, free: 6.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08869/0.6268, allocations: 25.63 MB / 456.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6269, allocations: 7.938 kB / 456.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.586e-05/0.6269, allocations: 16 kB / 456.1 MB, free: 1.246 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.004255/0.6312, allocations: 1.092 MB / 457.2 MB, free: 108 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.6312, allocations: 11.97 kB / 457.2 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.6342, allocations: 326.8 kB / 457.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.6347, allocations: 258 kB / 457.8 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.6348, allocations: 58 kB / 457.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.635, allocations: 84 kB / 458 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.6371, allocations: 0.8096 MB / 458.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.6372, allocations: 0 / 458.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.6373, allocations: 36.34 kB / 458.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.6373, allocations: 23.95 kB / 458.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.6392, allocations: 0.6913 MB / 459.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/0.6457, allocations: 2.985 MB / 462.5 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.6473, allocations: 0.9557 MB / 463.5 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.6478, allocations: 210.5 kB / 463.7 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.648, allocations: 97.64 kB / 463.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.648, allocations: 39.12 kB / 463.8 MB, free: 9.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 4.182e-06/0.648, allocations: 0 / 463.8 MB, free: 9.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007207/0.6552, allocations: 1.82 MB / 465.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.6554, allocations: 93.61 kB / 465.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.6558, allocations: 282.5 kB / 466 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.6559, allocations: 37.64 kB / 466 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.6563, allocations: 425 kB / 466.4 MB, free: 6.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.6565, allocations: 213 kB / 466.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.6566, allocations: 12 kB / 466.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6568, allocations: 346.8 kB / 467 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.6574, allocations: 198 kB / 467.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/0.6582, allocations: 434.6 kB / 467.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.6589, allocations: 271.2 kB / 467.9 MB, free: 4.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.639e-06/0.6589, allocations: 4 kB / 467.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001911/0.6608, allocations: 0.7272 MB / 468.6 MB, free: 4.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.6609, allocations: 11.95 kB / 468.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.6609, allocations: 8 kB / 468.6 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.6612, allocations: 65.72 kB / 468.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.6625, allocations: 219.7 kB / 468.9 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.666, allocations: 2.66 MB / 471.6 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009988/0.667, allocations: 71.94 kB / 471.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6672, allocations: 44.05 kB / 471.7 MB, free: 0.7695 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.0002329/0.6674, allocations: 144.7 kB / 471.8 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.6676, allocations: 47.39 kB / 471.9 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.6693, allocations: 0.5987 MB / 472.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.6693, allocations: 11.98 kB / 472.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.853e-06/0.6693, allocations: 0 / 472.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.6693, allocations: 3.984 kB / 472.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/0.6723, allocations: 1.297 MB / 473.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6723, allocations: 0 / 473.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6733, allocations: 151.8 kB / 473.9 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002658/0.6736, allocations: 49.69 kB / 474 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.6737, allocations: 19.98 kB / 474 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.6766, allocations: 2.64 MB / 476.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.564e-06/0.6766, allocations: 4 kB / 476.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.6788, allocations: 0.8753 MB / 477.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/0.6794, allocations: 172.5 kB / 477.7 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.6796, allocations: 15.98 kB / 477.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6809, allocations: 60.02 kB / 477.8 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.6811, allocations: 44.48 kB / 477.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.6812, allocations: 16 kB / 477.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005801/0.6818, allocations: 218.2 kB / 478 MB, free: 10.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.063e-06/0.6819, allocations: 0 / 478 MB, free: 10.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001921/0.6838, allocations: 188 kB / 478.2 MB, free: 9.84 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.0006093/0.6845, allocations: 210.3 kB / 478.4 MB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.6874, allocations: 0.7437 MB / 479.2 MB, free: 8.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.685e-06/0.6874, allocations: 0 / 479.2 MB, free: 8.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.689, allocations: 473.5 kB / 479.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/0.6897, allocations: 38.39 kB / 479.7 MB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.6947, allocations: 0.8971 MB / 480.6 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.6958, allocations: 0.9042 MB / 481.5 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.6964, allocations: 67.39 kB / 481.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of SimCode: time 2.725e-06/0.6965, allocations: 0 / 481.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of Templates: time 0.03619/0.7327, allocations: 12.66 MB / 494.2 MB, free: 9.758 MB / 410.7 MB