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.891/1.891, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.104e-05, allocations: 4 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08785, allocations: 44.51 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4487, allocations: 72.61 MB / 372.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.449, allocations: 68.34 kB / 372.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02104/0.4701, allocations: 5.449 MB / 378 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.4701, allocations: 0 / 378 MB, free: 21.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.4702, allocations: 7.688 kB / 378 MB, free: 21.54 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.0009164/0.4711, allocations: 0.5844 MB / 378.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4712, allocations: 8.594 kB / 378.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.4713, allocations: 47.05 kB / 378.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.4716, allocations: 274.6 kB / 378.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.4717, allocations: 31.56 kB / 378.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/0.4718, allocations: 46.06 kB / 379 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.4726, allocations: 433.6 kB / 379.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.4727, allocations: 0 / 379.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.4727, allocations: 20.92 kB / 379.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4727, allocations: 9.344 kB / 379.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.4734, allocations: 266.9 kB / 379.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.4758, allocations: 1.32 MB / 381 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.4763, allocations: 235.7 kB / 381.2 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.4767, allocations: 189.8 kB / 381.4 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.4768, allocations: 7.219 kB / 381.4 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.4768, allocations: 36.88 kB / 381.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.401e-06/0.4768, allocations: 0 / 381.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007746/0.4776, allocations: 281.6 kB / 381.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4777, allocations: 235.4 kB / 382 MB, free: 19.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.4779, allocations: 180.3 kB / 382.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.478, allocations: 35.2 kB / 382.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4781, allocations: 270.2 kB / 382.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.4782, allocations: 104.2 kB / 382.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.4782, allocations: 4.938 kB / 382.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.4783, allocations: 326.8 kB / 382.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.4785, allocations: 64.19 kB / 382.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.4787, allocations: 154 kB / 383.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.4789, allocations: 88.41 kB / 383.2 MB, free: 18.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4789, allocations: 1 kB / 383.2 MB, free: 18.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005395/0.4795, allocations: 243.4 kB / 383.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4795, allocations: 5.312 kB / 383.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.277e-06/0.4796, allocations: 6.859 kB / 383.4 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.4796, allocations: 2.25 kB / 383.4 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.48, allocations: 82.67 kB / 383.5 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4801, allocations: 1.531 kB / 383.5 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.4803, allocations: 36.39 kB / 383.5 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.4804, allocations: 11.28 kB / 383.5 MB, free: 18.81 MB / 314.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 9.439e-05/0.4805, allocations: 121.7 kB / 383.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.4806, allocations: 22.59 kB / 383.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.4806, allocations: 42.03 kB / 383.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-06/0.4807, allocations: 2.875 kB / 383.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4807, allocations: 1.438 kB / 383.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4807, allocations: 1.734 kB / 383.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.482, allocations: 0.7795 MB / 384.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.037e-06/0.4821, allocations: 1.719 kB / 384.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.4824, allocations: 55.66 kB / 384.6 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.4828, allocations: 87.59 kB / 384.6 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.4829, allocations: 12.5 kB / 384.7 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.4849, allocations: 1.805 MB / 386.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-06/0.4849, allocations: 0 / 386.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/0.4859, allocations: 0.5006 MB / 387 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.486, allocations: 102.7 kB / 387.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.4861, allocations: 13.77 kB / 387.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.4864, allocations: 13.25 kB / 387.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.4865, allocations: 22.08 kB / 387.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4865, allocations: 11.84 kB / 387.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.4867, allocations: 150.8 kB / 387.3 MB, free: 16.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.4867, allocations: 4 kB / 387.3 MB, free: 16.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005585/0.4873, allocations: 113.8 kB / 387.4 MB, free: 16.59 MB / 314.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.0001498/0.4874, allocations: 112.2 kB / 387.5 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.4879, allocations: 192 kB / 387.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4879, allocations: 1.281 kB / 387.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.4884, allocations: 267.2 kB / 387.9 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.4887, allocations: 16.08 kB / 388 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4901, allocations: 0.706 MB / 388.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4904, allocations: 0.8023 MB / 389.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4905, allocations: 26.92 kB / 389.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 2.435e-06/0.4905, allocations: 0 / 389.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Templates: time 0.00673/0.4972, allocations: 3.825 MB / 393.3 MB, free: 14.97 MB / 314.7 MB