Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.597e-05, allocations: 0 / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09172, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.4932, allocations: 104.5 MB / 447.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4935, allocations: 86.12 kB / 447.7 MB, free: 5.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.68/4.174, allocations: 0.8055 GB / 1.243 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.495e-06/4.174, allocations: 7 kB / 1.243 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008985/4.175, allocations: 388 kB / 1.243 GB, free: 35.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06737/4.242, allocations: 15.95 MB / 1.259 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/4.242, allocations: 7.281 kB / 1.259 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04257/4.285, allocations: 6.056 MB / 1.265 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03134/4.316, allocations: 11.99 MB / 1.276 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/4.318, allocations: 1.256 MB / 1.277 GB, free: 28.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00667/4.324, allocations: 1.632 MB / 1.279 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07625/4.401, allocations: 27.9 MB / 1.306 GB, free: 26.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006491/4.401, allocations: 19.97 kB / 1.306 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005768/4.407, allocations: 0.7079 MB / 1.307 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/4.409, allocations: 1.302 MB / 1.308 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06046/4.469, allocations: 21.98 MB / 1.33 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1804/4.65, allocations: 87.32 MB / 1.415 GB, free: 0 / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.384/5.034, allocations: 35.21 MB / 1.449 GB, free: 37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01136/5.045, allocations: 5.378 MB / 1.455 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006517/5.046, allocations: 212.3 kB / 1.455 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/5.046, allocations: 91.25 kB / 1.455 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=613): time 1.264e-05/5.046, allocations: 5.531 kB / 1.455 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=613): time 0.01816/5.064, allocations: 8.436 MB / 1.463 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/5.064, allocations: 138.5 kB / 1.463 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/5.075, allocations: 5.681 MB / 1.469 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009277/5.076, allocations: 121.6 kB / 1.469 GB, free: 36.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0049/5.081, allocations: 7.557 MB / 1.476 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002418/5.084, allocations: 2.127 MB / 1.478 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009902/5.085, allocations: 210.4 kB / 1.479 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007513/5.085, allocations: 0.7539 MB / 1.479 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009758/5.095, allocations: 4.791 MB / 1.484 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/5.107, allocations: 9.425 MB / 1.493 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/5.12, allocations: 7.253 MB / 1.5 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/5.12, allocations: 43.19 kB / 1.5 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.03589/5.156, allocations: 15.07 MB / 1.515 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002593/5.157, allocations: 81.02 kB / 1.515 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004114/5.157, allocations: 158.7 kB / 1.515 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/5.165, allocations: 1.381 MB / 1.517 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02021/5.185, allocations: 2.347 MB / 1.519 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03266/5.218, allocations: 10.78 MB / 1.53 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01744/5.235, allocations: 1.359 MB / 1.531 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002852/5.238, allocations: 0.5323 MB / 1.531 GB, free: 21.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002485/5.241, allocations: 0.7988 MB / 1.532 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/5.242, allocations: 0.6179 MB / 1.533 GB, free: 21.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0215/5.264, allocations: 10.44 MB / 1.543 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0169/5.28, allocations: 8.012 MB / 1.551 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/5.281, allocations: 10.91 kB / 1.551 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-05/5.281, allocations: 29.81 kB / 1.551 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0603/5.341, allocations: 25.99 MB / 1.576 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/5.341, allocations: 8 kB / 1.576 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005897/5.347, allocations: 1.009 MB / 1.577 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003996/5.351, allocations: 1.163 MB / 1.578 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/5.352, allocations: 133.8 kB / 1.578 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/5.371, allocations: 10.38 MB / 1.589 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/5.371, allocations: 13.95 kB / 1.589 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04909/5.42, allocations: 16.9 MB / 1.605 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004803/5.425, allocations: 1.496 MB / 1.607 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/5.427, allocations: 114.9 kB / 1.607 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004162/5.431, allocations: 334.8 kB / 1.607 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/5.432, allocations: 410.7 kB / 1.607 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00064/5.433, allocations: 176.8 kB / 1.608 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009766/5.443, allocations: 4.216 MB / 1.612 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.131e-06/5.443, allocations: 0 / 1.612 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01669/5.459, allocations: 4.059 MB / 1.616 GB, free: 5.992 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (546): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001689/5.461, allocations: 447.8 kB / 1.616 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3762/5.837, allocations: 11.53 MB / 1.627 GB, free: 87.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/5.837, allocations: 1.5 kB / 1.627 GB, free: 87.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/5.847, allocations: 4.716 MB / 1.632 GB, free: 87.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007868/5.855, allocations: 1.402 MB / 1.633 GB, free: 87.35 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05994/5.915, allocations: 25.26 MB / 1.658 GB, free: 82.83 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02328/5.939, allocations: 11.53 MB / 1.669 GB, free: 81.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0141/5.953, allocations: 3.95 MB / 1.673 GB, free: 81.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/5.955, allocations: 0.5074 MB / 1.674 GB, free: 81.52 MB / 0.5573 GB Notification: Performance of SimCode: time 2.065e-06/5.955, allocations: 0 / 1.674 GB, free: 81.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.2467/6.202, allocations: 97.54 MB / 1.769 GB, free: 61.02 MB / 0.5573 GB