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.844/1.844, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.447e-05, allocations: 0 / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.07833, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.4694, allocations: 74.63 MB / 374.5 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4696, allocations: 67.53 kB / 374.5 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03072/0.5004, allocations: 7.99 MB / 382.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.782e-06/0.5004, allocations: 0 / 382.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.5005, allocations: 14.31 kB / 382.5 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001146/0.5016, allocations: 0.7216 MB / 383.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5017, allocations: 9.594 kB / 383.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.5018, allocations: 63.7 kB / 383.3 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.5024, allocations: 359.6 kB / 383.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.5024, allocations: 34.83 kB / 383.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.5025, allocations: 52.02 kB / 383.8 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.5035, allocations: 456.8 kB / 384.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.5035, allocations: 3.984 kB / 384.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.5036, allocations: 23.56 kB / 384.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.5036, allocations: 12.38 kB / 384.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.5043, allocations: 305.3 kB / 384.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.5074, allocations: 1.7 MB / 386.3 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.5079, allocations: 258 kB / 386.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.5082, allocations: 134.1 kB / 386.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5082, allocations: 3.5 kB / 386.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.5083, allocations: 42.09 kB / 386.7 MB, free: 19.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.034e-06/0.5083, allocations: 0 / 386.7 MB, free: 19.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001625/0.5099, allocations: 0.7456 MB / 387.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.51, allocations: 85.66 kB / 387.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.5104, allocations: 337.8 kB / 387.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.5105, allocations: 31.2 kB / 387.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.5106, allocations: 334 kB / 388.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.5107, allocations: 108.3 kB / 388.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.5107, allocations: 9.156 kB / 388.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.5108, allocations: 333.1 kB / 388.6 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5111, allocations: 86.84 kB / 388.7 MB, free: 18.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.5113, allocations: 186.9 kB / 388.9 MB, free: 18.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.5116, allocations: 115.1 kB / 389 MB, free: 18.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.387e-06/0.5116, allocations: 1.469 kB / 389 MB, free: 18.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008772/0.5125, allocations: 401.4 kB / 389.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5126, allocations: 7.844 kB / 389.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.543e-06/0.5126, allocations: 4.281 kB / 389.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.513, allocations: 85.12 kB / 389.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.5134, allocations: 77.5 kB / 389.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.5157, allocations: 2.85 MB / 392.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.5161, allocations: 17.19 kB / 392.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.5162, allocations: 16.38 kB / 392.5 MB, free: 15.63 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.0001194/0.5163, allocations: 127.5 kB / 392.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5164, allocations: 45.73 kB / 392.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.923e-05/0.5165, allocations: 44.88 kB / 392.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5166, allocations: 2.906 kB / 392.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.917e-06/0.5166, allocations: 7.25 kB / 392.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.5166, allocations: 7.656 kB / 392.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.5182, allocations: 0.909 MB / 393.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5182, allocations: 0 / 393.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.5185, allocations: 52.95 kB / 393.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/0.5189, allocations: 79.73 kB / 393.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.519, allocations: 18.23 kB / 393.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.522, allocations: 2.847 MB / 396.6 MB, free: 28.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.375e-06/0.5221, allocations: 0 / 396.6 MB, free: 28.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.5231, allocations: 0.5819 MB / 397.2 MB, free: 28.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.5232, allocations: 119.4 kB / 397.3 MB, free: 28.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.5233, allocations: 15.75 kB / 397.3 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.5238, allocations: 37.78 kB / 397.3 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.5239, allocations: 29.69 kB / 397.4 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.5239, allocations: 11.06 kB / 397.4 MB, free: 28.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003625/0.5243, allocations: 265.8 kB / 397.6 MB, free: 27.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.5243, allocations: 0 / 397.6 MB, free: 27.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007697/0.5251, allocations: 117.4 kB / 397.8 MB, free: 27.93 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.0001774/0.5253, allocations: 113.2 kB / 397.9 MB, free: 27.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009171/0.5262, allocations: 494.1 kB / 398.4 MB, free: 27.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.437e-06/0.5262, allocations: 0 / 398.4 MB, free: 27.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.5269, allocations: 375.3 kB / 398.7 MB, free: 27.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.5274, allocations: 58.5 kB / 398.8 MB, free: 27.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.529, allocations: 0.7299 MB / 399.5 MB, free: 26.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.5295, allocations: 0.846 MB / 400.4 MB, free: 26.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5297, allocations: 34.08 kB / 400.4 MB, free: 26.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.83e-06/0.5297, allocations: 3.938 kB / 400.4 MB, free: 26.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01143/0.5411, allocations: 8.535 MB / 408.9 MB, free: 25.84 MB / 330.7 MB