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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.056e-05, allocations: 2.281 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07708/0.07714, allocations: 44.49 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.4033, allocations: 76.94 MB / 376.8 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4036, allocations: 79.97 kB / 376.9 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08147/0.485, allocations: 16.02 MB / 392.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.991e-06/0.4851, allocations: 0 / 392.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.4851, allocations: 11.72 kB / 392.9 MB, free: 20.04 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.002974/0.4881, allocations: 0.7631 MB / 393.7 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.4882, allocations: 7.844 kB / 393.7 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007092/0.4953, allocations: 442.9 kB / 394.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.4962, allocations: 311.5 kB / 394.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.4963, allocations: 47.81 kB / 394.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.4965, allocations: 53.66 kB / 394.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.4985, allocations: 0.5266 MB / 395 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.4986, allocations: 7.094 kB / 395.1 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.4987, allocations: 22.84 kB / 395.1 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.4988, allocations: 15.62 kB / 395.1 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.5009, allocations: 0.6025 MB / 395.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006545/0.5075, allocations: 2.085 MB / 397.8 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.5111, allocations: 2.982 MB / 400.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.5126, allocations: 248.1 kB / 401 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.5129, allocations: 93.14 kB / 401.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.513, allocations: 42.31 kB / 401.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 8.743e-06/0.513, allocations: 3.906 kB / 401.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002745/0.5158, allocations: 422.5 kB / 401.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.5159, allocations: 55.75 kB / 401.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.5165, allocations: 193.5 kB / 401.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.5166, allocations: 29.27 kB / 401.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.5169, allocations: 304.3 kB / 402.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.5172, allocations: 170.2 kB / 402.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.5173, allocations: 11.03 kB / 402.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5175, allocations: 338 kB / 402.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/0.5183, allocations: 140.7 kB / 402.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.5192, allocations: 255.6 kB / 403 MB, free: 14.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.5196, allocations: 179.5 kB / 403.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.023e-06/0.5197, allocations: 0 / 403.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001316/0.521, allocations: 0.5338 MB / 403.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.521, allocations: 7.875 kB / 403.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5211, allocations: 4.375 kB / 403.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.5215, allocations: 89.14 kB / 403.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.5221, allocations: 111.9 kB / 403.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.5244, allocations: 1.638 MB / 405.6 MB, free: 28.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.525, allocations: 57.23 kB / 405.6 MB, free: 28.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.525, allocations: 23.44 kB / 405.6 MB, free: 28.8 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.0001789/0.5252, allocations: 135.3 kB / 405.8 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/0.5253, allocations: 30.12 kB / 405.8 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.5266, allocations: 0.5134 MB / 406.3 MB, free: 28.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-06/0.5266, allocations: 3.906 kB / 406.3 MB, free: 28.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.217e-06/0.5266, allocations: 3.875 kB / 406.3 MB, free: 28.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5266, allocations: 7.844 kB / 406.3 MB, free: 28.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.5289, allocations: 1.163 MB / 407.5 MB, free: 28.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.353e-06/0.5289, allocations: 0 / 407.5 MB, free: 28.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.5295, allocations: 88.38 kB / 407.6 MB, free: 28.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/0.5299, allocations: 76.53 kB / 407.7 MB, free: 28.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.53, allocations: 14.17 kB / 407.7 MB, free: 28.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.5321, allocations: 1.624 MB / 409.3 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.663e-06/0.5321, allocations: 3.906 kB / 409.3 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.5337, allocations: 0.7894 MB / 410.1 MB, free: 26.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.5339, allocations: 110.1 kB / 410.2 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.5339, allocations: 12.98 kB / 410.2 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.5343, allocations: 27.5 kB / 410.2 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.5344, allocations: 38.02 kB / 410.3 MB, free: 26.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.5344, allocations: 18.64 kB / 410.3 MB, free: 26.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.5346, allocations: 143.8 kB / 410.4 MB, free: 26.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.5346, allocations: 0 / 410.4 MB, free: 26.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007272/0.5354, allocations: 161.8 kB / 410.6 MB, free: 26.41 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.0002925/0.5357, allocations: 148.7 kB / 410.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.5369, allocations: 0.5381 MB / 411.3 MB, free: 26.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.032e-06/0.5369, allocations: 0 / 411.3 MB, free: 26.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.5376, allocations: 354.3 kB / 411.6 MB, free: 26.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.538, allocations: 25.45 kB / 411.6 MB, free: 26.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.5416, allocations: 1.068 MB / 412.7 MB, free: 25.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.5422, allocations: 0.8219 MB / 413.5 MB, free: 25.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.5424, allocations: 37.78 kB / 413.6 MB, free: 25.01 MB / 330.7 MB Notification: Performance of SimCode: time 2.266e-06/0.5425, allocations: 0 / 413.6 MB, free: 25.01 MB / 330.7 MB Notification: Performance of Templates: time 0.01052/0.553, allocations: 6.4 MB / 420 MB, free: 22.47 MB / 330.7 MB