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.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.623/1.623, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.886e-05, allocations: 11.98 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3168, allocations: 69.75 MB / 333.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.3171, allocations: 67.95 kB / 333.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03487/0.352, allocations: 8.183 MB / 341.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.607e-06/0.352, allocations: 0 / 341.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.534e-05/0.3521, allocations: 15.98 kB / 341.8 MB, free: 11.71 MB / 298.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.001374/0.3535, allocations: 0.7204 MB / 342.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3535, allocations: 8.031 kB / 342.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.3537, allocations: 67.25 kB / 342.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.3543, allocations: 351.5 kB / 342.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.3544, allocations: 33 kB / 342.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.3545, allocations: 55.89 kB / 343 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3555, allocations: 453.3 kB / 343.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3556, allocations: 0 / 343.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.3556, allocations: 20 kB / 343.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.3557, allocations: 12 kB / 343.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.3564, allocations: 294.2 kB / 343.8 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.3601, allocations: 1.728 MB / 345.5 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.3607, allocations: 241.2 kB / 345.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.361, allocations: 133.9 kB / 345.9 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3611, allocations: 4 kB / 345.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.3611, allocations: 42.5 kB / 345.9 MB, free: 7.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 6.182e-06/0.3611, allocations: 3.984 kB / 345.9 MB, free: 7.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001805/0.3629, allocations: 0.7496 MB / 346.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.363, allocations: 89.09 kB / 346.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.3636, allocations: 343.5 kB / 347.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.3637, allocations: 29.7 kB / 347.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.3639, allocations: 334 kB / 347.4 MB, free: 5.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.3641, allocations: 110.4 kB / 347.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.3641, allocations: 8 kB / 347.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3643, allocations: 326.8 kB / 347.9 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.3645, allocations: 84.88 kB / 348 MB, free: 5.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.3649, allocations: 185.9 kB / 348.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3652, allocations: 112 kB / 348.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-06/0.3652, allocations: 0 / 348.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001045/0.3663, allocations: 389.7 kB / 348.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3663, allocations: 8 kB / 348.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3663, allocations: 7.953 kB / 348.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/0.3668, allocations: 85.81 kB / 348.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.3673, allocations: 79.91 kB / 348.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.3706, allocations: 2.838 MB / 351.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3711, allocations: 19.97 kB / 351.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.3711, allocations: 16 kB / 351.7 MB, free: 1.152 MB / 298.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.0001629/0.3713, allocations: 132.9 kB / 351.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3714, allocations: 43.53 kB / 351.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.3716, allocations: 47.28 kB / 351.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3716, allocations: 4 kB / 351.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.025e-06/0.3716, allocations: 0 / 351.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-06/0.3716, allocations: 4 kB / 351.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.3735, allocations: 0.9179 MB / 352.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.862e-06/0.3735, allocations: 0 / 352.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.3738, allocations: 52.09 kB / 352.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.3742, allocations: 85.64 kB / 353 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3743, allocations: 11.98 kB / 353 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.3781, allocations: 2.845 MB / 355.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.354e-06/0.3782, allocations: 0 / 355.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.3802, allocations: 0.5874 MB / 356.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.3806, allocations: 140.6 kB / 356.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.3808, allocations: 8.188 kB / 356.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008496/0.3816, allocations: 39.97 kB / 356.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3818, allocations: 27.91 kB / 356.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/0.3819, allocations: 15.98 kB / 356.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000743/0.3827, allocations: 262.2 kB / 356.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.35e-06/0.3827, allocations: 0 / 356.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001565/0.3843, allocations: 119.9 kB / 357 MB, free: 11.43 MB / 314.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.0002906/0.3846, allocations: 119.2 kB / 357.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.3863, allocations: 484.2 kB / 357.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.605e-06/0.3863, allocations: 0 / 357.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3875, allocations: 351.5 kB / 357.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.3885, allocations: 53.41 kB / 358 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3915, allocations: 0.7506 MB / 358.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008915/0.3925, allocations: 0.8431 MB / 359.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.3927, allocations: 39.42 kB / 359.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of SimCode: time 2.167e-06/0.3927, allocations: 0 / 359.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of Templates: time 0.02388/0.4166, allocations: 8.521 MB / 368.1 MB, free: 192 kB / 314.7 MB