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.981/1.981, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.138e-05, allocations: 7.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2715, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3858, allocations: 73.98 MB / 368.1 MB, free: 8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.3861, allocations: 67.91 kB / 368.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03131/0.4174, allocations: 7.889 MB / 376 MB, free: 8 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.09e-06/0.4174, allocations: 0 / 376 MB, free: 8 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.779e-05/0.4175, allocations: 12.05 kB / 376.1 MB, free: 15.99 MB / 330.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.001356/0.4189, allocations: 0.7207 MB / 376.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4189, allocations: 12.03 kB / 376.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.4191, allocations: 67.28 kB / 376.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.4197, allocations: 359.4 kB / 377.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.4198, allocations: 16 kB / 377.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.4199, allocations: 28 kB / 377.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007266/0.4206, allocations: 274.6 kB / 377.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009018/0.4215, allocations: 384.7 kB / 377.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.4216, allocations: 4 kB / 377.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.4216, allocations: 0 / 377.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.4217, allocations: 16.17 kB / 377.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.4254, allocations: 1.62 MB / 379.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.4259, allocations: 229.2 kB / 379.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4262, allocations: 117.7 kB / 379.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4262, allocations: 7.984 kB / 379.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.4263, allocations: 38.5 kB / 379.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.519e-06/0.4263, allocations: 0 / 379.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001818/0.4282, allocations: 0.7124 MB / 380.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.4282, allocations: 81.11 kB / 380.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.4287, allocations: 302.3 kB / 381 MB, free: 10.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.4288, allocations: 25.7 kB / 381 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.4291, allocations: 329.9 kB / 381.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4292, allocations: 122.3 kB / 381.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.4292, allocations: 0 / 381.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4294, allocations: 330.8 kB / 381.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.4296, allocations: 76.88 kB / 381.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.4299, allocations: 174 kB / 382 MB, free: 9.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.4302, allocations: 99.59 kB / 382.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4302, allocations: 0 / 382.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009571/0.4312, allocations: 361.5 kB / 382.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4313, allocations: 7.281 kB / 382.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.161e-06/0.4313, allocations: 4.312 kB / 382.5 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.4317, allocations: 81.61 kB / 382.6 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.4321, allocations: 83.89 kB / 382.7 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.4354, allocations: 2.738 MB / 385.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.4359, allocations: 23.95 kB / 385.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.4359, allocations: 16 kB / 385.4 MB, free: 5.996 MB / 330.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.0001653/0.4361, allocations: 116.7 kB / 385.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4362, allocations: 43.53 kB / 385.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.497e-05/0.4364, allocations: 39.05 kB / 385.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.741e-06/0.4364, allocations: 4 kB / 385.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.711e-06/0.4364, allocations: 4 kB / 385.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.913e-06/0.4364, allocations: 3.984 kB / 385.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.4381, allocations: 0.8228 MB / 386.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.764e-06/0.4382, allocations: 0 / 386.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.4385, allocations: 52.11 kB / 386.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004023/0.4389, allocations: 81.64 kB / 386.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.4389, allocations: 0 / 386.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.4421, allocations: 2.743 MB / 389.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.993e-06/0.4421, allocations: 8.094 kB / 389.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4433, allocations: 0.5679 MB / 389.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.4435, allocations: 112.7 kB / 390 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.4435, allocations: 8 kB / 390 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.444, allocations: 23.98 kB / 390.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.4441, allocations: 27.95 kB / 390.1 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.4441, allocations: 8 kB / 390.1 MB, free: 1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003691/0.4445, allocations: 240.6 kB / 390.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.4445, allocations: 0 / 390.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008121/0.4454, allocations: 100 kB / 390.4 MB, free: 0.668 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.0001992/0.4456, allocations: 116.8 kB / 390.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4466, allocations: 463.4 kB / 391 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.4466, allocations: 0 / 391 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.4473, allocations: 351.3 kB / 391.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.4478, allocations: 45.53 kB / 391.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.4496, allocations: 0.7162 MB / 392.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.4503, allocations: 0.8509 MB / 393 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.4504, allocations: 27.44 kB / 393 MB, free: 14.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.944e-06/0.4504, allocations: 0 / 393 MB, free: 14.01 MB / 346.7 MB Notification: Performance of Templates: time 0.01417/0.4646, allocations: 8.336 MB / 401.3 MB, free: 5.672 MB / 346.7 MB