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.903/1.903, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.597e-05, allocations: 11.98 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2884, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004883/0.2934, allocations: 2.999 MB / 306.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.2965, allocations: 1.191 MB / 307.5 MB, free: 9.375 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.2969, allocations: 12 kB / 307.5 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.2973, allocations: 95.39 kB / 307.6 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.2989, allocations: 454.5 kB / 308.1 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3, allocations: 323 kB / 308.4 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.3007, allocations: 251.4 kB / 308.6 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.3024, allocations: 0.6488 MB / 309.3 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.3027, allocations: 151.6 kB / 309.4 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.3031, allocations: 203.4 kB / 309.6 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.3037, allocations: 147.8 kB / 309.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.628e-05/0.3038, allocations: 24 kB / 309.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.3039, allocations: 79.69 kB / 309.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.304, allocations: 32 kB / 309.9 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.3049, allocations: 0.532 MB / 310.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3049, allocations: 0 / 310.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3049, allocations: 0 / 310.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.305, allocations: 0 / 310.4 MB, free: 6.43 MB / 250.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.002873/0.3078, allocations: 0.8234 MB / 311.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3079, allocations: 12.03 kB / 311.3 MB, free: 5.547 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/0.3144, allocations: 0.5926 MB / 311.9 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.3151, allocations: 310.3 kB / 312.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.3152, allocations: 49.31 kB / 312.2 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.3154, allocations: 67.86 kB / 312.3 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.3171, allocations: 0.557 MB / 312.8 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.3172, allocations: 0 / 312.8 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.3173, allocations: 20 kB / 312.9 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.3173, allocations: 16 kB / 312.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3192, allocations: 0.6571 MB / 313.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.3241, allocations: 2.063 MB / 315.6 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/0.328, allocations: 2.977 MB / 318.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.3282, allocations: 97.52 kB / 318.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.3283, allocations: 39 kB / 318.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 5.731e-06/0.3283, allocations: 3.984 kB / 318.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.002924/0.3312, allocations: 0.7781 MB / 319.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3313, allocations: 59.84 kB / 319.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.3316, allocations: 197.5 kB / 319.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.3316, allocations: 33.7 kB / 319.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.3318, allocations: 236.1 kB / 320 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.332, allocations: 169.5 kB / 320.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.3321, allocations: 8 kB / 320.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3322, allocations: 338.8 kB / 320.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.3328, allocations: 173 kB / 320.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.3334, allocations: 281.9 kB / 320.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.3341, allocations: 200.8 kB / 321.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3342, allocations: 0 / 321.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001849/0.336, allocations: 0.6021 MB / 321.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3361, allocations: 8 kB / 321.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3361, allocations: 7.984 kB / 321.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.3366, allocations: 84.78 kB / 321.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.3375, allocations: 119.8 kB / 322 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.3399, allocations: 1.656 MB / 323.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.3405, allocations: 55.59 kB / 323.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.3406, allocations: 23.98 kB / 323.7 MB, free: 8.098 MB / 266.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 (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.0003074/0.3409, allocations: 181.5 kB / 323.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.341, allocations: 31.62 kB / 323.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.3429, allocations: 0.5746 MB / 324.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3429, allocations: 4 kB / 324.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3429, allocations: 0 / 324.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3429, allocations: 4 kB / 324.5 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.3458, allocations: 1.2 MB / 325.7 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3458, allocations: 0 / 325.7 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006947/0.3465, allocations: 91.89 kB / 325.8 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.347, allocations: 72.8 kB / 325.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.347, allocations: 12 kB / 325.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.3494, allocations: 1.66 MB / 327.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3495, allocations: 0 / 327.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.3518, allocations: 0.8467 MB / 328.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3519, allocations: 108.7 kB / 328.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.352, allocations: 12 kB / 328.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.3525, allocations: 23.98 kB / 328.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.3526, allocations: 36.38 kB / 328.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.3527, allocations: 12 kB / 328.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.3529, allocations: 143.3 kB / 328.7 MB, free: 2.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3529, allocations: 0 / 328.7 MB, free: 2.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007222/0.3536, allocations: 151.6 kB / 328.8 MB, free: 2.695 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002843/0.3539, allocations: 135.2 kB / 329 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.3557, allocations: 0.6204 MB / 329.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3557, allocations: 0 / 329.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009711/0.3567, allocations: 389.8 kB / 330 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.357, allocations: 31.06 kB / 330 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3592, allocations: 1.051 MB / 331.1 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.3597, allocations: 0.8256 MB / 331.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.3601, allocations: 55.2 kB / 331.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3603, allocations: 31.42 kB / 332 MB, free: 15.49 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3603, allocations: 0 / 332 MB, free: 15.49 MB / 282.7 MB Notification: Performance of Templates: time 0.01355/0.3739, allocations: 4.031 MB / 336 MB, free: 11.46 MB / 282.7 MB