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 2.346/2.346, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.91e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008901/0.1179, allocations: 5.196 MB / 350.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.1234, allocations: 2.029 MB / 352.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008523/0.1243, allocations: 24 kB / 352.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1254, allocations: 230.5 kB / 352.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.1279, allocations: 0.5567 MB / 353 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.1313, allocations: 0.8881 MB / 353.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.1333, allocations: 0.5816 MB / 354.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.1376, allocations: 1.39 MB / 355.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008817/0.1385, allocations: 347.1 kB / 356.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.1394, allocations: 458.6 kB / 356.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1407, allocations: 307.6 kB / 357 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.1411, allocations: 48 kB / 357 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.1413, allocations: 167.3 kB / 357.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.1416, allocations: 88 kB / 357.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.1442, allocations: 1.223 MB / 358.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1442, allocations: 0 / 358.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1442, allocations: 0 / 358.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.632e-05/0.1443, allocations: 0 / 358.5 MB, free: 11.38 MB / 298.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.009721/0.154, allocations: 1.804 MB / 360.3 MB, free: 9.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1541, allocations: 8.031 kB / 360.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.1597, allocations: 0.5137 MB / 360.8 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.1602, allocations: 305.6 kB / 361.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.1605, allocations: 102.5 kB / 361.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004633/0.1609, allocations: 127.9 kB / 361.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/0.1653, allocations: 1.295 MB / 362.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.355e-05/0.1654, allocations: 7.984 kB / 362.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.1656, allocations: 52 kB / 362.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.1656, allocations: 32 kB / 362.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005/0.1706, allocations: 1.216 MB / 363.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.1828, allocations: 4.244 MB / 368.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/0.1873, allocations: 2.443 MB / 370.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.1876, allocations: 102.1 kB / 370.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.1877, allocations: 51.5 kB / 370.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 4.188e-06/0.1877, allocations: 4 kB / 370.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.02173/0.2094, allocations: 4.044 MB / 374.8 MB, free: 10.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.2095, allocations: 90.11 kB / 374.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.2102, allocations: 348.7 kB / 375.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.2104, allocations: 45.7 kB / 375.3 MB, free: 9.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.2108, allocations: 0.5052 MB / 375.8 MB, free: 9.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.2113, allocations: 425.7 kB / 376.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2115, allocations: 24 kB / 376.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2117, allocations: 362.8 kB / 376.6 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.2138, allocations: 455.8 kB / 377 MB, free: 8.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.2163, allocations: 0.7153 MB / 377.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.2188, allocations: 0.5334 MB / 378.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.2189, allocations: 4 kB / 378.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.006113/0.225, allocations: 1.486 MB / 379.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.2251, allocations: 8 kB / 379.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.2251, allocations: 12 kB / 379.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008727/0.226, allocations: 193.6 kB / 380 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.2287, allocations: 311.5 kB / 380.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/0.2356, allocations: 4.01 MB / 384.3 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.2374, allocations: 95.86 kB / 384.4 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.2376, allocations: 55.98 kB / 384.4 MB, free: 248 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0007478/0.2384, allocations: 257.6 kB / 384.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.2386, allocations: 63.25 kB / 384.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005861/0.2445, allocations: 1.405 MB / 386.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.2446, allocations: 12 kB / 386.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.2446, allocations: 4 kB / 386.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.2446, allocations: 7.969 kB / 386.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/0.2538, allocations: 2.66 MB / 388.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.2538, allocations: 8.125 kB / 388.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/0.2561, allocations: 223.7 kB / 389.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/0.2569, allocations: 161.6 kB / 389.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.2572, allocations: 27.98 kB / 389.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00604/0.2632, allocations: 3.834 MB / 393.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.2633, allocations: 112 / 393.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00777/0.2711, allocations: 1.982 MB / 395.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.2718, allocations: 228.3 kB / 395.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.272, allocations: 24 kB / 395.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.2735, allocations: 73.03 kB / 395.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.2738, allocations: 96.8 kB / 395.5 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.274, allocations: 39.98 kB / 395.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005093/0.2745, allocations: 263.2 kB / 395.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.2745, allocations: 0 / 395.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001731/0.2762, allocations: 304 kB / 396.1 MB, free: 4.129 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.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.0004776/0.2768, allocations: 183.1 kB / 396.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00585/0.2826, allocations: 1.489 MB / 397.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.2827, allocations: 4.062 kB / 397.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003074/0.2858, allocations: 0.8817 MB / 398.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.2865, allocations: 56.12 kB / 398.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2792/0.5658, allocations: 2.402 MB / 401.1 MB, free: 49.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/0.5667, allocations: 1.029 MB / 402.1 MB, free: 48.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00076/0.5675, allocations: 91.39 kB / 402.2 MB, free: 48.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5675, allocations: 0.5625 kB / 402.2 MB, free: 48.55 MB / 330.7 MB Notification: Performance of Templates: time 0.03751/0.605, allocations: 18.64 MB / 420.8 MB, free: 41.31 MB / 330.7 MB