Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.658e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09047, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5345, allocations: 104.6 MB / 447.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5348, allocations: 82.02 kB / 447.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.709/4.244, allocations: 0.8055 GB / 1.242 GB, free: 35.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.48e-06/4.244, allocations: 0 / 1.242 GB, free: 35.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009962/4.245, allocations: 383.8 kB / 1.243 GB, free: 35.5 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.07076/4.316, allocations: 15.95 MB / 1.258 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/4.316, allocations: 10.03 kB / 1.258 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04601/4.362, allocations: 6.058 MB / 1.264 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03185/4.394, allocations: 11.99 MB / 1.276 GB, free: 28.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001404/4.395, allocations: 1.25 MB / 1.277 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006921/4.402, allocations: 1.635 MB / 1.279 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07987/4.482, allocations: 27.9 MB / 1.306 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000747/4.483, allocations: 17.06 kB / 1.306 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006184/4.489, allocations: 0.7098 MB / 1.307 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/4.491, allocations: 1.3 MB / 1.308 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05886/4.55, allocations: 21.98 MB / 1.329 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1845/4.735, allocations: 87.33 MB / 1.415 GB, free: 0 / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.404/5.139, allocations: 35.21 MB / 1.449 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01164/5.15, allocations: 5.377 MB / 1.454 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007106/5.151, allocations: 201.6 kB / 1.454 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.005e-05/5.151, allocations: 102.9 kB / 1.455 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=613): time 2.284e-05/5.151, allocations: 0.875 kB / 1.455 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=613): time 0.01837/5.17, allocations: 8.44 MB / 1.463 GB, free: 36.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/5.17, allocations: 141.1 kB / 1.463 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/5.182, allocations: 5.673 MB / 1.468 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/5.183, allocations: 120.7 kB / 1.469 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004965/5.188, allocations: 7.36 MB / 1.476 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00254/5.19, allocations: 2.12 MB / 1.478 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/5.191, allocations: 211.1 kB / 1.478 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007866/5.192, allocations: 0.7598 MB / 1.479 GB, free: 30.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009939/5.202, allocations: 4.791 MB / 1.483 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/5.216, allocations: 9.429 MB / 1.493 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/5.229, allocations: 7.249 MB / 1.5 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001997/5.23, allocations: 45.72 kB / 1.5 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.03466/5.264, allocations: 14.85 MB / 1.514 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/5.264, allocations: 74.06 kB / 1.514 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002524/5.265, allocations: 164.1 kB / 1.514 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004818/5.27, allocations: 1.383 MB / 1.516 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01193/5.282, allocations: 2.354 MB / 1.518 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/5.301, allocations: 10.78 MB / 1.529 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/5.312, allocations: 1.363 MB / 1.53 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002326/5.314, allocations: 0.5313 MB / 1.531 GB, free: 21.77 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.002554/5.316, allocations: 0.8029 MB / 1.531 GB, free: 21.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/5.318, allocations: 0.6174 MB / 1.532 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/5.34, allocations: 10.42 MB / 1.542 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01707/5.357, allocations: 8.022 MB / 1.55 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/5.357, allocations: 14.09 kB / 1.55 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/5.357, allocations: 32.16 kB / 1.55 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07647/5.433, allocations: 25.99 MB / 1.575 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-05/5.433, allocations: 8 kB / 1.575 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009381/5.443, allocations: 1.007 MB / 1.576 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003949/5.447, allocations: 1.168 MB / 1.577 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009336/5.448, allocations: 130.6 kB / 1.578 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/5.469, allocations: 10.53 MB / 1.588 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.546e-05/5.469, allocations: 13.25 kB / 1.588 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04604/5.515, allocations: 16.64 MB / 1.604 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004973/5.52, allocations: 1.497 MB / 1.606 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001766/5.522, allocations: 114.5 kB / 1.606 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004584/5.527, allocations: 328.9 kB / 1.606 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001261/5.528, allocations: 413.7 kB / 1.606 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006682/5.529, allocations: 170.9 kB / 1.607 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01012/5.539, allocations: 4.219 MB / 1.611 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.024e-06/5.539, allocations: 0 / 1.611 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01656/5.555, allocations: 4.065 MB / 1.615 GB, free: 5.988 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.001679/5.557, allocations: 447.2 kB / 1.615 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3778/5.935, allocations: 11.53 MB / 1.626 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/5.935, allocations: 1.25 kB / 1.626 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0103/5.945, allocations: 4.717 MB / 1.631 GB, free: 87.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008584/5.954, allocations: 1.397 MB / 1.632 GB, free: 87.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06008/6.014, allocations: 24.65 MB / 1.656 GB, free: 82.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02014/6.034, allocations: 11.17 MB / 1.667 GB, free: 81.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003144/6.037, allocations: 0.5773 MB / 1.668 GB, free: 81.91 MB / 0.5573 GB Notification: Performance of SimCode: time 1.932e-06/6.037, allocations: 0 / 1.668 GB, free: 81.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.7662/6.804, allocations: 269.2 MB / 1.931 GB, free: 51.1 MB / 0.5573 GB