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 2.182/2.182, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.313e-05, allocations: 4 kB / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005317/0.3314, allocations: 2.996 MB / 306.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.3349, allocations: 1.205 MB / 307.5 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.3354, allocations: 12.62 kB / 307.5 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.3359, allocations: 96.42 kB / 307.6 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.3378, allocations: 450.8 kB / 308 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3392, allocations: 323 kB / 308.4 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008485/0.34, allocations: 263.4 kB / 308.6 MB, free: 8.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.342, allocations: 0.6488 MB / 309.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004472/0.3425, allocations: 155.6 kB / 309.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.3429, allocations: 207.4 kB / 309.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.3436, allocations: 139.9 kB / 309.8 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.3437, allocations: 24 kB / 309.8 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.3438, allocations: 75.69 kB / 309.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.344, allocations: 32 kB / 309.9 MB, free: 7.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.345, allocations: 0.5276 MB / 310.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.345, allocations: 0 / 310.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3451, allocations: 0 / 310.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.3451, allocations: 4 kB / 310.4 MB, free: 6.539 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.003229/0.3483, allocations: 0.8312 MB / 311.2 MB, free: 5.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3484, allocations: 12.03 kB / 311.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/0.355, allocations: 0.5809 MB / 311.8 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/0.3558, allocations: 322.2 kB / 312.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.3559, allocations: 45.25 kB / 312.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.356, allocations: 59.94 kB / 312.3 MB, free: 4.605 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.3579, allocations: 0.5648 MB / 312.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.358, allocations: 0 / 312.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/0.3581, allocations: 24 kB / 312.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.3581, allocations: 16 kB / 312.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.3602, allocations: 0.6454 MB / 313.5 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/0.3657, allocations: 2.059 MB / 315.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.37, allocations: 2.99 MB / 318.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.3703, allocations: 89.55 kB / 318.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.3703, allocations: 31 kB / 318.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.356e-06/0.3703, allocations: 3.938 kB / 318.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.003153/0.3735, allocations: 0.7821 MB / 319.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3736, allocations: 55.84 kB / 319.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3739, allocations: 201.5 kB / 319.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.374, allocations: 29.7 kB / 319.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.3742, allocations: 310.5 kB / 320 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.3744, allocations: 165.5 kB / 320.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.3745, allocations: 12 kB / 320.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3746, allocations: 326.8 kB / 320.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.3752, allocations: 169 kB / 320.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.3759, allocations: 289.9 kB / 321 MB, free: 11.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.3766, allocations: 204.8 kB / 321.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3766, allocations: 4 kB / 321.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002865/0.3795, allocations: 0.5903 MB / 321.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.3796, allocations: 4 kB / 321.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3796, allocations: 7.984 kB / 321.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007604/0.3804, allocations: 84.98 kB / 321.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.3817, allocations: 119.8 kB / 322 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.3857, allocations: 1.659 MB / 323.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.3867, allocations: 63.41 kB / 323.7 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3868, allocations: 24 kB / 323.7 MB, free: 8.156 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.0004715/0.3873, allocations: 177.7 kB / 323.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.3875, allocations: 23.72 kB / 323.9 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.3904, allocations: 0.5668 MB / 324.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.3904, allocations: 12 kB / 324.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3905, allocations: 0 / 324.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.3905, allocations: 7.922 kB / 324.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.3951, allocations: 1.2 MB / 325.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.3952, allocations: 0 / 325.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.3963, allocations: 83.89 kB / 325.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006513/0.3971, allocations: 76.81 kB / 325.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.3972, allocations: 12 kB / 325.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/0.401, allocations: 1.656 MB / 327.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4011, allocations: 4.016 kB / 327.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.4048, allocations: 0.839 MB / 328.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.4051, allocations: 108.8 kB / 328.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.4052, allocations: 12 kB / 328.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.4059, allocations: 19.98 kB / 328.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.4062, allocations: 36.39 kB / 328.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.4063, allocations: 15.98 kB / 328.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002917/0.4066, allocations: 135.2 kB / 328.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4066, allocations: 4 kB / 328.7 MB, free: 2.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001384/0.408, allocations: 159.5 kB / 328.9 MB, free: 2.77 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.0004595/0.4085, allocations: 131.2 kB / 329 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.4114, allocations: 0.625 MB / 329.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.4114, allocations: 0 / 329.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.413, allocations: 381.1 kB / 330 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.4137, allocations: 32.06 kB / 330 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.4174, allocations: 1.095 MB / 331.1 MB, free: 464 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/0.4182, allocations: 0.8217 MB / 331.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.4187, allocations: 43.42 kB / 332 MB, free: 15.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4187, allocations: 0 / 332 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Templates: time 0.02125/0.44, allocations: 6.446 MB / 338.4 MB, free: 9.109 MB / 282.7 MB