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 2.18/2.18, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/2.995e-05, allocations: 0 / 258.8 MB, free: 8.723 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3524, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003639/0.3561, allocations: 2.198 MB / 305.5 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3578, allocations: 0.6431 MB / 306.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.3582, allocations: 10.66 kB / 306.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.3584, allocations: 50.77 kB / 306.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.3587, allocations: 85.83 kB / 306.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.3591, allocations: 87.06 kB / 306.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.3596, allocations: 228.9 kB / 306.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.3599, allocations: 125 kB / 306.7 MB, free: 10 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.3602, allocations: 120.9 kB / 306.8 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3605, allocations: 144.2 kB / 307 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.259e-05/0.3606, allocations: 18.19 kB / 307 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.3607, allocations: 16.97 kB / 307 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.3608, allocations: 64.34 kB / 307.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3609, allocations: 37.53 kB / 307.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.3615, allocations: 370.5 kB / 307.5 MB, free: 9.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3615, allocations: 0 / 307.5 MB, free: 9.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3615, allocations: 0 / 307.5 MB, free: 9.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3615, allocations: 0 / 307.5 MB, free: 9.516 MB / 250.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.001524/0.3631, allocations: 0.6047 MB / 308.1 MB, free: 8.863 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.3631, allocations: 11.97 kB / 308.1 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3633, allocations: 55.42 kB / 308.1 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.3637, allocations: 271.2 kB / 308.4 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.3638, allocations: 29 kB / 308.4 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3639, allocations: 44 kB / 308.5 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3651, allocations: 447.2 kB / 308.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.3651, allocations: 7.906 kB / 308.9 MB, free: 7.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.3652, allocations: 16 kB / 308.9 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.3652, allocations: 8 kB / 308.9 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.3661, allocations: 283.9 kB / 309.2 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.3693, allocations: 1.318 MB / 310.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.37, allocations: 242.8 kB / 310.8 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.3701, allocations: 4 kB / 310.8 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3702, allocations: 42.52 kB / 310.8 MB, free: 5.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 3.206e-06/0.3702, allocations: 0 / 310.8 MB, free: 5.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002348/0.3725, allocations: 0.5627 MB / 311.4 MB, free: 5.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.3727, allocations: 235.3 kB / 311.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.373, allocations: 179.4 kB / 311.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.3731, allocations: 33.7 kB / 311.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.3733, allocations: 258.7 kB / 312.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3734, allocations: 102.5 kB / 312.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.3735, allocations: 4 kB / 312.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3736, allocations: 330.8 kB / 312.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.3739, allocations: 87.95 kB / 312.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.3743, allocations: 151.6 kB / 312.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.3747, allocations: 112.1 kB / 312.8 MB, free: 3.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3747, allocations: 0 / 312.8 MB, free: 3.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007836/0.3755, allocations: 269.2 kB / 313.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3755, allocations: 4.938 kB / 313.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3756, allocations: 0 / 313.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3756, allocations: 4 kB / 313.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.3762, allocations: 87.92 kB / 313.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3763, allocations: 0 / 313.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.3766, allocations: 31.69 kB / 313.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.3767, allocations: 11.98 kB / 313.2 MB, free: 3.363 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002477/0.3769, allocations: 157.8 kB / 313.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.377, allocations: 27.67 kB / 313.4 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.537e-05/0.3771, allocations: 26.66 kB / 313.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3771, allocations: 4 kB / 313.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.3772, allocations: 7.984 kB / 313.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3772, allocations: 0 / 313.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.3779, allocations: 393.3 kB / 313.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3779, allocations: 0 / 313.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.3785, allocations: 55.95 kB / 313.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.379, allocations: 84.75 kB / 314 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.3791, allocations: 19.88 kB / 314 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.3821, allocations: 1.859 MB / 315.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3822, allocations: 0 / 315.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.3835, allocations: 0.5163 MB / 316.4 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3837, allocations: 108.8 kB / 316.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.3838, allocations: 4 kB / 316.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3841, allocations: 20.05 kB / 316.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.3842, allocations: 23.97 kB / 316.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3842, allocations: 4 kB / 316.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.3845, allocations: 147.4 kB / 316.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3845, allocations: 0 / 316.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005633/0.385, allocations: 115.6 kB / 316.8 MB, free: 15.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001787/0.3852, allocations: 103.2 kB / 316.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006973/0.3859, allocations: 223.8 kB / 317.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.386, allocations: 0 / 317.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.3867, allocations: 278.5 kB / 317.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.387, allocations: 31.98 kB / 317.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3892, allocations: 1.06 MB / 318.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.3897, allocations: 0.795 MB / 319.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3899, allocations: 23.42 kB / 319.3 MB, free: 13 MB / 266.7 MB Notification: Performance of SimCode: time 1.123e-06/0.3899, allocations: 4 kB / 319.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of Templates: time 0.009546/0.3994, allocations: 3.839 MB / 323.1 MB, free: 9.145 MB / 266.7 MB