Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadModel(Modelica): time 2.29/2.29, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.762e-05, allocations: 0 / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004118/0.1261, allocations: 2.228 MB / 347.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.129, allocations: 0.9547 MB / 348.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1292, allocations: 11.94 kB / 348.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.1296, allocations: 83.5 kB / 348.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.1302, allocations: 107.7 kB / 348.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.1321, allocations: 0.5022 MB / 348.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.1327, allocations: 163.5 kB / 349 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.1345, allocations: 0.5022 MB / 349.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.1348, allocations: 87.78 kB / 349.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.1352, allocations: 115.7 kB / 349.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000729/0.136, allocations: 135.8 kB / 349.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.608e-05/0.1361, allocations: 16 kB / 349.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.1362, allocations: 39.83 kB / 349.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1363, allocations: 24 kB / 349.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009408/0.1373, allocations: 363.3 kB / 350.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1373, allocations: 0 / 350.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1373, allocations: 0 / 350.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1373, allocations: 4 kB / 350.3 MB, free: 3.582 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003479/0.1408, allocations: 0.663 MB / 351 MB, free: 2.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.1409, allocations: 8.031 kB / 351 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.1429, allocations: 127.5 kB / 351.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.1435, allocations: 255.3 kB / 351.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.1435, allocations: 24.66 kB / 351.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1437, allocations: 31.91 kB / 351.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.1448, allocations: 329 kB / 351.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.1449, allocations: 4 kB / 351.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/0.1449, allocations: 8 kB / 351.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.145, allocations: 15.95 kB / 351.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00833/0.1533, allocations: 238.5 kB / 352 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.1576, allocations: 1.451 MB / 353.4 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/0.1638, allocations: 0.6999 MB / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.164, allocations: 89.11 kB / 354.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1641, allocations: 30.56 kB / 354.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.937e-06/0.1641, allocations: 0 / 354.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.006161/0.1703, allocations: 493 kB / 354.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.1704, allocations: 55.41 kB / 354.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.1707, allocations: 154.5 kB / 354.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.1708, allocations: 33.7 kB / 355 MB, free: 14.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.171, allocations: 242.4 kB / 355.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1712, allocations: 90.73 kB / 355.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.1712, allocations: 4 kB / 355.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1714, allocations: 326.8 kB / 355.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1717, allocations: 68.48 kB / 355.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.1721, allocations: 128.1 kB / 355.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.1725, allocations: 89.17 kB / 355.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1725, allocations: 0 / 355.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001328/0.1738, allocations: 320.1 kB / 356.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.1739, allocations: 8 kB / 356.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1739, allocations: 0 / 356.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.1792, allocations: 84.73 kB / 356.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.1797, allocations: 35.98 kB / 356.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.1837, allocations: 1.862 MB / 358.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.1841, allocations: 23.69 kB / 358.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.1841, allocations: 12 kB / 358.2 MB, free: 11.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002851/0.1844, allocations: 153.8 kB / 358.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.1845, allocations: 15.81 kB / 358.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.1858, allocations: 289.9 kB / 358.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1858, allocations: 4 kB / 358.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1858, allocations: 0 / 358.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1858, allocations: 0 / 358.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.188, allocations: 0.6942 MB / 359.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.188, allocations: 0 / 359.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.1883, allocations: 27.92 kB / 359.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.1888, allocations: 72.81 kB / 359.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.1889, allocations: 4 kB / 359.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003621/0.1925, allocations: 1.862 MB / 361.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1926, allocations: 4.031 kB / 361.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.194, allocations: 446.8 kB / 361.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1942, allocations: 112.9 kB / 361.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.1943, allocations: 7.953 kB / 361.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.1945, allocations: 8 kB / 361.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.1946, allocations: 19.97 kB / 361.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.1947, allocations: 4 kB / 361.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1949, allocations: 127.8 kB / 362.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1949, allocations: 0 / 362.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001015/0.1959, allocations: 91.75 kB / 362.2 MB, free: 6.871 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003252/0.1963, allocations: 135.2 kB / 362.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.1974, allocations: 346.5 kB / 362.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1975, allocations: 0 / 362.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.1982, allocations: 254.3 kB / 362.9 MB, free: 6.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1986, allocations: 8 kB / 362.9 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.2007, allocations: 0.7346 MB / 363.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.2012, allocations: 0.7635 MB / 364.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2013, allocations: 19.44 kB / 364.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2013, allocations: 0 / 364.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of Templates: time 0.01153/0.2129, allocations: 3.822 MB / 368.2 MB, free: 0.707 MB / 298.7 MB