Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.047e-05, allocations: 11.94 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3185, allocations: 44.48 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4479, allocations: 76.27 MB / 370.4 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4482, allocations: 87.89 kB / 370.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05608/0.5043, allocations: 15.73 MB / 386.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.927e-06/0.5044, allocations: 0 / 386.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.5044, allocations: 8 kB / 386.2 MB, free: 5.715 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.002042/0.5065, allocations: 0.7565 MB / 387 MB, free: 4.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5065, allocations: 12.03 kB / 387 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.5103, allocations: 430.9 kB / 387.4 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.5109, allocations: 318.3 kB / 387.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.511, allocations: 16 kB / 387.7 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.5111, allocations: 35.94 kB / 387.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001383/0.5125, allocations: 0.5649 MB / 388.3 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5136, allocations: 423.9 kB / 388.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.5136, allocations: 11.89 kB / 388.7 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.5137, allocations: 0 / 388.7 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.5138, allocations: 16 kB / 388.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.5179, allocations: 1.953 MB / 390.7 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/0.5212, allocations: 2.966 MB / 393.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.5217, allocations: 189.1 kB / 393.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.5218, allocations: 89.55 kB / 394 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.5219, allocations: 42.98 kB / 394 MB, free: 13.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.756e-06/0.5219, allocations: 0 / 394 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001565/0.5235, allocations: 468.4 kB / 394.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.5236, allocations: 59.84 kB / 394.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.5238, allocations: 169.3 kB / 394.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.5239, allocations: 29.7 kB / 394.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.5241, allocations: 306.5 kB / 395 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.5243, allocations: 161.6 kB / 395.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.5243, allocations: 0 / 395.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5245, allocations: 334.8 kB / 395.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.5248, allocations: 129.1 kB / 395.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.5253, allocations: 240.9 kB / 395.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009523/0.5263, allocations: 260.5 kB / 396.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5263, allocations: 0 / 396.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00178/0.5281, allocations: 0.5823 MB / 396.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5281, allocations: 4 kB / 396.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5281, allocations: 4 kB / 396.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.5286, allocations: 93 kB / 396.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.5291, allocations: 111.8 kB / 396.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.5317, allocations: 1.775 MB / 398.7 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.5322, allocations: 51.48 kB / 398.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.5323, allocations: 20 kB / 398.7 MB, free: 8.152 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.5325, allocations: 124.6 kB / 398.9 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.5326, allocations: 27.7 kB / 398.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.5343, allocations: 0.5434 MB / 399.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5343, allocations: 7.984 kB / 399.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5344, allocations: 7.953 kB / 399.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5344, allocations: 7.984 kB / 399.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.5369, allocations: 1.068 MB / 400.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.808e-06/0.5369, allocations: 0 / 400.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.5374, allocations: 83.89 kB / 400.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003744/0.5378, allocations: 84.75 kB / 400.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.5378, allocations: 4 kB / 400.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.5403, allocations: 1.771 MB / 402.5 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.711e-06/0.5403, allocations: 0 / 402.5 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.5423, allocations: 0.7803 MB / 403.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5425, allocations: 116.8 kB / 403.4 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.5426, allocations: 4 kB / 403.4 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.5429, allocations: 8 kB / 403.4 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.543, allocations: 36.38 kB / 403.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.5431, allocations: 15.94 kB / 403.4 MB, free: 3.254 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.5432, allocations: 128.3 kB / 403.5 MB, free: 3.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.5432, allocations: 4 kB / 403.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008402/0.5441, allocations: 143.5 kB / 403.7 MB, free: 2.984 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002754/0.5444, allocations: 135.1 kB / 403.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.5456, allocations: 0.524 MB / 404.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.65e-06/0.5456, allocations: 0 / 404.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.5462, allocations: 352 kB / 404.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.5466, allocations: 11.95 kB / 404.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.5503, allocations: 1.012 MB / 405.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.5509, allocations: 0.8287 MB / 406.5 MB, free: 40 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.5511, allocations: 39.44 kB / 406.6 MB, free: 4 kB / 346.7 MB Notification: Performance of SimCode: time 1.804e-06/0.5511, allocations: 0 / 406.6 MB, free: 4 kB / 346.7 MB Notification: Performance of Templates: time 0.01151/0.5626, allocations: 6.276 MB / 412.9 MB, free: 9.727 MB / 362.7 MB