Running command: translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") Notification: Performance of loadModel(HanserModelica): time 2.179/2.179, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.231e-05, allocations: 4 kB / 279.5 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.08828, allocations: 49.7 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.488, allocations: 80.1 MB / 409.3 MB, free: 3.836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4882, allocations: 70.2 kB / 409.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01843/0.5067, allocations: 4.573 MB / 413.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.895e-06/0.5067, allocations: 0 / 413.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.87e-05/0.5067, allocations: 4 kB / 413.9 MB, free: 15.93 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007677/0.5075, allocations: 483.6 kB / 414.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5076, allocations: 12.02 kB / 414.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.5077, allocations: 23.72 kB / 414.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.508, allocations: 226.2 kB / 414.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.5081, allocations: 19.14 kB / 414.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.5081, allocations: 21.94 kB / 414.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.5086, allocations: 229.1 kB / 414.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5086, allocations: 4 kB / 414.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.5087, allocations: 13.81 kB / 414.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.5087, allocations: 8 kB / 414.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.5091, allocations: 135.8 kB / 415.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.5108, allocations: 0.8705 MB / 415.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.5111, allocations: 109.7 kB / 416 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.5112, allocations: 51.47 kB / 416.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.5112, allocations: 0 / 416.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.5113, allocations: 38.56 kB / 416.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.208e-06/0.5113, allocations: 3.938 kB / 416.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001147/0.5124, allocations: 463.1 kB / 416.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5125, allocations: 55.41 kB / 416.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.5127, allocations: 163.3 kB / 416.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.5128, allocations: 33.27 kB / 416.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5129, allocations: 157.9 kB / 417 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.513, allocations: 58.05 kB / 417 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.513, allocations: 7.625 kB / 417 MB, free: 12.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5132, allocations: 318.6 kB / 417.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.5133, allocations: 42.19 kB / 417.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.5135, allocations: 82.78 kB / 417.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.5136, allocations: 52.34 kB / 417.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.373e-06/0.5136, allocations: 3.953 kB / 417.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003718/0.514, allocations: 160 kB / 417.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.514, allocations: 12 kB / 417.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5141, allocations: 0 / 417.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5141, allocations: 4 kB / 417.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.5144, allocations: 43.97 kB / 417.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.5144, allocations: 7.938 kB / 417.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.5146, allocations: 3.312 kB / 417.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.5146, allocations: 11.12 kB / 417.8 MB, free: 12.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001066/0.5147, allocations: 116.5 kB / 417.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.5148, allocations: 15.77 kB / 417.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.5149, allocations: 19.47 kB / 417.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6e-06/0.5149, allocations: 4 kB / 417.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.5149, allocations: 0 / 417.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-06/0.5149, allocations: 0 / 417.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.5153, allocations: 265.7 kB / 418.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.5153, allocations: 0 / 418.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.5156, allocations: 47.48 kB / 418.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.283e-06/0.5156, allocations: 0 / 418.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5157, allocations: 8 kB / 418.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.731e-06/0.5157, allocations: 0 / 418.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.885e-06/0.5157, allocations: 0 / 418.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.5162, allocations: 270.9 kB / 418.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5163, allocations: 108.1 kB / 418.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.5163, allocations: 3.953 kB / 418.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.5166, allocations: 11.61 kB / 418.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.5166, allocations: 15.98 kB / 418.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.5166, allocations: 4 kB / 418.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.5168, allocations: 133.2 kB / 418.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.5168, allocations: 0 / 418.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004055/0.5172, allocations: 46.44 kB / 418.8 MB, free: 11.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001458/0.5174, allocations: 102.2 kB / 418.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.5177, allocations: 111.9 kB / 419 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.981e-06/0.5177, allocations: 4.062 kB / 419 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.5178, allocations: 50 kB / 419.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.5181, allocations: 18.67 kB / 419.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009371/0.5191, allocations: 311.4 kB / 419.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.5195, allocations: 0.7402 MB / 420.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.5197, allocations: 17.55 kB / 420.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.5197, allocations: 15.44 kB / 420.2 MB, free: 9.961 MB / 346.7 MB Notification: Performance of SimCode: time 1.525e-06/0.5198, allocations: 3.938 kB / 420.2 MB, free: 9.957 MB / 346.7 MB Notification: Performance of Templates: time 0.005441/0.5252, allocations: 1.315 MB / 421.5 MB, free: 8.656 MB / 346.7 MB