Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.749e-05, allocations: 0 / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08265/0.08273, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4339, allocations: 81.3 MB / 398.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000461/0.4344, allocations: 72.47 kB / 398.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06868/0.5032, allocations: 16.21 MB / 414.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.751e-06/0.5032, allocations: 0 / 414.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.5032, allocations: 8 kB / 414.5 MB, free: 9.395 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002035/0.5053, allocations: 0.7566 MB / 415.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5053, allocations: 11.97 kB / 415.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/0.5091, allocations: 430.1 kB / 415.7 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.5097, allocations: 323 kB / 416 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.5097, allocations: 37.25 kB / 416.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.5099, allocations: 68.48 kB / 416.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5111, allocations: 0.5224 MB / 416.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.5111, allocations: 3.984 kB / 416.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.5112, allocations: 24.06 kB / 416.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.5113, allocations: 16 kB / 416.7 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.5126, allocations: 0.5967 MB / 417.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.5169, allocations: 2.105 MB / 419.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.5201, allocations: 2.973 MB / 422.4 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.5207, allocations: 249.7 kB / 422.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.5208, allocations: 85.55 kB / 422.7 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.5209, allocations: 45.12 kB / 422.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.2e-06/0.5209, allocations: 0 / 422.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001099/0.522, allocations: 426.8 kB / 423.2 MB, free: 1.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.5221, allocations: 55.84 kB / 423.2 MB, free: 1.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.5223, allocations: 191.8 kB / 423.4 MB, free: 1.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.5224, allocations: 32.39 kB / 423.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.5226, allocations: 250.4 kB / 423.7 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.5228, allocations: 167.7 kB / 423.8 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.5228, allocations: 8.188 kB / 423.8 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.523, allocations: 339.2 kB / 424.2 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.5233, allocations: 138.8 kB / 424.3 MB, free: 444 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.5238, allocations: 258.3 kB / 424.6 MB, free: 208 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.5242, allocations: 182 kB / 424.7 MB, free: 88 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.626e-06/0.5242, allocations: 4 kB / 424.7 MB, free: 84 kB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001278/0.5255, allocations: 0.5342 MB / 425.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5255, allocations: 12.41 kB / 425.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5256, allocations: 8 kB / 425.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.526, allocations: 83.19 kB / 425.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.5266, allocations: 114.4 kB / 425.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.5288, allocations: 1.637 MB / 427.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.5292, allocations: 61.83 kB / 427.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.5293, allocations: 19.56 kB / 427.2 MB, free: 13.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.5295, allocations: 139.4 kB / 427.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.5296, allocations: 31.58 kB / 427.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.5308, allocations: 0.5119 MB / 427.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.77e-06/0.5309, allocations: 11.95 kB / 427.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-06/0.5309, allocations: 3.938 kB / 427.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.5309, allocations: 3.984 kB / 427.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.5331, allocations: 1.149 MB / 429.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5332, allocations: 4.062 kB / 429.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.5337, allocations: 83.08 kB / 429.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.534, allocations: 71.12 kB / 429.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.5341, allocations: 18.98 kB / 429.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.5362, allocations: 1.629 MB / 430.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.136e-06/0.5363, allocations: 4 kB / 430.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.5378, allocations: 0.7899 MB / 431.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5379, allocations: 116.8 kB / 431.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.538, allocations: 11.19 kB / 431.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.5383, allocations: 22.92 kB / 431.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.5385, allocations: 32.08 kB / 431.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.5385, allocations: 15.94 kB / 431.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.5387, allocations: 146.2 kB / 432 MB, free: 9.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.5387, allocations: 0 / 432 MB, free: 9.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007191/0.5394, allocations: 170 kB / 432.2 MB, free: 9.578 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.5397, allocations: 157.8 kB / 432.3 MB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.5409, allocations: 0.5383 MB / 432.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.4e-06/0.5409, allocations: 0 / 432.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.5416, allocations: 360.3 kB / 433.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.542, allocations: 24.67 kB / 433.2 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.5457, allocations: 1.043 MB / 434.3 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.5463, allocations: 0.8332 MB / 435.1 MB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.5466, allocations: 51.2 kB / 435.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.5468, allocations: 42.42 kB / 435.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of SimCode: time 1.428e-06/0.5468, allocations: 0 / 435.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of Templates: time 0.01198/0.5588, allocations: 3.971 MB / 439.2 MB, free: 2.922 MB / 346.7 MB