Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.747e-05, allocations: 5.562 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08887, allocations: 50.42 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4446, allocations: 87.31 MB / 429.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4449, allocations: 79.7 kB / 429.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08747/0.5324, allocations: 26.74 MB / 456.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5324, allocations: 0 / 456.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.226e-05/0.5324, allocations: 16 kB / 456.7 MB, free: 0.6719 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002948/0.5354, allocations: 1.018 MB / 457.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5355, allocations: 8.031 kB / 457.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.5399, allocations: 0.4908 MB / 458.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.5407, allocations: 419.9 kB / 458.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/0.5408, allocations: 70 kB / 458.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.541, allocations: 99.91 kB / 458.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.5432, allocations: 0.9276 MB / 459.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.5433, allocations: 3.938 kB / 459.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.5434, allocations: 48 kB / 459.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.5435, allocations: 20 kB / 459.8 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.5456, allocations: 0.8553 MB / 460.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006922/0.5525, allocations: 3.464 MB / 464.1 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.5555, allocations: 2.206 MB / 466.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.5561, allocations: 268.6 kB / 466.6 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.5563, allocations: 101.6 kB / 466.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.5563, allocations: 43.06 kB / 466.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 3.995e-06/0.5564, allocations: 0 / 466.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001229/0.5576, allocations: 490.7 kB / 467.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.5577, allocations: 115.4 kB / 467.3 MB, free: 5.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.5581, allocations: 238.7 kB / 467.5 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.5582, allocations: 37.7 kB / 467.6 MB, free: 5.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.5585, allocations: 445 kB / 468 MB, free: 4.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.5587, allocations: 228.7 kB / 468.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.5588, allocations: 16 kB / 468.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.559, allocations: 346.9 kB / 468.6 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.5595, allocations: 193.6 kB / 468.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.5602, allocations: 399.6 kB / 469.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.5608, allocations: 271.2 kB / 469.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.744e-06/0.5608, allocations: 0 / 469.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001554/0.5624, allocations: 0.6665 MB / 470.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5624, allocations: 8 kB / 470.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.5625, allocations: 11.98 kB / 470.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.5625, allocations: 12 kB / 470.1 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.5635, allocations: 188.3 kB / 470.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/0.5635, allocations: 19.94 kB / 470.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.564, allocations: 87.11 kB / 470.4 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/0.5641, allocations: 32 kB / 470.5 MB, free: 2.074 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * 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.0001956/0.5644, allocations: 156.7 kB / 470.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.5645, allocations: 35.53 kB / 470.6 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.566, allocations: 0.6047 MB / 471.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.5661, allocations: 12 kB / 471.3 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5661, allocations: 4 kB / 471.3 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5661, allocations: 7.922 kB / 471.3 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.5692, allocations: 1.44 MB / 472.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.5692, allocations: 0 / 472.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/0.57, allocations: 143.8 kB / 472.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.5701, allocations: 4 kB / 472.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.5701, allocations: 12 kB / 472.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.5701, allocations: 11.94 kB / 472.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-06/0.5702, allocations: 0 / 472.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.5721, allocations: 1.079 MB / 474 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5723, allocations: 132.5 kB / 474.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.5724, allocations: 12 kB / 474.1 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.5728, allocations: 24.06 kB / 474.1 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.573, allocations: 44.5 kB / 474.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.573, allocations: 23.98 kB / 474.2 MB, free: 14.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002495/0.5733, allocations: 179.1 kB / 474.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.5733, allocations: 0 / 474.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009894/0.5743, allocations: 227.2 kB / 474.6 MB, free: 13.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.0003646/0.5747, allocations: 202.4 kB / 474.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5759, allocations: 0.5495 MB / 475.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.491e-06/0.576, allocations: 1.75 kB / 475.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.5765, allocations: 282 kB / 475.6 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.577, allocations: 35.08 kB / 475.6 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5792, allocations: 0.9764 MB / 476.6 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.58, allocations: 0.9204 MB / 477.5 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.5803, allocations: 55.42 kB / 477.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.356e-06/0.5803, allocations: 0 / 477.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of Templates: time 0.01352/0.5938, allocations: 7.116 MB / 484.7 MB, free: 3.625 MB / 394.7 MB