Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.817e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09127, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.4426, allocations: 78.51 MB / 421.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4429, allocations: 68.03 kB / 421.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02288/0.4658, allocations: 5.8 MB / 426.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.184e-06/0.4658, allocations: 0 / 426.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.4659, allocations: 15.94 kB / 426.9 MB, free: 10.62 MB / 346.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.001028/0.4669, allocations: 0.5805 MB / 427.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.467, allocations: 8.031 kB / 427.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.4671, allocations: 47.53 kB / 427.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.4675, allocations: 274.4 kB / 427.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.4676, allocations: 36.31 kB / 427.9 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.4677, allocations: 42.56 kB / 427.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.4685, allocations: 427 kB / 428.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.4686, allocations: 4 kB / 428.3 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.4686, allocations: 19.31 kB / 428.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4687, allocations: 8 kB / 428.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.4693, allocations: 260.3 kB / 428.6 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.4718, allocations: 1.331 MB / 430 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.4723, allocations: 233 kB / 430.2 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.4728, allocations: 186.7 kB / 430.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.4728, allocations: 8 kB / 430.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.4729, allocations: 42.06 kB / 430.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.981e-06/0.4729, allocations: 0 / 430.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007766/0.4737, allocations: 284.6 kB / 430.7 MB, free: 7.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.4739, allocations: 239.3 kB / 430.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.4741, allocations: 182.9 kB / 431.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.4742, allocations: 33.14 kB / 431.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.4744, allocations: 259 kB / 431.4 MB, free: 6.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4745, allocations: 104.8 kB / 431.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.4745, allocations: 3.938 kB / 431.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4747, allocations: 322.7 kB / 431.8 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.4749, allocations: 68.31 kB / 431.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.4751, allocations: 151.6 kB / 432 MB, free: 6.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4754, allocations: 82.47 kB / 432.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-06/0.4754, allocations: 0 / 432.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005543/0.476, allocations: 246 kB / 432.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.476, allocations: 4 kB / 432.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.697e-06/0.476, allocations: 64 / 432.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.476, allocations: 8 kB / 432.4 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.4765, allocations: 83.39 kB / 432.4 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.084e-06/0.4765, allocations: 0 / 432.4 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.4768, allocations: 35 kB / 432.5 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.4768, allocations: 11.5 kB / 432.5 MB, free: 5.73 MB / 346.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.0001323/0.477, allocations: 129.9 kB / 432.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.477, allocations: 23.72 kB / 432.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.4771, allocations: 38.33 kB / 432.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.48e-06/0.4772, allocations: 4 kB / 432.7 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4772, allocations: 4 kB / 432.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4772, allocations: 0 / 432.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4786, allocations: 0.7581 MB / 433.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4787, allocations: 0 / 433.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.479, allocations: 59.02 kB / 433.5 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/0.4794, allocations: 90.28 kB / 433.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.4795, allocations: 11.52 kB / 433.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.482, allocations: 1.812 MB / 435.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.649e-06/0.482, allocations: 0 / 435.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.483, allocations: 0.4944 MB / 435.9 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4831, allocations: 107.8 kB / 436 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.4832, allocations: 6.625 kB / 436 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4834, allocations: 15.06 kB / 436 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.4835, allocations: 19.95 kB / 436 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.4835, allocations: 15.67 kB / 436.1 MB, free: 2.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.4837, allocations: 146.2 kB / 436.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.04e-07/0.4837, allocations: 0 / 436.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005455/0.4843, allocations: 112.7 kB / 436.3 MB, free: 2.285 MB / 346.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.0002019/0.4845, allocations: 117.7 kB / 436.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.485, allocations: 195.6 kB / 436.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.592e-06/0.485, allocations: 0 / 436.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.4855, allocations: 259.8 kB / 436.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.4859, allocations: 33.81 kB / 436.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4874, allocations: 0.6995 MB / 437.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.4879, allocations: 0.795 MB / 438.4 MB, free: 292 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.488, allocations: 34.98 kB / 438.4 MB, free: 260 kB / 346.7 MB Notification: Performance of SimCode: time 1.84e-06/0.488, allocations: 0 / 438.4 MB, free: 260 kB / 346.7 MB Notification: Performance of Templates: time 0.007891/0.4959, allocations: 3.899 MB / 442.3 MB, free: 12.4 MB / 362.7 MB