Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.902e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2478, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.3637, allocations: 74.27 MB / 368.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.364, allocations: 71.91 kB / 368.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02785/0.3918, allocations: 6.782 MB / 375.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.3919, allocations: 0 / 375.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.3919, allocations: 4 kB / 375.2 MB, free: 0.8242 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009893/0.3929, allocations: 0.5234 MB / 375.8 MB, free: 264 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.393, allocations: 8.031 kB / 375.8 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.3931, allocations: 35.62 kB / 375.8 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.3936, allocations: 271 kB / 376.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3936, allocations: 8 kB / 376.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.3937, allocations: 16 kB / 376.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004727/0.3942, allocations: 173.1 kB / 376.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.3947, allocations: 195.7 kB / 376.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3947, allocations: 0 / 376.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.3947, allocations: 0 / 376.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3948, allocations: 8 kB / 376.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3968, allocations: 0.9673 MB / 377.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.3973, allocations: 180.6 kB / 377.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.3975, allocations: 89.34 kB / 377.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3976, allocations: 11.8 kB / 377.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.3976, allocations: 34.56 kB / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.904e-06/0.3977, allocations: 3.938 kB / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.004353/0.402, allocations: 1.096 MB / 378.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.4021, allocations: 55.41 kB / 378.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.4024, allocations: 179.2 kB / 379.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.4024, allocations: 25.7 kB / 379.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.4026, allocations: 246.9 kB / 379.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.4028, allocations: 118.2 kB / 379.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.4028, allocations: 0 / 379.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.403, allocations: 322.8 kB / 379.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.4032, allocations: 96.66 kB / 379.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.4035, allocations: 145.4 kB / 380 MB, free: 11.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.4038, allocations: 109.5 kB / 380.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.928e-06/0.4038, allocations: 0 / 380.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001849/0.4057, allocations: 476.8 kB / 380.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4058, allocations: 8 kB / 380.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.374e-06/0.4058, allocations: 0 / 380.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4069, allocations: 185.6 kB / 380.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4072, allocations: 59.91 kB / 380.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.4133, allocations: 3.628 MB / 384.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.4136, allocations: 12.08 kB / 384.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.4137, allocations: 16 kB / 384.5 MB, free: 7.035 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.4139, allocations: 111.8 kB / 384.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.414, allocations: 23.72 kB / 384.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.967e-05/0.4141, allocations: 35.39 kB / 384.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-06/0.4141, allocations: 4 kB / 384.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.44e-06/0.4141, allocations: 4 kB / 384.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.073e-06/0.4141, allocations: 7.953 kB / 384.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.4166, allocations: 0.8643 MB / 385.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4167, allocations: 0 / 385.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.4169, allocations: 39.97 kB / 385.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.418, allocations: 181.5 kB / 385.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.418, allocations: 4 kB / 385.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005932/0.424, allocations: 3.624 MB / 389.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.55e-06/0.424, allocations: 0 / 389.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.4262, allocations: 0.6712 MB / 390 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4263, allocations: 104.8 kB / 390.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.4264, allocations: 3.984 kB / 390.1 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.4267, allocations: 8 kB / 390.1 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4268, allocations: 39.83 kB / 390.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.4269, allocations: 12 kB / 390.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.4271, allocations: 149.6 kB / 390.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.4271, allocations: 0 / 390.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008355/0.4279, allocations: 95.94 kB / 390.4 MB, free: 0.7188 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002188/0.4282, allocations: 111.6 kB / 390.5 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.4292, allocations: 0.4952 MB / 391 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.4293, allocations: 0 / 391 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006999/0.43, allocations: 403.4 kB / 391.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.4303, allocations: 12.62 kB / 391.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4316, allocations: 465.9 kB / 391.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.4322, allocations: 0.784 MB / 392.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.4323, allocations: 27.42 kB / 392.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.761e-06/0.4323, allocations: 0 / 392.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of Templates: time 0.01059/0.4429, allocations: 5.755 MB / 398.5 MB, free: 8.566 MB / 346.7 MB