Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.135e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004008/0.1381, allocations: 2.367 MB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1398, allocations: 0.6158 MB / 413.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.1401, allocations: 12 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.1402, allocations: 39.62 kB / 414 MB, free: 9.812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1406, allocations: 111.7 kB / 414.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.141, allocations: 79.83 kB / 414.2 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.1415, allocations: 243.7 kB / 414.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.1418, allocations: 85.45 kB / 414.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.1421, allocations: 139.7 kB / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1424, allocations: 155.4 kB / 414.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.1425, allocations: 16 kB / 414.8 MB, free: 8.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.1426, allocations: 16 kB / 414.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.1426, allocations: 71.72 kB / 414.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1428, allocations: 32 kB / 414.9 MB, free: 8.879 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.1432, allocations: 339.2 kB / 415.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1432, allocations: 0 / 415.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1433, allocations: 0 / 415.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.1433, allocations: 0 / 415.2 MB, free: 8.547 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00187/0.1452, allocations: 0.6165 MB / 415.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1452, allocations: 8.031 kB / 415.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1454, allocations: 39.53 kB / 415.9 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.1459, allocations: 286.2 kB / 416.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.146, allocations: 29 kB / 416.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.1461, allocations: 44 kB / 416.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.1471, allocations: 338.5 kB / 416.6 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.1472, allocations: 4 kB / 416.6 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.1472, allocations: 12 kB / 416.6 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1472, allocations: 15.94 kB / 416.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1483, allocations: 311.8 kB / 416.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.1522, allocations: 1.353 MB / 418.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.1531, allocations: 275.8 kB / 418.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.1531, allocations: 4.281 kB / 418.5 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1532, allocations: 38.84 kB / 418.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 5.46e-06/0.1532, allocations: 0 / 418.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.00139/0.1546, allocations: 393 kB / 419 MB, free: 4.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1547, allocations: 55.41 kB / 419 MB, free: 4.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.1551, allocations: 233.8 kB / 419.2 MB, free: 4.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.1551, allocations: 29.7 kB / 419.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1553, allocations: 258.4 kB / 419.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.1555, allocations: 126.2 kB / 419.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.1555, allocations: 4 kB / 419.6 MB, free: 3.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1557, allocations: 330.8 kB / 420 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.1561, allocations: 108.8 kB / 420.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.1566, allocations: 179.4 kB / 420.2 MB, free: 3.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.1571, allocations: 125.6 kB / 420.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1571, allocations: 0 / 420.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001127/0.1583, allocations: 359.1 kB / 420.7 MB, free: 2.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1583, allocations: 8.219 kB / 420.7 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.1583, allocations: 4 kB / 420.7 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.1584, allocations: 4 kB / 420.7 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/0.1593, allocations: 111.8 kB / 420.8 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.1593, allocations: 4 kB / 420.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.1598, allocations: 43.58 kB / 420.9 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.1599, allocations: 12 kB / 420.9 MB, free: 2.586 MB / 346.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 (47): * Single equations (assignments): 47 * 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.0002333/0.1601, allocations: 160.9 kB / 421.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-05/0.1602, allocations: 35.58 kB / 421.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1613, allocations: 336.3 kB / 421.4 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1614, allocations: 8 kB / 421.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1614, allocations: 0 / 421.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1614, allocations: 0 / 421.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.1621, allocations: 397.1 kB / 421.8 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1622, allocations: 4 kB / 421.8 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.163, allocations: 83.89 kB / 421.9 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.163, allocations: 7.953 kB / 421.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.1631, allocations: 7.984 kB / 421.9 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.108e-06/0.1631, allocations: 4 kB / 421.9 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1631, allocations: 0 / 421.9 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.1646, allocations: 0.5347 MB / 422.5 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.1649, allocations: 128.7 kB / 422.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.748e-05/0.165, allocations: 11.89 kB / 422.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.1654, allocations: 15.98 kB / 422.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.1655, allocations: 23.97 kB / 422.6 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1655, allocations: 4 kB / 422.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002829/0.1658, allocations: 194 kB / 422.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1658, allocations: 0 / 422.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004972/0.1663, allocations: 91.78 kB / 422.9 MB, free: 488 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0001583/0.1665, allocations: 107.2 kB / 423 MB, free: 372 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.1675, allocations: 287.9 kB / 423.3 MB, free: 84 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1675, allocations: 4.125 kB / 423.3 MB, free: 80 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3128/0.4803, allocations: 136.8 kB / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4808, allocations: 22.84 kB / 423.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.4831, allocations: 0.9608 MB / 424.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4835, allocations: 0.792 MB / 425.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.4838, allocations: 30.98 kB / 425.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4838, allocations: 4 kB / 425.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of Templates: time 0.01089/0.4947, allocations: 3.749 MB / 429 MB, free: 11.8 MB / 346.7 MB