Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.97e-05, allocations: 9.234 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07646/0.07651, allocations: 44.5 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.4721, allocations: 97.89 MB / 397.8 MB, free: 18.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4724, allocations: 81.38 kB / 397.9 MB, free: 18.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.785/4.257, allocations: 0.8213 GB / 1.21 GB, free: 37.13 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.404e-06/4.257, allocations: 0 / 1.21 GB, free: 37.13 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001091/4.258, allocations: 396.4 kB / 1.21 GB, free: 37.08 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.07027/4.329, allocations: 16.48 MB / 1.226 GB, free: 32.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/4.329, allocations: 7.688 kB / 1.226 GB, free: 32.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06871/4.398, allocations: 8.645 MB / 1.235 GB, free: 31.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03112/4.429, allocations: 11.92 MB / 1.246 GB, free: 30.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002033/4.431, allocations: 1.337 MB / 1.248 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007706/4.439, allocations: 1.716 MB / 1.249 GB, free: 29.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08852/4.527, allocations: 31.65 MB / 1.28 GB, free: 23.47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007148/4.528, allocations: 15.7 kB / 1.28 GB, free: 23.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0069/4.535, allocations: 0.748 MB / 1.281 GB, free: 22.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/4.536, allocations: 1.256 MB / 1.282 GB, free: 21.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0981/4.635, allocations: 28.86 MB / 1.31 GB, free: 0 / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5647/5.199, allocations: 96.59 MB / 1.405 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04692/5.246, allocations: 33.76 MB / 1.438 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03147/5.278, allocations: 15.11 MB / 1.453 GB, free: 3.184 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5009/5.779, allocations: 48.61 MB / 1.5 GB, free: 65.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/5.779, allocations: 147.4 kB / 1.5 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1454): time 2.344e-05/5.779, allocations: 3.375 kB / 1.5 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1454): time 0.05699/5.836, allocations: 25.45 MB / 1.525 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/5.836, allocations: 193.6 kB / 1.525 GB, free: 65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007748/5.844, allocations: 3.912 MB / 1.529 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002326/5.846, allocations: 204.4 kB / 1.529 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003798/5.85, allocations: 6.107 MB / 1.535 GB, free: 62.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006347/5.856, allocations: 4.766 MB / 1.54 GB, free: 58.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/5.858, allocations: 232.7 kB / 1.54 GB, free: 58.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00129/5.859, allocations: 0.8923 MB / 1.541 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0195/5.879, allocations: 9.814 MB / 1.55 GB, free: 58.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02294/5.902, allocations: 12.16 MB / 1.562 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02439/5.926, allocations: 11.88 MB / 1.574 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/5.927, allocations: 16.56 kB / 1.574 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.06486/5.991, allocations: 28.3 MB / 1.602 GB, free: 46.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-05/5.992, allocations: 29.91 kB / 1.602 GB, free: 46.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/5.992, allocations: 63.09 kB / 1.602 GB, free: 46.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02542/6.017, allocations: 10.4 MB / 1.612 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01151/6.029, allocations: 1.946 MB / 1.614 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03414/6.063, allocations: 21.21 MB / 1.634 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/6.074, allocations: 1.419 MB / 1.636 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003413/6.077, allocations: 0.5154 MB / 1.636 GB, free: 27.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 909 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004748/6.082, allocations: 0.7076 MB / 1.637 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003148/6.085, allocations: 0.7284 MB / 1.638 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06433/6.149, allocations: 27.79 MB / 1.665 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4334/6.583, allocations: 27.42 MB / 1.692 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.037e-05/6.583, allocations: 0 / 1.692 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001679/6.583, allocations: 58.77 kB / 1.692 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.114/6.697, allocations: 52.09 MB / 1.743 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001159/6.697, allocations: 1.312 kB / 1.743 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008698/6.706, allocations: 1.359 MB / 1.744 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02551/6.731, allocations: 10.3 MB / 1.754 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002804/6.734, allocations: 301.1 kB / 1.754 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03293/6.767, allocations: 21.09 MB / 1.775 GB, free: 52.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/6.767, allocations: 2.188 kB / 1.775 GB, free: 52.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07845/6.846, allocations: 41.3 MB / 1.815 GB, free: 26.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009309/6.855, allocations: 3.132 MB / 1.818 GB, free: 24.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0037/6.859, allocations: 181.9 kB / 1.818 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007701/6.867, allocations: 0.505 MB / 1.819 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003772/6.87, allocations: 1.065 MB / 1.82 GB, free: 22.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001902/6.872, allocations: 372.4 kB / 1.82 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005611/6.878, allocations: 2.925 MB / 1.823 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.451e-06/6.878, allocations: 0 / 1.823 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01519/6.893, allocations: 4.362 MB / 1.827 GB, free: 15.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (756): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002698/6.896, allocations: 467.1 kB / 1.828 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.06861/6.965, allocations: 24.45 MB / 1.852 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/6.965, allocations: 4 kB / 1.852 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3834/7.348, allocations: 13.57 MB / 1.865 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009691/7.358, allocations: 1.369 MB / 1.866 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09969/7.457, allocations: 35.73 MB / 1.901 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06236/7.52, allocations: 12.32 MB / 1.913 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01241/7.532, allocations: 2.795 MB / 1.916 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003111/7.536, allocations: 490.3 kB / 1.916 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/7.536, allocations: 0 / 1.916 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.864/8.4, allocations: 210.3 MB / 2.122 GB, free: 63.31 MB / 0.5105 GB