Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 224.7 MB / 241.1 MB, free: 15.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.499e-05, allocations: 0 / 294.6 MB, free: 4.477 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 50.43 MB / 345 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006878/0.1135, allocations: 4.047 MB / 349 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.1173, allocations: 1.425 MB / 350.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.118, allocations: 20 kB / 350.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.1186, allocations: 162.9 kB / 350.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.1197, allocations: 267.2 kB / 350.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.1219, allocations: 0.6076 MB / 351.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.1232, allocations: 443.4 kB / 351.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/0.1268, allocations: 1.219 MB / 353.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.1274, allocations: 243.3 kB / 353.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.128, allocations: 331 kB / 353.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.1288, allocations: 179.8 kB / 353.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.129, allocations: 32 kB / 353.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1291, allocations: 119.5 kB / 354 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.1294, allocations: 64 kB / 354.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1309, allocations: 0.8999 MB / 355 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1309, allocations: 0 / 355 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1309, allocations: 0 / 355 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.131, allocations: 0 / 355 MB, free: 0.9492 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005815/0.1368, allocations: 1.272 MB / 356.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1369, allocations: 15.97 kB / 356.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.1394, allocations: 250.8 kB / 356.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.1398, allocations: 254 kB / 356.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.14, allocations: 74 kB / 356.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.1403, allocations: 99.91 kB / 357 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.1428, allocations: 0.9304 MB / 357.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.1429, allocations: 3.984 kB / 357.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.1431, allocations: 40 kB / 357.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.1431, allocations: 24 kB / 358 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.1455, allocations: 0.7731 MB / 358.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008619/0.1541, allocations: 3.408 MB / 362.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.1574, allocations: 1.245 MB / 363.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.1577, allocations: 102 kB / 363.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1577, allocations: 47.56 kB / 363.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 4.027e-06/0.1577, allocations: 0 / 363.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.003599/0.1614, allocations: 1.289 MB / 364.8 MB, free: 6.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1615, allocations: 94.09 kB / 364.9 MB, free: 6.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.1621, allocations: 323.6 kB / 365.2 MB, free: 6.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.1622, allocations: 37.7 kB / 365.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.1626, allocations: 437.3 kB / 365.7 MB, free: 5.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.1629, allocations: 303.6 kB / 366 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.163, allocations: 20 kB / 366 MB, free: 5.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1632, allocations: 354.8 kB / 366.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.164, allocations: 266.5 kB / 366.6 MB, free: 4.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.1649, allocations: 459.5 kB / 367.1 MB, free: 4.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/0.1659, allocations: 338.9 kB / 367.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.1659, allocations: 0 / 367.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002637/0.1685, allocations: 0.9497 MB / 368.3 MB, free: 2.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.1686, allocations: 11.98 kB / 368.4 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.1686, allocations: 8 kB / 368.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/0.1693, allocations: 123.3 kB / 368.5 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.1709, allocations: 199.7 kB / 368.7 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.1767, allocations: 5.598 MB / 374.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.1778, allocations: 106.9 kB / 374.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.178, allocations: 43.94 kB / 374.4 MB, free: 12.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005004/0.1785, allocations: 228.3 kB / 374.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.1787, allocations: 55.42 kB / 374.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.1811, allocations: 0.848 MB / 375.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.1812, allocations: 16 kB / 375.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.1812, allocations: 0 / 375.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.1813, allocations: 3.984 kB / 375.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/0.186, allocations: 1.932 MB / 377.5 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.186, allocations: 11.97 kB / 377.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.1872, allocations: 131.8 kB / 377.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/0.1877, allocations: 115.3 kB / 377.8 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.1878, allocations: 20 kB / 377.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/0.1929, allocations: 5.323 MB / 383.1 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.193, allocations: 4 kB / 383.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.1962, allocations: 1.386 MB / 384.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.1965, allocations: 144.2 kB / 384.6 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.1966, allocations: 19.98 kB / 384.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.1973, allocations: 20 kB / 384.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.1975, allocations: 72.53 kB / 384.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.1976, allocations: 24 kB / 384.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004424/0.198, allocations: 251.2 kB / 385 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.198, allocations: 0 / 385 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001282/0.1993, allocations: 260.4 kB / 385.3 MB, free: 0.6602 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 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.0003701/0.1997, allocations: 159.1 kB / 385.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.2024, allocations: 1.158 MB / 386.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.2025, allocations: 448 / 386.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.2039, allocations: 0.7913 MB / 387.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.2046, allocations: 45.42 kB / 387.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.2088, allocations: 1.749 MB / 389.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.2096, allocations: 0.9285 MB / 390.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.2101, allocations: 63.42 kB / 390.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2101, allocations: 0 / 390.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of Templates: time 0.03553/0.2456, allocations: 19.57 MB / 409.7 MB, free: 8 MB / 346.7 MB