Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.078e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2498, allocations: 44.5 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.3628, allocations: 71.95 MB / 366.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3631, allocations: 71.91 kB / 366.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02214/0.3852, allocations: 5.383 MB / 371.5 MB, free: 4.594 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.001e-06/0.3853, allocations: 0 / 371.5 MB, free: 4.594 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.3853, allocations: 12 kB / 371.5 MB, free: 4.582 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001142/0.3865, allocations: 0.5924 MB / 372.1 MB, free: 3.945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3865, allocations: 8.031 kB / 372.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.3867, allocations: 47.48 kB / 372.2 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.3871, allocations: 267.1 kB / 372.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.3872, allocations: 12 kB / 372.4 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.3873, allocations: 35.91 kB / 372.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006561/0.388, allocations: 234.6 kB / 372.7 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.3888, allocations: 377.4 kB / 373.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.3888, allocations: 0 / 373.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.3889, allocations: 0 / 373.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.3889, allocations: 15.95 kB / 373.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.3916, allocations: 1.236 MB / 374.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.3921, allocations: 219.5 kB / 374.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.3926, allocations: 176.8 kB / 374.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3926, allocations: 4 kB / 374.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3927, allocations: 42.5 kB / 374.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.39e-06/0.3927, allocations: 4 kB / 374.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007744/0.3935, allocations: 250.7 kB / 375 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.3936, allocations: 239.3 kB / 375.2 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3939, allocations: 157.8 kB / 375.4 MB, free: 420 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.3939, allocations: 25.7 kB / 375.4 MB, free: 388 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3941, allocations: 258.6 kB / 375.7 MB, free: 128 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3942, allocations: 102.5 kB / 375.8 MB, free: 24 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.3943, allocations: 0 / 375.8 MB, free: 24 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3945, allocations: 326.8 kB / 376.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.3946, allocations: 67.94 kB / 376.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.3949, allocations: 136.3 kB / 376.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3951, allocations: 79.97 kB / 376.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3951, allocations: 0 / 376.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000548/0.3957, allocations: 232.9 kB / 376.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3957, allocations: 4 kB / 376.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.091e-06/0.3958, allocations: 0 / 376.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.3958, allocations: 4 kB / 376.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.3963, allocations: 83.89 kB / 376.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.247e-06/0.3963, allocations: 4.141 kB / 376.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.3965, allocations: 23.77 kB / 376.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.3966, allocations: 15.98 kB / 376.7 MB, free: 15.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001492/0.3967, allocations: 112.7 kB / 376.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.3968, allocations: 27.67 kB / 376.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.3969, allocations: 27.34 kB / 376.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.983e-06/0.3969, allocations: 3.938 kB / 376.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.397, allocations: 11.92 kB / 376.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.397, allocations: 7.984 kB / 376.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.3984, allocations: 0.6789 MB / 377.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.212e-06/0.3984, allocations: 4 kB / 377.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.3988, allocations: 55.95 kB / 377.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.3992, allocations: 80.81 kB / 377.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.3993, allocations: 4.031 kB / 377.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.4018, allocations: 1.747 MB / 379.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4019, allocations: 0 / 379.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4029, allocations: 483.2 kB / 380 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.403, allocations: 96.86 kB / 380 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.4031, allocations: 4.062 kB / 380.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.4033, allocations: 8.109 kB / 380.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.4034, allocations: 28.03 kB / 380.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.4035, allocations: 11.95 kB / 380.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4036, allocations: 120.3 kB / 380.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.4036, allocations: 0 / 380.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005583/0.4042, allocations: 95.59 kB / 380.3 MB, free: 11.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.4044, allocations: 115.1 kB / 380.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004867/0.4049, allocations: 175.9 kB / 380.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.4049, allocations: 0 / 380.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.4055, allocations: 249.4 kB / 380.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4058, allocations: 14.22 kB / 380.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.4073, allocations: 0.6878 MB / 381.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.4079, allocations: 0.799 MB / 382.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.408, allocations: 19.44 kB / 382.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.815e-06/0.408, allocations: 0 / 382.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of Templates: time 0.007852/0.4159, allocations: 3.704 MB / 386.1 MB, free: 5.379 MB / 330.7 MB