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.843/1.843, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.948e-05, allocations: 1.875 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.0763, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.4539, allocations: 74.93 MB / 374.8 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4542, allocations: 73.22 kB / 374.9 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02672/0.4809, allocations: 6.843 MB / 381.7 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.481, allocations: 0 / 381.7 MB, free: 21.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.481, allocations: 9.688 kB / 381.7 MB, free: 21.59 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.0008369/0.4819, allocations: 0.5216 MB / 382.2 MB, free: 21.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4819, allocations: 13.72 kB / 382.2 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.482, allocations: 31.19 kB / 382.3 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.4824, allocations: 266.3 kB / 382.5 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.4824, allocations: 18.84 kB / 382.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.4825, allocations: 25.47 kB / 382.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.4831, allocations: 227.3 kB / 382.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4831, allocations: 0 / 382.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.4832, allocations: 17.91 kB / 382.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4832, allocations: 6.312 kB / 382.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.4837, allocations: 194.7 kB / 383 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.4858, allocations: 1.013 MB / 384 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.4864, allocations: 188 kB / 384.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.4867, allocations: 101.1 kB / 384.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.4868, allocations: 6.078 kB / 384.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4868, allocations: 40.97 kB / 384.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.721e-06/0.4868, allocations: 0 / 384.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.00497/0.4918, allocations: 1.223 MB / 385.6 MB, free: 19.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4919, allocations: 58.05 kB / 385.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.4922, allocations: 204.5 kB / 385.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.4923, allocations: 30.73 kB / 385.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.4924, allocations: 236.8 kB / 386.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.4925, allocations: 123.6 kB / 386.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.4925, allocations: 5.188 kB / 386.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.4926, allocations: 325 kB / 386.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.4929, allocations: 95.92 kB / 386.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.4932, allocations: 146.5 kB / 386.8 MB, free: 19.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.4936, allocations: 114.2 kB / 386.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.164e-06/0.4936, allocations: 1.219 kB / 386.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001965/0.4956, allocations: 0.5014 MB / 387.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4956, allocations: 6.125 kB / 387.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4956, allocations: 1.375 kB / 387.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.4967, allocations: 189.2 kB / 387.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.4971, allocations: 63.77 kB / 387.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005596/0.5027, allocations: 3.758 MB / 391.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.5031, allocations: 22.45 kB / 391.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.5032, allocations: 11.44 kB / 391.4 MB, free: 16.18 MB / 314.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.00012/0.5033, allocations: 119.8 kB / 391.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.5034, allocations: 27.34 kB / 391.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/0.5035, allocations: 40.75 kB / 391.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-06/0.5035, allocations: 7.969 kB / 391.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5036, allocations: 4 kB / 391.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5036, allocations: 3.703 kB / 391.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.5061, allocations: 0.9352 MB / 392.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.393e-06/0.5061, allocations: 0 / 392.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.5064, allocations: 45.41 kB / 392.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.5075, allocations: 187.2 kB / 392.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.5075, allocations: 7.656 kB / 392.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006208/0.5137, allocations: 3.742 MB / 396.5 MB, free: 28.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.494e-06/0.5138, allocations: 480 / 396.5 MB, free: 28.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.5161, allocations: 0.7202 MB / 397.3 MB, free: 28.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5163, allocations: 100.4 kB / 397.4 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.5163, allocations: 3.75 kB / 397.4 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.5166, allocations: 14.73 kB / 397.4 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5168, allocations: 29.62 kB / 397.4 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.5168, allocations: 15.19 kB / 397.4 MB, free: 28.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.517, allocations: 169.8 kB / 397.6 MB, free: 28.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.5171, allocations: 0 / 397.6 MB, free: 28.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008379/0.5179, allocations: 104.4 kB / 397.7 MB, free: 28.53 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.0002109/0.5181, allocations: 117.9 kB / 397.8 MB, free: 28.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.5193, allocations: 0.52 MB / 398.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.039e-06/0.5193, allocations: 0 / 398.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.5199, allocations: 401.6 kB / 398.7 MB, free: 27.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.5203, allocations: 22.8 kB / 398.7 MB, free: 27.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5215, allocations: 484.3 kB / 399.2 MB, free: 27.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.5221, allocations: 0.785 MB / 400 MB, free: 27.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.5221, allocations: 18.88 kB / 400 MB, free: 27.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.758e-06/0.5222, allocations: 0 / 400 MB, free: 27.02 MB / 330.7 MB Notification: Performance of Templates: time 0.009086/0.5313, allocations: 5.802 MB / 405.8 MB, free: 26.76 MB / 330.7 MB