Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadModel(Modelica): time 2.21/2.21, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.194e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.42 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006903/0.1194, allocations: 3.973 MB / 349 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.124, allocations: 1.753 MB / 350.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.1245, allocations: 16 kB / 350.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.1252, allocations: 178.8 kB / 350.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.127, allocations: 454.5 kB / 351.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.1297, allocations: 0.8009 MB / 352.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1309, allocations: 395.6 kB / 352.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002866/0.1338, allocations: 1.02 MB / 353.6 MB, free: 308 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.1344, allocations: 243.3 kB / 353.8 MB, free: 64 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.135, allocations: 315.1 kB / 354.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1362, allocations: 295.6 kB / 354.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.1364, allocations: 40 kB / 354.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.1365, allocations: 111.5 kB / 354.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.1367, allocations: 56 kB / 354.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.1383, allocations: 0.8767 MB / 355.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1383, allocations: 0 / 355.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1384, allocations: 0 / 355.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.1384, allocations: 0 / 355.5 MB, free: 14.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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006686/0.1451, allocations: 1.327 MB / 356.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.1452, allocations: 8.031 kB / 356.8 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004245/0.1494, allocations: 394.6 kB / 357.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.1498, allocations: 246.1 kB / 357.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.15, allocations: 66 kB / 357.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.1503, allocations: 80 kB / 357.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.1532, allocations: 0.8835 MB / 358.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.1533, allocations: 0 / 358.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.1534, allocations: 32 kB / 358.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.1535, allocations: 20 kB / 358.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.1569, allocations: 0.8355 MB / 359.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007479/0.1644, allocations: 2.969 MB / 362.3 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.1666, allocations: 1.003 MB / 363.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.1668, allocations: 97.64 kB / 363.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.1668, allocations: 43.08 kB / 363.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 3.647e-06/0.1669, allocations: 7.938 kB / 363.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.01582/0.1827, allocations: 2.671 MB / 366.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.1828, allocations: 89.67 kB / 366.2 MB, free: 3.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.1833, allocations: 283.5 kB / 366.5 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.1834, allocations: 41.64 kB / 366.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.1838, allocations: 421 kB / 366.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.1841, allocations: 213 kB / 367.2 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.1842, allocations: 16 kB / 367.2 MB, free: 2.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1843, allocations: 342.8 kB / 367.5 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.1859, allocations: 301.8 kB / 367.8 MB, free: 1.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.1877, allocations: 0.5199 MB / 368.3 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.1895, allocations: 354 kB / 368.7 MB, free: 0.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.1895, allocations: 4 kB / 368.7 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004054/0.1936, allocations: 0.9417 MB / 369.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.1937, allocations: 8 kB / 369.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.1937, allocations: 8 kB / 369.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.1941, allocations: 73.66 kB / 369.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.1959, allocations: 219.6 kB / 369.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.1988, allocations: 2.678 MB / 372.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.2002, allocations: 76.06 kB / 372.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.2003, allocations: 39.98 kB / 372.7 MB, free: 12.18 MB / 314.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.000473/0.2008, allocations: 209.6 kB / 372.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.2009, allocations: 51.86 kB / 373 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.2047, allocations: 0.7897 MB / 373.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.2048, allocations: 12 kB / 373.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2048, allocations: 0 / 373.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.2048, allocations: 7.938 kB / 373.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/0.21, allocations: 1.473 MB / 375.2 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.2101, allocations: 0 / 375.2 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.2115, allocations: 143.8 kB / 375.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.2118, allocations: 61.67 kB / 375.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.2119, allocations: 19.97 kB / 375.5 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.2147, allocations: 2.663 MB / 378.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2148, allocations: 3.953 kB / 378.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005242/0.22, allocations: 1.16 MB / 379.3 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.2204, allocations: 156.6 kB / 379.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.2206, allocations: 12 kB / 379.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.2216, allocations: 60.02 kB / 379.5 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.2218, allocations: 48.48 kB / 379.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.2219, allocations: 23.98 kB / 379.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003698/0.2223, allocations: 219.1 kB / 379.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.2223, allocations: 0 / 379.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009971/0.2233, allocations: 184 kB / 380 MB, free: 4.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0003913/0.2237, allocations: 151.1 kB / 380.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.2276, allocations: 0.9631 MB / 381.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.2277, allocations: 0 / 381.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.2297, allocations: 0.5708 MB / 381.7 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2302, allocations: 41.05 kB / 381.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.235, allocations: 1.571 MB / 383.3 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.2357, allocations: 0.9005 MB / 384.2 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.2362, allocations: 59.41 kB / 384.2 MB, free: 132 kB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2362, allocations: 3.938 kB / 384.2 MB, free: 128 kB / 314.7 MB Notification: Performance of Templates: time 0.04507/0.2813, allocations: 12.69 MB / 396.9 MB, free: 3.418 MB / 330.7 MB