Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.66e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005681/0.1152, allocations: 3.256 MB / 348.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003684/0.119, allocations: 1.383 MB / 349.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.1194, allocations: 12 kB / 349.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.12, allocations: 127.1 kB / 349.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008865/0.121, allocations: 195.4 kB / 350 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.1232, allocations: 0.5957 MB / 350.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009134/0.1241, allocations: 327.3 kB / 350.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.1264, allocations: 0.7471 MB / 351.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.1269, allocations: 199.5 kB / 351.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.1274, allocations: 239.3 kB / 352 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007804/0.1282, allocations: 211.7 kB / 352.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1284, allocations: 28 kB / 352.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1286, allocations: 91.61 kB / 352.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.1287, allocations: 48 kB / 352.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.13, allocations: 0.6858 MB / 353.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1301, allocations: 0 / 353.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1301, allocations: 0 / 353.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.1301, allocations: 0 / 353.1 MB, free: 0.7656 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005494/0.1356, allocations: 1.081 MB / 354.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1357, allocations: 8.031 kB / 354.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.1375, allocations: 179 kB / 354.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.1379, allocations: 235.7 kB / 354.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.138, allocations: 50 kB / 354.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.1382, allocations: 68 kB / 354.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.1406, allocations: 0.7072 MB / 355.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.1406, allocations: 4 kB / 355.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.1408, allocations: 28 kB / 355.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.1408, allocations: 20 kB / 355.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.1432, allocations: 0.6103 MB / 356.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005942/0.1492, allocations: 2.332 MB / 358.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.1527, allocations: 1.679 MB / 360.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.153, allocations: 101.7 kB / 360.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.1531, allocations: 43.12 kB / 360.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 3.928e-06/0.1531, allocations: 4 kB / 360.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.002983/0.1561, allocations: 0.7327 MB / 361 MB, free: 8.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.1562, allocations: 107.4 kB / 361.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.1567, allocations: 236.1 kB / 361.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/0.1568, allocations: 37.83 kB / 361.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.157, allocations: 330.3 kB / 361.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.1573, allocations: 224.8 kB / 361.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.1574, allocations: 8 kB / 361.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1575, allocations: 338.8 kB / 362.2 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009328/0.1585, allocations: 221.9 kB / 362.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000973/0.1595, allocations: 301.4 kB / 362.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1605, allocations: 259.1 kB / 363 MB, free: 6.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.1606, allocations: 0 / 363 MB, free: 6.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002341/0.1629, allocations: 0.6338 MB / 363.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.163, allocations: 4 kB / 363.6 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.163, allocations: 4 kB / 363.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.163, allocations: 4 kB / 363.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.1645, allocations: 171.7 kB / 363.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.1646, allocations: 15.83 kB / 363.8 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/0.1655, allocations: 83.25 kB / 363.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/0.1656, allocations: 27.98 kB / 363.9 MB, free: 5.359 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003891/0.166, allocations: 185 kB / 364.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.1662, allocations: 31.62 kB / 364.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.1685, allocations: 0.624 MB / 364.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.1686, allocations: 8 kB / 364.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.1686, allocations: 4 kB / 364.8 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.1686, allocations: 7.938 kB / 364.8 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.1724, allocations: 1.308 MB / 366.1 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.1724, allocations: 0 / 366.1 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.1736, allocations: 127.9 kB / 366.2 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.1737, allocations: 11.95 kB / 366.2 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.1737, allocations: 15.98 kB / 366.2 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.1737, allocations: 4 kB / 366.2 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1738, allocations: 0 / 366.2 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.1768, allocations: 1.011 MB / 367.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.1771, allocations: 136.4 kB / 367.4 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.1772, allocations: 12 kB / 367.4 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.178, allocations: 35.97 kB / 367.4 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.1781, allocations: 36.58 kB / 367.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.1782, allocations: 27.98 kB / 367.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.1785, allocations: 180.5 kB / 367.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1785, allocations: 0 / 367.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008102/0.1793, allocations: 179.5 kB / 367.8 MB, free: 1.32 MB / 298.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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003267/0.1797, allocations: 151.1 kB / 368 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.1818, allocations: 0.5429 MB / 368.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1818, allocations: 384 / 368.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.1828, allocations: 287.1 kB / 368.8 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.1833, allocations: 44.38 kB / 368.9 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.1869, allocations: 1.338 MB / 370.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.1875, allocations: 0.8618 MB / 371.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.1879, allocations: 51.42 kB / 371.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1879, allocations: 0 / 371.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01637/0.2043, allocations: 6.546 MB / 377.7 MB, free: 7.461 MB / 314.7 MB