Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.121e-05, allocations: 7.984 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003685/0.1348, allocations: 2.09 MB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1365, allocations: 0.6625 MB / 413.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1367, allocations: 15.94 kB / 413.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1369, allocations: 39.69 kB / 413.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1372, allocations: 95.7 kB / 413.8 MB, free: 9.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1375, allocations: 75.86 kB / 413.9 MB, free: 9.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.1379, allocations: 215.3 kB / 414.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1381, allocations: 74.23 kB / 414.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.1384, allocations: 103.7 kB / 414.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1386, allocations: 131.5 kB / 414.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.848e-05/0.1387, allocations: 16 kB / 414.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.1387, allocations: 12 kB / 414.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.1388, allocations: 51.77 kB / 414.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.1389, allocations: 28 kB / 414.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.1393, allocations: 311.3 kB / 414.8 MB, free: 8.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1393, allocations: 4 kB / 414.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.709e-06/0.1394, allocations: 0 / 414.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1394, allocations: 7.938 kB / 414.8 MB, free: 8.957 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001414/0.1408, allocations: 0.5852 MB / 415.4 MB, free: 8.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.691e-05/0.1409, allocations: 12.03 kB / 415.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.141, allocations: 35.53 kB / 415.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.1415, allocations: 267.5 kB / 415.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.1415, allocations: 29 kB / 415.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.1416, allocations: 31.94 kB / 415.8 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.1427, allocations: 370.6 kB / 416.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1428, allocations: 4 kB / 416.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.1428, allocations: 8 kB / 416.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.1429, allocations: 15.94 kB / 416.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.144, allocations: 285 kB / 416.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.1476, allocations: 1.363 MB / 417.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1487, allocations: 206.5 kB / 418 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.1488, allocations: 4 kB / 418 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1488, allocations: 38.86 kB / 418.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.956e-06/0.1488, allocations: 0 / 418.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001373/0.1502, allocations: 285.1 kB / 418.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.1503, allocations: 128.5 kB / 418.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.1508, allocations: 295.7 kB / 418.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1508, allocations: 25.7 kB / 418.8 MB, free: 4.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1511, allocations: 294 kB / 419.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.1511, allocations: 55.2 kB / 419.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.1512, allocations: 4 kB / 419.1 MB, free: 4.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1513, allocations: 322.8 kB / 419.4 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.1518, allocations: 96.44 kB / 419.5 MB, free: 3.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.1523, allocations: 168.2 kB / 419.7 MB, free: 3.738 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.1528, allocations: 107.9 kB / 419.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1528, allocations: 0 / 419.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001142/0.1539, allocations: 309.7 kB / 420.1 MB, free: 3.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.154, allocations: 10.81 kB / 420.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.154, allocations: 4 kB / 420.1 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.154, allocations: 7.953 kB / 420.1 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.1548, allocations: 107.9 kB / 420.2 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.1549, allocations: 7.938 kB / 420.2 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.1553, allocations: 55.52 kB / 420.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1554, allocations: 11.98 kB / 420.3 MB, free: 3.125 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002148/0.1556, allocations: 145.8 kB / 420.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.1558, allocations: 27.72 kB / 420.5 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.515e-05/0.1559, allocations: 38.41 kB / 420.5 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1559, allocations: 4.562 kB / 420.5 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1559, allocations: 3.953 kB / 420.5 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1559, allocations: 0 / 420.5 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.157, allocations: 0.5954 MB / 421.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.1571, allocations: 11.89 kB / 421.1 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.1576, allocations: 71.94 kB / 421.2 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1576, allocations: 0 / 421.2 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1577, allocations: 8.062 kB / 421.2 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.1577, allocations: 11.88 kB / 421.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1577, allocations: 0 / 421.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.1587, allocations: 488.9 kB / 421.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1588, allocations: 108.7 kB / 421.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1589, allocations: 8 kB / 421.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.1593, allocations: 19.98 kB / 421.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.1594, allocations: 15.98 kB / 421.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1594, allocations: 7.984 kB / 421.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.1598, allocations: 223.1 kB / 422.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1598, allocations: 0 / 422.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005246/0.1603, allocations: 75.75 kB / 422.1 MB, free: 1.113 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * 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.000131/0.1604, allocations: 103.2 kB / 422.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009548/0.1614, allocations: 208.1 kB / 422.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1614, allocations: 0 / 422.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.1619, allocations: 92.58 kB / 422.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1623, allocations: 37.25 kB / 422.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.309/0.4712, allocations: 0.6725 MB / 423.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.4716, allocations: 0.7792 MB / 424 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4718, allocations: 21.77 kB / 424 MB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.775e-06/0.4718, allocations: 0 / 424 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Templates: time 0.009968/0.4818, allocations: 3.026 MB / 427.1 MB, free: 12.18 MB / 346.7 MB