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.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.76/1.76, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.884e-05, allocations: 7.984 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07764/0.07769, allocations: 44.49 MB / 299.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4556, allocations: 76.94 MB / 376.8 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4559, allocations: 76.09 kB / 376.9 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05728/0.5132, allocations: 16.04 MB / 392.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5132, allocations: 0 / 392.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.5133, allocations: 7.812 kB / 392.9 MB, free: 19.89 MB / 314.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.001808/0.5151, allocations: 0.7595 MB / 393.7 MB, free: 19.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5151, allocations: 11.72 kB / 393.7 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.5191, allocations: 428.9 kB / 394.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.5195, allocations: 322.6 kB / 394.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.5196, allocations: 40.06 kB / 394.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5197, allocations: 58.78 kB / 394.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5209, allocations: 0.5272 MB / 395.1 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.521, allocations: 7.531 kB / 395.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.5211, allocations: 26.25 kB / 395.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.5211, allocations: 15.66 kB / 395.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.5224, allocations: 0.6029 MB / 395.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.5262, allocations: 2.09 MB / 397.8 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.5283, allocations: 2.971 MB / 400.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.5289, allocations: 255.9 kB / 401 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.529, allocations: 89.11 kB / 401.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.529, allocations: 38.25 kB / 401.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.776e-06/0.529, allocations: 0 / 401.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001042/0.5301, allocations: 425.7 kB / 401.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.5301, allocations: 59.69 kB / 401.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.5304, allocations: 186.9 kB / 401.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.5304, allocations: 36.3 kB / 401.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.5305, allocations: 241.4 kB / 402.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.5307, allocations: 168.9 kB / 402.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.5307, allocations: 11.19 kB / 402.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.5308, allocations: 340.8 kB / 402.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.5311, allocations: 140 kB / 402.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.5315, allocations: 262 kB / 403 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.5319, allocations: 178.1 kB / 403.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-06/0.5319, allocations: 0 / 403.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001194/0.5331, allocations: 0.5367 MB / 403.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5332, allocations: 7.812 kB / 403.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.469e-06/0.5332, allocations: 0 / 403.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.5336, allocations: 85.38 kB / 403.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.5341, allocations: 113.5 kB / 403.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.5362, allocations: 1.645 MB / 405.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.5366, allocations: 61.28 kB / 405.6 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.5367, allocations: 22.77 kB / 405.6 MB, free: 28.72 MB / 330.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.000158/0.5369, allocations: 142.8 kB / 405.8 MB, free: 28.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.537, allocations: 27.25 kB / 405.8 MB, free: 28.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.5382, allocations: 0.5108 MB / 406.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.5382, allocations: 7.719 kB / 406.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5382, allocations: 7.859 kB / 406.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.251e-06/0.5383, allocations: 0 / 406.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.5403, allocations: 1.157 MB / 407.5 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.88e-06/0.5403, allocations: 2.5 kB / 407.5 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.5408, allocations: 86.69 kB / 407.6 MB, free: 28.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/0.5411, allocations: 76.98 kB / 407.6 MB, free: 28.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.5412, allocations: 10.97 kB / 407.6 MB, free: 28.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.5431, allocations: 1.63 MB / 409.3 MB, free: 26.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5431, allocations: 3.938 kB / 409.3 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.5446, allocations: 0.7926 MB / 410.1 MB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.5447, allocations: 111.8 kB / 410.2 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.5448, allocations: 7.125 kB / 410.2 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.5451, allocations: 30.23 kB / 410.2 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.5452, allocations: 37.95 kB / 410.3 MB, free: 26.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.5453, allocations: 15.41 kB / 410.3 MB, free: 26.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.5455, allocations: 141.1 kB / 410.4 MB, free: 26.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.5455, allocations: 0 / 410.4 MB, free: 26.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007044/0.5462, allocations: 165.4 kB / 410.6 MB, free: 26.33 MB / 330.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.0002582/0.5465, allocations: 149.4 kB / 410.7 MB, free: 26.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.5475, allocations: 0.543 MB / 411.3 MB, free: 26.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5475, allocations: 0 / 411.3 MB, free: 26.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000589/0.5481, allocations: 352.2 kB / 411.6 MB, free: 25.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.5485, allocations: 19.97 kB / 411.6 MB, free: 25.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.5518, allocations: 1.037 MB / 412.7 MB, free: 25.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.5524, allocations: 0.8272 MB / 413.5 MB, free: 24.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.5527, allocations: 52.44 kB / 413.5 MB, free: 24.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.5528, allocations: 38.23 kB / 413.6 MB, free: 24.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.359e-06/0.5528, allocations: 0 / 413.6 MB, free: 24.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01081/0.5636, allocations: 3.909 MB / 417.5 MB, free: 23.57 MB / 330.7 MB