Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.998e-05, allocations: 5.562 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.0916, allocations: 50.42 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.4708, allocations: 88.44 MB / 431 MB, free: 5.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.4712, allocations: 93.06 kB / 431.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1287/0.5998, allocations: 35.48 MB / 466.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.297e-06/0.5999, allocations: 4 kB / 466.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.674e-05/0.6, allocations: 20 kB / 466.6 MB, free: 6.672 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006157/0.6061, allocations: 1.475 MB / 468.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.6062, allocations: 12.02 kB / 468.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.6105, allocations: 458.1 kB / 468.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.611, allocations: 297.6 kB / 468.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.6112, allocations: 102.6 kB / 468.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.6116, allocations: 127.9 kB / 469 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.6147, allocations: 1.212 MB / 470.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/0.6148, allocations: 0 / 470.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.6149, allocations: 55.95 kB / 470.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.615, allocations: 32 kB / 470.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.6179, allocations: 1.067 MB / 471.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00998/0.6279, allocations: 4.26 MB / 475.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.6312, allocations: 2.234 MB / 477.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.6325, allocations: 0.5079 MB / 478.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.6328, allocations: 114.1 kB / 478.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.6328, allocations: 43.56 kB / 478.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.019e-06/0.6328, allocations: 0 / 478.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.009594/0.6424, allocations: 2.772 MB / 481.3 MB, free: 7.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.6425, allocations: 90.11 kB / 481.4 MB, free: 7.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.6432, allocations: 347.4 kB / 481.8 MB, free: 6.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.6433, allocations: 45.7 kB / 481.8 MB, free: 6.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.6437, allocations: 0.5014 MB / 482.3 MB, free: 6.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004628/0.6442, allocations: 429.8 kB / 482.7 MB, free: 5.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.6443, allocations: 24 kB / 482.8 MB, free: 5.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.6445, allocations: 362.8 kB / 483.1 MB, free: 5.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009295/0.6455, allocations: 348 kB / 483.4 MB, free: 5.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.6467, allocations: 0.6086 MB / 484.1 MB, free: 4.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.6478, allocations: 453 kB / 484.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.6479, allocations: 4 kB / 484.5 MB, free: 3.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003215/0.6511, allocations: 1.275 MB / 485.8 MB, free: 2.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.6511, allocations: 8 kB / 485.8 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.6512, allocations: 8 kB / 485.8 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007272/0.6519, allocations: 185.6 kB / 486 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.6536, allocations: 307.5 kB / 486.3 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.6595, allocations: 3.975 MB / 490.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.6608, allocations: 88 kB / 490.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.661, allocations: 55.98 kB / 490.4 MB, free: 13.75 MB / 410.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 (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003255/0.6614, allocations: 184.6 kB / 490.6 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.6616, allocations: 67.16 kB / 490.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.6647, allocations: 1.195 MB / 491.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.6648, allocations: 15.98 kB / 491.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6648, allocations: 7.938 kB / 491.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.6648, allocations: 7.969 kB / 491.9 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/0.6705, allocations: 2.361 MB / 494.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.205e-06/0.6705, allocations: 0 / 494.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.6719, allocations: 231.8 kB / 494.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00062/0.6725, allocations: 161.6 kB / 494.6 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.6726, allocations: 35.94 kB / 494.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005303/0.678, allocations: 3.763 MB / 498.4 MB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.552e-06/0.678, allocations: 4.062 kB / 498.4 MB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004011/0.682, allocations: 1.69 MB / 0.4884 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/0.6826, allocations: 224.2 kB / 0.4886 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.6828, allocations: 24.06 kB / 0.4886 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009158/0.6837, allocations: 79.94 kB / 0.4887 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.684, allocations: 92.77 kB / 0.4888 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.6841, allocations: 39.98 kB / 0.4888 GB, free: 3.145 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004342/0.6845, allocations: 258.2 kB / 0.4891 GB, free: 2.895 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.6845, allocations: 0 / 0.4891 GB, free: 2.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001578/0.6861, allocations: 320.1 kB / 0.4894 GB, free: 2.582 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/0.6866, allocations: 214.1 kB / 0.4896 GB, free: 2.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.6896, allocations: 1.247 MB / 0.4908 GB, free: 1.098 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.175e-06/0.6896, allocations: 0 / 0.4908 GB, free: 1.098 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.6913, allocations: 0.7586 MB / 0.4915 GB, free: 324 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.6919, allocations: 57.27 kB / 0.4916 GB, free: 264 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.6962, allocations: 1.415 MB / 0.493 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009275/0.6972, allocations: 1.029 MB / 0.494 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/0.6977, allocations: 91.39 kB / 0.4941 GB, free: 13.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.744e-06/0.6978, allocations: 0 / 0.4941 GB, free: 13.66 MB / 426.7 MB Notification: Performance of Templates: time 0.03142/0.7292, allocations: 18.62 MB / 0.5122 GB, free: 11 MB / 442.7 MB