Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.779/1.779, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.856e-05, allocations: 11.47 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.076/0.07605, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4428, allocations: 74.64 MB / 374.5 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.443, allocations: 66.39 kB / 374.6 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02933/0.4724, allocations: 7.998 MB / 382.6 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.32e-06/0.4724, allocations: 0 / 382.6 MB, free: 21.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.215e-05/0.4725, allocations: 15.11 kB / 382.6 MB, free: 21.5 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001177/0.4737, allocations: 0.7147 MB / 383.3 MB, free: 21.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4737, allocations: 10.66 kB / 383.3 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.4738, allocations: 65.27 kB / 383.4 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.4744, allocations: 362.1 kB / 383.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.4744, allocations: 39.41 kB / 383.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.4745, allocations: 49.12 kB / 383.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000897/0.4755, allocations: 445 kB / 384.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4755, allocations: 5.375 kB / 384.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.4756, allocations: 20.69 kB / 384.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4756, allocations: 12.19 kB / 384.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.4763, allocations: 297.2 kB / 384.6 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.4794, allocations: 1.705 MB / 386.3 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.4799, allocations: 249.8 kB / 386.5 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.4802, allocations: 127.9 kB / 386.6 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.4802, allocations: 12.59 kB / 386.7 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4803, allocations: 35.88 kB / 386.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.941e-06/0.4803, allocations: 1.594 kB / 386.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001576/0.4819, allocations: 0.753 MB / 387.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.4819, allocations: 79.98 kB / 387.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.4824, allocations: 339.5 kB / 387.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.4824, allocations: 33.64 kB / 387.9 MB, free: 19.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.4826, allocations: 327.3 kB / 388.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.4827, allocations: 117 kB / 388.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.4827, allocations: 8.812 kB / 388.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.4828, allocations: 326.7 kB / 388.6 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.483, allocations: 89.19 kB / 388.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.4833, allocations: 179.4 kB / 388.9 MB, free: 18.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.4836, allocations: 114.2 kB / 389 MB, free: 18.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4836, allocations: 1.344 kB / 389 MB, free: 18.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009081/0.4845, allocations: 398.1 kB / 389.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4845, allocations: 5.719 kB / 389.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4846, allocations: 2.781 kB / 389.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/0.485, allocations: 87.95 kB / 389.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.4854, allocations: 76.61 kB / 389.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.4876, allocations: 2.85 MB / 392.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.488, allocations: 23.56 kB / 392.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.488, allocations: 15.84 kB / 392.5 MB, free: 15.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.4882, allocations: 124.4 kB / 392.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4883, allocations: 42.97 kB / 392.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.4884, allocations: 44.89 kB / 392.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-06/0.4884, allocations: 7.906 kB / 392.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.937e-06/0.4884, allocations: 3.906 kB / 392.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-06/0.4884, allocations: 7.953 kB / 392.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.49, allocations: 0.9118 MB / 393.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-06/0.4901, allocations: 0 / 393.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.4903, allocations: 53.67 kB / 393.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.4907, allocations: 79.98 kB / 393.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.4908, allocations: 3.75 kB / 393.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.4939, allocations: 2.847 MB / 396.6 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.922e-06/0.4939, allocations: 0 / 396.6 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4949, allocations: 0.5925 MB / 397.2 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.4951, allocations: 119.3 kB / 397.3 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.4952, allocations: 7.531 kB / 397.3 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.4957, allocations: 34.33 kB / 397.3 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.4957, allocations: 25.98 kB / 397.4 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.4958, allocations: 11.41 kB / 397.4 MB, free: 27.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000361/0.4962, allocations: 268.3 kB / 397.6 MB, free: 27.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.98e-07/0.4962, allocations: 4 kB / 397.6 MB, free: 27.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007814/0.497, allocations: 116 kB / 397.8 MB, free: 27.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/0.4972, allocations: 121 kB / 397.9 MB, free: 27.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008755/0.4981, allocations: 477 kB / 398.3 MB, free: 27.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4981, allocations: 0 / 398.3 MB, free: 27.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.4987, allocations: 359.1 kB / 398.7 MB, free: 27.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.4992, allocations: 56.73 kB / 398.7 MB, free: 27.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.5007, allocations: 0.7349 MB / 399.5 MB, free: 26.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.5013, allocations: 0.8467 MB / 400.3 MB, free: 26.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.5014, allocations: 30.88 kB / 400.4 MB, free: 26.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.74e-06/0.5014, allocations: 0 / 400.4 MB, free: 26.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01123/0.5127, allocations: 8.524 MB / 408.9 MB, free: 25.83 MB / 330.7 MB