Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.96e-05, allocations: 6.812 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 50.4 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5655, allocations: 87.24 MB / 429.8 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5658, allocations: 80.39 kB / 429.9 MB, free: 6.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08881/0.6546, allocations: 26.75 MB / 456.6 MB, free: 424 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.376e-06/0.6546, allocations: 0 / 456.6 MB, free: 424 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.6547, allocations: 12 kB / 456.6 MB, free: 412 kB / 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.002952/0.6576, allocations: 1.026 MB / 457.7 MB, free: 15.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6577, allocations: 8.031 kB / 457.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.6622, allocations: 494.6 kB / 458.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.6631, allocations: 427.9 kB / 458.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.6632, allocations: 70 kB / 458.6 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.6634, allocations: 99.91 kB / 458.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.6657, allocations: 0.9314 MB / 459.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.6657, allocations: 3.938 kB / 459.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.6659, allocations: 40 kB / 459.7 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.6659, allocations: 24 kB / 459.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.668, allocations: 0.8553 MB / 460.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006921/0.675, allocations: 3.472 MB / 464.1 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.678, allocations: 2.201 MB / 466.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.6786, allocations: 272.6 kB / 466.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.6787, allocations: 97.64 kB / 466.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.6788, allocations: 47.06 kB / 466.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 4.219e-06/0.6788, allocations: 0 / 466.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001239/0.6801, allocations: 482.7 kB / 467.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.6802, allocations: 115.4 kB / 467.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.6806, allocations: 246.7 kB / 467.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.6806, allocations: 37.7 kB / 467.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.681, allocations: 378.6 kB / 467.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.6812, allocations: 220.7 kB / 468.1 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.6813, allocations: 16 kB / 468.1 MB, free: 4.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6815, allocations: 346.8 kB / 468.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.682, allocations: 205.5 kB / 468.7 MB, free: 3.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.6827, allocations: 403.6 kB / 469.1 MB, free: 3.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.6833, allocations: 263.2 kB / 469.3 MB, free: 2.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.094e-06/0.6833, allocations: 8 kB / 469.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001639/0.685, allocations: 0.6745 MB / 470 MB, free: 2.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.685, allocations: 8 kB / 470 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.685, allocations: 8 kB / 470 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.6851, allocations: 12 kB / 470 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/0.686, allocations: 183.7 kB / 470.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/0.6861, allocations: 19.92 kB / 470.2 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.6866, allocations: 91.47 kB / 470.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/0.6867, allocations: 31.98 kB / 470.4 MB, free: 1.844 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.0002069/0.6869, allocations: 158.1 kB / 470.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.6871, allocations: 39.53 kB / 470.6 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.6886, allocations: 0.6086 MB / 471.2 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.6886, allocations: 8 kB / 471.2 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6886, allocations: 0 / 471.2 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.6887, allocations: 19.92 kB / 471.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.6918, allocations: 1.424 MB / 472.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.977e-06/0.6918, allocations: 4 kB / 472.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/0.6926, allocations: 139.8 kB / 472.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-06/0.6926, allocations: 4 kB / 472.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.6927, allocations: 20 kB / 472.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-06/0.6927, allocations: 7.891 kB / 472.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6927, allocations: 4 kB / 472.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.6947, allocations: 1.079 MB / 473.9 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.6949, allocations: 124.5 kB / 474 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.695, allocations: 16 kB / 474 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.6955, allocations: 23.98 kB / 474 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.6956, allocations: 44.56 kB / 474.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.6957, allocations: 20 kB / 474.1 MB, free: 14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002647/0.6959, allocations: 183.1 kB / 474.3 MB, free: 13.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.696, allocations: 0 / 474.3 MB, free: 13.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001096/0.6971, allocations: 231.2 kB / 474.5 MB, free: 13.59 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.0003743/0.6975, allocations: 202.3 kB / 474.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.6987, allocations: 0.5495 MB / 475.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.187e-06/0.6987, allocations: 0 / 475.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.6993, allocations: 279.8 kB / 475.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.6997, allocations: 32.52 kB / 475.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.702, allocations: 0.932 MB / 476.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.7028, allocations: 0.9165 MB / 477.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.7033, allocations: 84.36 kB / 477.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.7035, allocations: 47.44 kB / 477.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.464e-06/0.7035, allocations: 0 / 477.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of Templates: time 0.01588/0.7194, allocations: 4.688 MB / 482.2 MB, free: 5.816 MB / 394.7 MB