Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.659e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002744/0.1341, allocations: 1.533 MB / 412.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1352, allocations: 498.9 kB / 412.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1353, allocations: 8 kB / 413 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.1355, allocations: 31.77 kB / 413 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1356, allocations: 27.92 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1358, allocations: 31.91 kB / 413 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.136, allocations: 67.86 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1361, allocations: 36.28 kB / 413.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1363, allocations: 35.92 kB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.1364, allocations: 47.83 kB / 413.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.247e-05/0.1365, allocations: 12 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1365, allocations: 7.984 kB / 413.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1365, allocations: 19.92 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1366, allocations: 12 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1368, allocations: 112 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1368, allocations: 0 / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1368, allocations: 3.938 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1368, allocations: 0 / 413.4 MB, free: 10.37 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007457/0.1376, allocations: 415.4 kB / 413.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1376, allocations: 12.03 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.1377, allocations: 11.81 kB / 413.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.138, allocations: 206.8 kB / 414 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.138, allocations: 8.281 kB / 414 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.1381, allocations: 19.95 kB / 414 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.1385, allocations: 143.9 kB / 414.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1386, allocations: 0 / 414.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.1386, allocations: 4 kB / 414.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1386, allocations: 4 kB / 414.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.1391, allocations: 116.8 kB / 414.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1406, allocations: 0.6186 MB / 414.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.141, allocations: 78.55 kB / 415 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.141, allocations: 4 kB / 415 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1411, allocations: 38.5 kB / 415 MB, free: 8.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.394e-06/0.1411, allocations: 0 / 415 MB, free: 8.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000631/0.1417, allocations: 125.7 kB / 415.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1418, allocations: 51.41 kB / 415.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.142, allocations: 136.3 kB / 415.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.142, allocations: 25.7 kB / 415.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1421, allocations: 209.8 kB / 415.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1421, allocations: 19.7 kB / 415.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/0.1422, allocations: 4 kB / 415.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1423, allocations: 314.8 kB / 415.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.1425, allocations: 39.97 kB / 416 MB, free: 7.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.1427, allocations: 76.08 kB / 416 MB, free: 7.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.1429, allocations: 39.98 kB / 416.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.143, allocations: 0 / 416.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004881/0.1434, allocations: 137.6 kB / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1435, allocations: 10.81 kB / 416.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1435, allocations: 0 / 416.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1436, allocations: 4 kB / 416.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1438, allocations: 23.98 kB / 416.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1438, allocations: 4 kB / 416.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.144, allocations: 24.11 kB / 416.3 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.144, allocations: 4 kB / 416.3 MB, free: 7.246 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001273/0.1442, allocations: 125.7 kB / 416.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.1442, allocations: 7.906 kB / 416.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.1443, allocations: 20.3 kB / 416.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1443, allocations: 0 / 416.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1443, allocations: 3.984 kB / 416.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1443, allocations: 0 / 416.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1446, allocations: 209.5 kB / 416.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1446, allocations: 4 kB / 416.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1448, allocations: 19.98 kB / 416.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1448, allocations: 0 / 416.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1449, allocations: 0 / 416.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1449, allocations: 3.984 kB / 416.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1449, allocations: 4.078 kB / 416.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.1453, allocations: 195.4 kB / 416.8 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1454, allocations: 88.91 kB / 416.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1454, allocations: 0 / 416.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1456, allocations: 11.98 kB / 416.9 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.1457, allocations: 8 kB / 417 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1457, allocations: 4 kB / 417 MB, free: 6.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1458, allocations: 107.8 kB / 417.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1458, allocations: 0 / 417.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.1462, allocations: 31.84 kB / 417.1 MB, free: 6.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001163/0.1463, allocations: 95.25 kB / 417.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.1467, allocations: 87.88 kB / 417.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1468, allocations: 0 / 417.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1469, allocations: 31.97 kB / 417.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1472, allocations: 12 kB / 417.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.1479, allocations: 355.5 kB / 417.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1483, allocations: 0.708 MB / 418.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.1483, allocations: 15.42 kB / 418.4 MB, free: 4.961 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1483, allocations: 0 / 418.4 MB, free: 4.961 MB / 346.7 MB Notification: Performance of Templates: time 0.003676/0.152, allocations: 1.207 MB / 419.6 MB, free: 3.754 MB / 346.7 MB