Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.62e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005897/0.1136, allocations: 3.369 MB / 348.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003613/0.1173, allocations: 1.402 MB / 349.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.1178, allocations: 12 kB / 349.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.1183, allocations: 139.1 kB / 349.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008037/0.1192, allocations: 207.4 kB / 350.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.1214, allocations: 0.5919 MB / 350.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009477/0.1223, allocations: 339.2 kB / 351 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.1246, allocations: 0.7587 MB / 351.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.1251, allocations: 199.5 kB / 352 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.1256, allocations: 263.2 kB / 352.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.1264, allocations: 203.8 kB / 352.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1266, allocations: 28 kB / 352.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1267, allocations: 95.61 kB / 352.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1269, allocations: 52 kB / 352.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1282, allocations: 0.7092 MB / 353.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1282, allocations: 0 / 353.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1282, allocations: 0 / 353.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.1283, allocations: 0 / 353.3 MB, free: 0.5586 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005608/0.1339, allocations: 1.132 MB / 354.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.134, allocations: 12.03 kB / 354.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.1361, allocations: 199.1 kB / 354.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.1365, allocations: 250 kB / 354.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.1367, allocations: 58 kB / 355 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.1369, allocations: 79.89 kB / 355 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.1393, allocations: 0.7621 MB / 355.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.1394, allocations: 11.84 kB / 355.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.1395, allocations: 32 kB / 355.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.1396, allocations: 16 kB / 355.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.1422, allocations: 0.6806 MB / 356.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007085/0.1493, allocations: 3.122 MB / 359.7 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.1531, allocations: 2.072 MB / 361.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.1534, allocations: 101.7 kB / 361.8 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1535, allocations: 39.22 kB / 361.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 5.31e-06/0.1535, allocations: 3.984 kB / 361.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004514/0.158, allocations: 1.147 MB / 363 MB, free: 6.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.1581, allocations: 115.4 kB / 363.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.1586, allocations: 249.5 kB / 363.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.1587, allocations: 37.7 kB / 363.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.1589, allocations: 350 kB / 363.8 MB, free: 5.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.1592, allocations: 256.3 kB / 364 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.1593, allocations: 16 kB / 364 MB, free: 5.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1595, allocations: 338.8 kB / 364.4 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.1605, allocations: 241.9 kB / 364.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.1616, allocations: 394.3 kB / 365 MB, free: 4.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.1627, allocations: 294.9 kB / 365.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1627, allocations: 0 / 365.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002836/0.1656, allocations: 0.8307 MB / 366.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.1656, allocations: 16.16 kB / 366.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.1657, allocations: 7.984 kB / 366.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/0.1663, allocations: 121.6 kB / 366.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.1677, allocations: 167.8 kB / 366.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/0.172, allocations: 3.156 MB / 369.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.173, allocations: 91.11 kB / 369.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/0.1731, allocations: 35.98 kB / 369.7 MB, free: 15.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 86 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004228/0.1736, allocations: 197.7 kB / 369.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.1737, allocations: 43.48 kB / 369.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.1765, allocations: 0.7609 MB / 370.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.1766, allocations: 8 kB / 370.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1766, allocations: 3.938 kB / 370.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.1766, allocations: 11.98 kB / 370.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.1806, allocations: 1.437 MB / 372.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.1807, allocations: 4 kB / 372.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.1818, allocations: 123.9 kB / 372.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.1823, allocations: 109.6 kB / 372.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.1824, allocations: 15.98 kB / 372.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004/0.1864, allocations: 3.164 MB / 375.5 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1864, allocations: 0 / 375.5 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.1901, allocations: 1.161 MB / 376.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.1903, allocations: 132.4 kB / 376.8 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.1905, allocations: 12 kB / 376.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.1912, allocations: 40.03 kB / 376.9 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.1914, allocations: 52.58 kB / 376.9 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.1915, allocations: 16 kB / 377 MB, free: 7.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003059/0.1918, allocations: 190 kB / 377.1 MB, free: 7.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1918, allocations: 4 kB / 377.1 MB, free: 7.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001044/0.1929, allocations: 211.5 kB / 377.3 MB, free: 6.984 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003749/0.1933, allocations: 163.1 kB / 377.5 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002811/0.1961, allocations: 0.8874 MB / 378.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1961, allocations: 0.8125 kB / 378.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.1976, allocations: 0.5751 MB / 379 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.1982, allocations: 36.41 kB / 379 MB, free: 5.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.2019, allocations: 1.397 MB / 380.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.2026, allocations: 0.8772 MB / 381.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.203, allocations: 47.42 kB / 381.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of SimCode: time 1.263e-06/0.203, allocations: 0 / 381.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of Templates: time 0.02359/0.2266, allocations: 11.01 MB / 392.3 MB, free: 7.871 MB / 330.7 MB