Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadModel(ModelicaTest): time 2.586/2.586, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.711e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003289/0.133, allocations: 1.824 MB / 412.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1343, allocations: 0.5224 MB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1345, allocations: 8 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.133e-05/0.1346, allocations: 27.77 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1348, allocations: 71.75 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1351, allocations: 67.88 kB / 413.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.1354, allocations: 172.1 kB / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.1356, allocations: 89.91 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1359, allocations: 103.8 kB / 413.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1362, allocations: 107.6 kB / 413.9 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.1362, allocations: 12 kB / 413.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.1363, allocations: 16 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1364, allocations: 47.77 kB / 414 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.1365, allocations: 28 kB / 414 MB, free: 9.777 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.1369, allocations: 275.5 kB / 414.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1369, allocations: 0 / 414.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1369, allocations: 4 kB / 414.3 MB, free: 9.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1369, allocations: 0 / 414.3 MB, free: 9.504 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001179/0.1381, allocations: 0.5148 MB / 414.8 MB, free: 8.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1382, allocations: 8.031 kB / 414.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/0.1383, allocations: 27.72 kB / 414.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1385, allocations: 202.6 kB / 415 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.1386, allocations: 28.66 kB / 415.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/0.1387, allocations: 31.95 kB / 415.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.1395, allocations: 278.1 kB / 415.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1396, allocations: 3.938 kB / 415.4 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.1396, allocations: 16 kB / 415.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1396, allocations: 8 kB / 415.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.1403, allocations: 210.5 kB / 415.6 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.1431, allocations: 1.032 MB / 416.6 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1432, allocations: 30.53 kB / 416.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.1432, allocations: 0 / 416.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1433, allocations: 30.56 kB / 416.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.1433, allocations: 0 / 416.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002763/0.1436, allocations: 81.41 kB / 416.8 MB, free: 6.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1436, allocations: 55.53 kB / 416.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.1442, allocations: 294 kB / 417.1 MB, free: 6.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1442, allocations: 25.7 kB / 417.1 MB, free: 6.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.1444, allocations: 289.2 kB / 417.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.1445, allocations: 15.89 kB / 417.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.1445, allocations: 4 kB / 417.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1446, allocations: 322.8 kB / 417.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1449, allocations: 59.98 kB / 417.8 MB, free: 5.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.1452, allocations: 101.2 kB / 417.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1454, allocations: 71.98 kB / 418 MB, free: 5.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1455, allocations: 3.938 kB / 418 MB, free: 5.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006577/0.1461, allocations: 219.3 kB / 418.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1462, allocations: 10.77 kB / 418.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1462, allocations: 0 / 418.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1462, allocations: 8.031 kB / 418.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.1468, allocations: 55.89 kB / 418.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1468, allocations: 4 kB / 418.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.1472, allocations: 35.59 kB / 418.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.1473, allocations: 11.98 kB / 418.3 MB, free: 5.258 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001694/0.1475, allocations: 137.7 kB / 418.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.1475, allocations: 23.67 kB / 418.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.1476, allocations: 28.84 kB / 418.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1476, allocations: 7.938 kB / 418.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1476, allocations: 0 / 418.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1476, allocations: 0 / 418.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/0.1486, allocations: 0.5149 MB / 419 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1486, allocations: 0 / 419 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.1486, allocations: 4 kB / 419 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1487, allocations: 0 / 419 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1487, allocations: 0 / 419 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1487, allocations: 4.062 kB / 419 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1487, allocations: 3.984 kB / 419 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.1489, allocations: 115.3 kB / 419.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.149, allocations: 100.9 kB / 419.3 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-05/0.1491, allocations: 4 kB / 419.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1493, allocations: 8.016 kB / 419.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.1493, allocations: 0 / 419.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1494, allocations: 4 kB / 419.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000415/0.1498, allocations: 218 kB / 419.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1498, allocations: 0 / 419.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003845/0.1502, allocations: 67.75 kB / 419.5 MB, free: 3.914 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001251/0.1503, allocations: 99.23 kB / 419.6 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.1507, allocations: 115.9 kB / 419.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1508, allocations: 0 / 419.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.1508, allocations: 15.94 kB / 419.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1511, allocations: 32.75 kB / 419.8 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1521, allocations: 474.2 kB / 420.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1526, allocations: 0.7521 MB / 421 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1527, allocations: 19.44 kB / 421 MB, free: 2.348 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1527, allocations: 0 / 421 MB, free: 2.348 MB / 346.7 MB Notification: Performance of Templates: time 0.3361/0.4888, allocations: 2.618 MB / 423.7 MB, free: 12.95 MB / 346.7 MB