Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.793e-05, allocations: 0 / 228.1 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08342, allocations: 38.78 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003785/0.08726, allocations: 2.119 MB / 269 MB, free: 14.99 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.08938, allocations: 0.7992 MB / 269.8 MB, free: 14.19 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.08964, allocations: 8 kB / 269.8 MB, free: 14.18 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.08982, allocations: 35.69 kB / 269.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.09024, allocations: 99.66 kB / 270 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.09059, allocations: 75.83 kB / 270 MB, free: 13.97 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.09098, allocations: 175.6 kB / 270.2 MB, free: 13.8 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.09117, allocations: 52.95 kB / 270.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.09142, allocations: 99.75 kB / 270.3 MB, free: 13.65 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.09167, allocations: 107.6 kB / 270.5 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.09182, allocations: 27.98 kB / 270.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.09189, allocations: 12 kB / 270.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.09196, allocations: 47.81 kB / 270.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.894e-05/0.09205, allocations: 28 kB / 270.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.0925, allocations: 263.5 kB / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.09251, allocations: 0 / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.09253, allocations: 0 / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.09255, allocations: 0 / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001246/0.09381, allocations: 0.5303 MB / 271.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.09388, allocations: 16.03 kB / 271.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.094, allocations: 35.53 kB / 271.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.09443, allocations: 246.3 kB / 271.6 MB, free: 12.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.09449, allocations: 24.52 kB / 271.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.09457, allocations: 31.94 kB / 271.7 MB, free: 12.21 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.09535, allocations: 240.8 kB / 271.9 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.09538, allocations: 0 / 271.9 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.09544, allocations: 12 kB / 271.9 MB, free: 11.96 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.09546, allocations: 12 kB / 272 MB, free: 11.95 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.09623, allocations: 206.1 kB / 272.2 MB, free: 11.74 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.09874, allocations: 1.006 MB / 273.2 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.09945, allocations: 184.6 kB / 273.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.09961, allocations: 89.28 kB / 273.4 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.09967, allocations: 38.75 kB / 273.5 MB, free: 10.31 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 2.905e-06/0.09968, allocations: 0 / 273.5 MB, free: 10.31 MB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.01115/0.1108, allocations: 1.52 MB / 275 MB, free: 8.715 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1109, allocations: 55.41 kB / 275 MB, free: 8.648 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.1113, allocations: 204.1 kB / 275.2 MB, free: 8.445 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.1114, allocations: 29.7 kB / 275.3 MB, free: 8.41 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1116, allocations: 238.6 kB / 275.5 MB, free: 8.176 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.1118, allocations: 106.5 kB / 275.6 MB, free: 8.07 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1118, allocations: 4 kB / 275.6 MB, free: 8.066 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.112, allocations: 326.8 kB / 275.9 MB, free: 7.738 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.1125, allocations: 112 kB / 276 MB, free: 7.629 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.113, allocations: 163.8 kB / 276.2 MB, free: 7.453 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.1136, allocations: 135.7 kB / 276.3 MB, free: 7.32 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1136, allocations: 3.938 kB / 276.3 MB, free: 7.316 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.004125/0.1177, allocations: 0.5335 MB / 276.9 MB, free: 6.77 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.1178, allocations: 4 kB / 276.9 MB, free: 6.766 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1178, allocations: 4 kB / 276.9 MB, free: 6.762 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.1201, allocations: 213.5 kB / 277.1 MB, free: 6.547 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.1207, allocations: 51.97 kB / 277.1 MB, free: 6.496 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006493/0.1272, allocations: 2.738 MB / 279.9 MB, free: 3.598 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.1277, allocations: 16.05 kB / 279.9 MB, free: 3.582 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.1277, allocations: 8 kB / 279.9 MB, free: 3.574 MB / 234.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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.128, allocations: 149.8 kB / 280 MB, free: 3.418 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.1281, allocations: 23.72 kB / 280.1 MB, free: 3.395 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.1321, allocations: 0.5173 MB / 280.6 MB, free: 2.863 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.1322, allocations: 8 kB / 280.6 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1322, allocations: 0 / 280.6 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.1322, allocations: 4 kB / 280.6 MB, free: 2.852 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.133, allocations: 389.4 kB / 281 MB, free: 2.422 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.133, allocations: 0 / 281 MB, free: 2.422 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.1334, allocations: 31.98 kB / 281 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.1357, allocations: 225.4 kB / 281.2 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.1358, allocations: 11.95 kB / 281.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006235/0.142, allocations: 2.731 MB / 284 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1421, allocations: 0 / 284 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.1466, allocations: 0.7315 MB / 284.7 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.1469, allocations: 125.1 kB / 284.8 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.147, allocations: 8 kB / 284.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.1474, allocations: 11.94 kB / 284.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.1476, allocations: 31.89 kB / 284.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.1476, allocations: 7.984 kB / 284.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000273/0.1479, allocations: 164.5 kB / 285 MB, free: 14.14 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1479, allocations: 0 / 285 MB, free: 14.14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007344/0.1487, allocations: 96.06 kB / 285.1 MB, free: 14.05 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002606/0.149, allocations: 107.2 kB / 285.2 MB, free: 13.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.1506, allocations: 454.2 kB / 285.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1507, allocations: 4 kB / 285.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000835/0.1515, allocations: 302.4 kB / 286 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1519, allocations: 20.69 kB / 286 MB, free: 13.15 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1539, allocations: 0.8249 MB / 286.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.1544, allocations: 0.7833 MB / 287.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1546, allocations: 19.44 kB / 287.6 MB, free: 11.46 MB / 250.7 MB Notification: Performance of SimCode: time 3.377e-06/0.1546, allocations: 0 / 287.6 MB, free: 11.46 MB / 250.7 MB Notification: Performance of Templates: time 0.01232/0.1669, allocations: 5.625 MB / 293.3 MB, free: 5.82 MB / 250.7 MB