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 1.844/1.844, allocations: 194.9 MB / 210.6 MB, free: 9.316 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.656e-05, allocations: 4 kB / 258.8 MB, free: 9.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2908, allocations: 44.5 MB / 303.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03755/0.3284, allocations: 24.17 MB / 327.5 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.3467, allocations: 6.387 MB / 333.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006516/0.3533, allocations: 255.3 kB / 334.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008816/0.3621, allocations: 1.531 MB / 335.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01496/0.3772, allocations: 2.298 MB / 338 MB, free: 11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009056/0.3863, allocations: 1.354 MB / 339.3 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0464/0.4327, allocations: 15.35 MB / 354.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08549/0.5182, allocations: 30.52 MB / 385.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.529, allocations: 4.883 MB / 390.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.5427, allocations: 6.034 MB / 396.1 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.5489, allocations: 0.6833 MB / 396.8 MB, free: 40 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003745/0.5527, allocations: 0.5078 MB / 397.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005139/0.5579, allocations: 2.614 MB / 399.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006133/0.5641, allocations: 1.258 MB / 401.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5937/1.158, allocations: 33.69 MB / 434.8 MB, free: 36.75 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.158, allocations: 3.062 kB / 434.8 MB, free: 36.75 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.347e-06/1.158, allocations: 0 / 434.8 MB, free: 36.75 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.00114/1.159, allocations: 0 / 434.8 MB, free: 36.75 MB / 362.8 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.07402/1.233, allocations: 18.53 MB / 453.4 MB, free: 28.07 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.233, allocations: 8.594 kB / 453.4 MB, free: 28.07 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09906/1.332, allocations: 12.31 MB / 465.7 MB, free: 22.09 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03007/1.362, allocations: 10.45 MB / 476.1 MB, free: 15.87 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001655/1.364, allocations: 1.396 MB / 477.5 MB, free: 15.08 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008495/1.373, allocations: 1.831 MB / 479.4 MB, free: 13.86 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1054/1.478, allocations: 30.58 MB / 0.498 GB, free: 7.402 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009978/1.479, allocations: 19.36 kB / 0.498 GB, free: 7.387 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007677/1.487, allocations: 0.7565 MB / 0.4988 GB, free: 6.645 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001625/1.488, allocations: 0.9859 MB / 0.4997 GB, free: 5.656 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0923/1.581, allocations: 27.76 MB / 0.5268 GB, free: 9.879 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5458/2.127, allocations: 94.56 MB / 0.6192 GB, free: 128.4 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05322/2.18, allocations: 53.35 MB / 0.6713 GB, free: 83.35 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0435/2.223, allocations: 16.83 MB / 0.6877 GB, free: 80.28 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/2.224, allocations: 81.78 kB / 0.6878 GB, free: 80.23 MB / 474.8 MB Notification: Performance of pre-optimization done (n=445): time 8.426e-06/2.224, allocations: 0 / 0.6878 GB, free: 80.23 MB / 474.8 MB Notification: Performance of matching and sorting (n=445): time 0.06199/2.286, allocations: 14.82 MB / 0.7023 GB, free: 75.78 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/2.286, allocations: 122.6 kB / 0.7024 GB, free: 75.68 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01733/2.303, allocations: 6.683 MB / 0.7089 GB, free: 72.15 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000928/2.304, allocations: 99.08 kB / 0.709 GB, free: 72.06 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006589/2.311, allocations: 8.496 MB / 0.7173 GB, free: 64.67 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002471/2.313, allocations: 1.618 MB / 0.7189 GB, free: 63.3 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/2.315, allocations: 221.1 kB / 0.7191 GB, free: 63.12 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0009867/2.316, allocations: 0.7666 MB / 0.7198 GB, free: 62.5 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01203/2.328, allocations: 4.761 MB / 0.7245 GB, free: 59.52 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01589/2.344, allocations: 10.39 MB / 0.7346 GB, free: 46.38 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/2.36, allocations: 7.334 MB / 0.7418 GB, free: 38.99 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001726/2.36, allocations: 56 kB / 0.7418 GB, free: 38.94 MB / 474.8 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.04247/2.402, allocations: 16.19 MB / 0.7577 GB, free: 22.66 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/2.403, allocations: 88 kB / 0.7577 GB, free: 22.57 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002984/2.403, allocations: 196 kB / 0.7579 GB, free: 22.38 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008308/2.411, allocations: 1.692 MB / 0.7596 GB, free: 20.68 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01587/2.427, allocations: 2.492 MB / 0.762 GB, free: 18.19 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02522/2.453, allocations: 12.33 MB / 0.774 GB, free: 5.738 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/2.466, allocations: 1.556 MB / 0.7756 GB, free: 4.168 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/2.468, allocations: 0.6015 MB / 0.7762 GB, free: 3.566 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1308): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.435/2.903, allocations: 7.338 MB / 0.7833 GB, free: 151.3 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002472/2.906, allocations: 0.6305 MB / 0.7839 GB, free: 151.3 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02585/2.931, allocations: 8.372 MB / 0.7921 GB, free: 149.2 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01747/2.949, allocations: 6.751 MB / 0.7987 GB, free: 146.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/2.949, allocations: 19.34 kB / 0.7987 GB, free: 146.5 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/2.949, allocations: 22.41 kB / 0.7987 GB, free: 146.5 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0566/3.006, allocations: 21.13 MB / 0.8194 GB, free: 138.6 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/3.006, allocations: 2.625 kB / 0.8194 GB, free: 138.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006544/3.012, allocations: 0.7503 MB / 0.8201 GB, free: 138.6 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007631/3.02, allocations: 1.416 MB / 0.8215 GB, free: 138.2 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000881/3.021, allocations: 91.67 kB / 0.8216 GB, free: 138.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/3.048, allocations: 11.98 MB / 0.8333 GB, free: 128.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/3.048, allocations: 0 / 0.8333 GB, free: 128.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04266/3.09, allocations: 12.04 MB / 0.845 GB, free: 118.2 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00649/3.097, allocations: 1.378 MB / 0.8464 GB, free: 116.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003397/3.1, allocations: 76 kB / 0.8465 GB, free: 116.8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009581/3.11, allocations: 302.8 kB / 0.8467 GB, free: 116.6 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001798/3.112, allocations: 303.3 kB / 0.847 GB, free: 116.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008413/3.113, allocations: 129.9 kB / 0.8472 GB, free: 116.3 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01759/3.13, allocations: 4.861 MB / 0.8519 GB, free: 112.4 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.473e-06/3.13, allocations: 0 / 0.8519 GB, free: 112.4 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02395/3.154, allocations: 4.205 MB / 0.856 GB, free: 108.2 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (377): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/3.156, allocations: 266.7 kB / 0.8563 GB, free: 107.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.03829/3.194, allocations: 11.23 MB / 0.8672 GB, free: 97.39 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/3.195, allocations: 4 kB / 0.8672 GB, free: 97.39 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01435/3.209, allocations: 4.173 MB / 0.8713 GB, free: 93.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0144/3.223, allocations: 1.393 MB / 0.8727 GB, free: 91.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1045/3.328, allocations: 35.5 MB / 0.9073 GB, free: 56.25 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0289/3.357, allocations: 11.88 MB / 0.9189 GB, free: 44.32 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.02074/3.378, allocations: 3.948 MB / 0.9228 GB, free: 40.36 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/3.381, allocations: 0.5032 MB / 0.9233 GB, free: 39.86 MB / 474.8 MB Notification: Performance of SimCode: time 1.513e-06/3.381, allocations: 0 / 0.9233 GB, free: 39.86 MB / 474.8 MB Notification: Performance of Templates: time 0.5764/3.957, allocations: 94.04 MB / 1.015 GB, free: 100.3 MB / 474.8 MB