Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/3.01e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09192, allocations: 50.43 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4659, allocations: 87.73 MB / 430.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4662, allocations: 85.08 kB / 430.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08791/0.5541, allocations: 25.52 MB / 455.9 MB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.989e-06/0.5542, allocations: 3.938 kB / 455.9 MB, free: 1.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.5542, allocations: 12 kB / 455.9 MB, free: 1.48 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.004276/0.5585, allocations: 1.092 MB / 457 MB, free: 348 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5586, allocations: 16.02 kB / 457 MB, free: 332 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.5615, allocations: 322.9 kB / 457.3 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.5619, allocations: 242.8 kB / 457.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.5621, allocations: 69.94 kB / 457.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.5623, allocations: 95.83 kB / 457.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.5644, allocations: 0.7979 MB / 458.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.5644, allocations: 4 kB / 458.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.5646, allocations: 36.34 kB / 458.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.5646, allocations: 23.95 kB / 458.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.5665, allocations: 0.6874 MB / 459.3 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006424/0.573, allocations: 2.973 MB / 462.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.5745, allocations: 0.9528 MB / 463.2 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.575, allocations: 206.5 kB / 463.4 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.5751, allocations: 101.6 kB / 463.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5752, allocations: 43.12 kB / 463.6 MB, free: 9.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 3.641e-06/0.5752, allocations: 0 / 463.6 MB, free: 9.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007115/0.5823, allocations: 1.824 MB / 465.4 MB, free: 7.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.5824, allocations: 81.67 kB / 465.5 MB, free: 7.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.5829, allocations: 275.2 kB / 465.7 MB, free: 7.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.5829, allocations: 33.7 kB / 465.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.5833, allocations: 417.1 kB / 466.2 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.5835, allocations: 212.9 kB / 466.4 MB, free: 6.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.5836, allocations: 19.94 kB / 466.4 MB, free: 6.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5838, allocations: 342.8 kB / 466.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.5844, allocations: 198 kB / 466.9 MB, free: 5.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007805/0.5851, allocations: 434.6 kB / 467.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/0.5858, allocations: 263.2 kB / 467.6 MB, free: 5.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.53e-06/0.5859, allocations: 4 kB / 467.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00187/0.5878, allocations: 0.7233 MB / 468.3 MB, free: 4.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.5878, allocations: 11.95 kB / 468.4 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.5878, allocations: 12 kB / 468.4 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.5881, allocations: 69.61 kB / 468.4 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.5894, allocations: 215.7 kB / 468.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.5922, allocations: 2.649 MB / 471.3 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009696/0.5932, allocations: 83.97 kB / 471.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.5934, allocations: 43.92 kB / 471.4 MB, free: 1.047 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.0002321/0.5936, allocations: 148.7 kB / 471.6 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5937, allocations: 43.48 kB / 471.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.5954, allocations: 0.6064 MB / 472.2 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5954, allocations: 4 kB / 472.2 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/0.5954, allocations: 0 / 472.2 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.5954, allocations: 3.984 kB / 472.2 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.5983, allocations: 1.286 MB / 473.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-06/0.5983, allocations: 3.984 kB / 473.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/0.5993, allocations: 151.8 kB / 473.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.5996, allocations: 57.61 kB / 473.7 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.5997, allocations: 15.98 kB / 473.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.6024, allocations: 2.648 MB / 476.4 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.6025, allocations: 0 / 476.4 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.6046, allocations: 0.8752 MB / 477.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.6049, allocations: 168.5 kB / 477.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.605, allocations: 16.12 kB / 477.4 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/0.6057, allocations: 55.95 kB / 477.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6059, allocations: 48.48 kB / 477.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.606, allocations: 23.98 kB / 477.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003226/0.6063, allocations: 198.2 kB / 477.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.6063, allocations: 4 kB / 477.8 MB, free: 10.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001006/0.6074, allocations: 184 kB / 477.9 MB, free: 10.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0003906/0.6078, allocations: 205.9 kB / 478.1 MB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.6094, allocations: 0.7328 MB / 478.9 MB, free: 9.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.742e-06/0.6095, allocations: 320 / 478.9 MB, free: 9.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008904/0.6104, allocations: 485.5 kB / 479.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.6108, allocations: 32.77 kB / 479.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.6137, allocations: 0.8933 MB / 480.3 MB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.6144, allocations: 0.8964 MB / 481.2 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.6148, allocations: 59.41 kB / 481.2 MB, free: 6.746 MB / 394.7 MB Notification: Performance of SimCode: time 1.815e-06/0.6148, allocations: 0 / 481.2 MB, free: 6.746 MB / 394.7 MB Notification: Performance of Templates: time 0.0216/0.6364, allocations: 12.54 MB / 493.8 MB, free: 10.19 MB / 410.7 MB