Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.561e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 44.49 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.4172, allocations: 80.4 MB / 374.5 MB, free: 1.578 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004141/0.4176, allocations: 83.78 kB / 374.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1106/0.5283, allocations: 28.38 MB / 403 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5283, allocations: 0 / 403 MB, free: 4.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.5283, allocations: 16 kB / 403 MB, free: 4.758 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002951/0.5313, allocations: 1.073 MB / 404.1 MB, free: 3.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5314, allocations: 8.031 kB / 404.1 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/0.5377, allocations: 0.7052 MB / 404.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009271/0.5386, allocations: 439.9 kB / 405.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.5387, allocations: 39.98 kB / 405.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.5389, allocations: 63.91 kB / 405.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002532/0.5415, allocations: 1.008 MB / 406.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.5436, allocations: 0.8903 MB / 407.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/0.5437, allocations: 7.984 kB / 407.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.5438, allocations: 0 / 407.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.5439, allocations: 27.95 kB / 407.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/0.5519, allocations: 3.883 MB / 411.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.5562, allocations: 3.697 MB / 414.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.5568, allocations: 276.7 kB / 415.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.557, allocations: 93.66 kB / 415.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.5571, allocations: 47.12 kB / 415.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 4.218e-06/0.5571, allocations: 0 / 415.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.001961/0.559, allocations: 0.592 MB / 415.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.5591, allocations: 115.4 kB / 415.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.5596, allocations: 254 kB / 416.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.5596, allocations: 25.7 kB / 416.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.56, allocations: 0.4965 MB / 416.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.5603, allocations: 240.5 kB / 416.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.5603, allocations: 0 / 416.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.5606, allocations: 346.8 kB / 417.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.561, allocations: 198.6 kB / 417.5 MB, free: 5.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007858/0.5618, allocations: 0.5129 MB / 418 MB, free: 4.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.5634, allocations: 448.1 kB / 418.4 MB, free: 4.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.5634, allocations: 4 kB / 418.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002611/0.5661, allocations: 0.8866 MB / 419.3 MB, free: 3.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.5661, allocations: 12 kB / 419.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5661, allocations: 8 kB / 419.3 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.14e-05/0.5662, allocations: 20 kB / 419.3 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.5672, allocations: 235.6 kB / 419.6 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.5673, allocations: 23.89 kB / 419.6 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.568, allocations: 91.27 kB / 419.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/0.5681, allocations: 44 kB / 419.7 MB, free: 2.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.0002162/0.5683, allocations: 136.4 kB / 419.9 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.5685, allocations: 43.44 kB / 419.9 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.5706, allocations: 0.7038 MB / 420.6 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.5706, allocations: 8 kB / 420.6 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.548e-06/0.5706, allocations: 4 kB / 420.6 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.5707, allocations: 11.94 kB / 420.6 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.5743, allocations: 1.489 MB / 422.1 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5744, allocations: 0 / 422.1 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.5751, allocations: 143.9 kB / 422.3 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.5752, allocations: 7.938 kB / 422.3 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.5752, allocations: 8 kB / 422.3 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.465e-06/0.5753, allocations: 4 kB / 422.3 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.721e-06/0.5753, allocations: 11.98 kB / 422.3 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2067/0.782, allocations: 1.182 MB / 423.5 MB, free: 95.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.7822, allocations: 130 kB / 423.6 MB, free: 95.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.269e-05/0.7823, allocations: 2.047 kB / 423.6 MB, free: 95.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.7828, allocations: 17.11 kB / 423.6 MB, free: 95.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.783, allocations: 42.8 kB / 423.7 MB, free: 95.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.783, allocations: 24.09 kB / 423.7 MB, free: 95.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.7833, allocations: 180 kB / 423.9 MB, free: 94.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.7833, allocations: 0 / 423.9 MB, free: 94.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00109/0.7844, allocations: 224.5 kB / 424.1 MB, free: 94.93 MB / 362.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 (78): * Single equations (assignments): 78 * 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.0002642/0.7847, allocations: 144.2 kB / 424.2 MB, free: 94.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.7859, allocations: 0.5937 MB / 424.8 MB, free: 94.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7859, allocations: 0 / 424.8 MB, free: 94.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.7865, allocations: 282.8 kB / 425.1 MB, free: 94.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.787, allocations: 19.83 kB / 425.1 MB, free: 94.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.7914, allocations: 1.492 MB / 426.6 MB, free: 94.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.792, allocations: 0.9412 MB / 427.5 MB, free: 93.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.7923, allocations: 60.11 kB / 427.6 MB, free: 93.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.7923, allocations: 1.312 kB / 427.6 MB, free: 93.79 MB / 362.7 MB Notification: Performance of Templates: time 0.01291/0.8052, allocations: 7.632 MB / 435.2 MB, free: 93.28 MB / 362.7 MB