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.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 171.2 MB / 186.3 MB, free: 1.383 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.714e-05, allocations: 0 / 228.1 MB, free: 5.875 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 38.77 MB / 266.9 MB, free: 15.02 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004529/0.1092, allocations: 2.609 MB / 269.5 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1116, allocations: 0.9391 MB / 270.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.1119, allocations: 12 kB / 270.5 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1123, allocations: 99.3 kB / 270.6 MB, free: 11.33 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1125, allocations: 75.73 kB / 270.6 MB, free: 11.26 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.1142, allocations: 0.5254 MB / 271.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.1147, allocations: 171.6 kB / 271.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.1165, allocations: 0.7263 MB / 272 MB, free: 9.812 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.1168, allocations: 99.78 kB / 272.1 MB, free: 9.715 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1171, allocations: 131.6 kB / 272.3 MB, free: 9.586 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.1175, allocations: 107.9 kB / 272.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.1176, allocations: 16 kB / 272.4 MB, free: 9.465 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.1177, allocations: 47.78 kB / 272.4 MB, free: 9.418 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.1178, allocations: 24 kB / 272.5 MB, free: 9.395 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.1186, allocations: 419.2 kB / 272.9 MB, free: 8.984 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1186, allocations: 0 / 272.9 MB, free: 8.984 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1186, allocations: 4 kB / 272.9 MB, free: 8.98 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1186, allocations: 0 / 272.9 MB, free: 8.98 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002897/0.1215, allocations: 0.7491 MB / 273.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1216, allocations: 11.97 kB / 273.6 MB, free: 8.168 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.1221, allocations: 63.59 kB / 273.7 MB, free: 8.105 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.1225, allocations: 266.4 kB / 274 MB, free: 7.805 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.1226, allocations: 33 kB / 274 MB, free: 7.773 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1227, allocations: 40 kB / 274 MB, free: 7.734 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1238, allocations: 362.5 kB / 274.4 MB, free: 7.375 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.1238, allocations: 4 kB / 274.4 MB, free: 7.371 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.1239, allocations: 16 kB / 274.4 MB, free: 7.355 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1239, allocations: 8 kB / 274.4 MB, free: 7.348 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009729/0.1249, allocations: 291.9 kB / 274.7 MB, free: 7.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.128, allocations: 1.345 MB / 276 MB, free: 5.633 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/0.1287, allocations: 174.6 kB / 276.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.1288, allocations: 8 kB / 276.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1288, allocations: 38.45 kB / 276.3 MB, free: 5.398 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 2.796e-06/0.1288, allocations: 0 / 276.3 MB, free: 5.398 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.002101/0.131, allocations: 459.2 kB / 276.7 MB, free: 4.922 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.131, allocations: 55.36 kB / 276.8 MB, free: 4.855 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1313, allocations: 162.6 kB / 276.9 MB, free: 4.688 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.1313, allocations: 29.7 kB / 276.9 MB, free: 4.652 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1315, allocations: 274 kB / 277.2 MB, free: 4.383 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.1316, allocations: 55.23 kB / 277.3 MB, free: 4.328 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1317, allocations: 8 kB / 277.3 MB, free: 4.32 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1318, allocations: 322.8 kB / 277.6 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1321, allocations: 75.95 kB / 277.7 MB, free: 3.922 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.1325, allocations: 130.8 kB / 277.8 MB, free: 3.77 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1328, allocations: 93.97 kB / 277.9 MB, free: 3.68 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1329, allocations: 4 kB / 277.9 MB, free: 3.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001126/0.134, allocations: 310.3 kB / 278.2 MB, free: 3.363 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.134, allocations: 11.92 kB / 278.2 MB, free: 3.352 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1341, allocations: 4 kB / 278.2 MB, free: 3.348 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/0.1346, allocations: 72.81 kB / 278.3 MB, free: 3.273 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.135, allocations: 47.97 kB / 278.3 MB, free: 3.227 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.1376, allocations: 1.66 MB / 280 MB, free: 1.434 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.138, allocations: 35.7 kB / 280 MB, free: 1.398 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.138, allocations: 12.03 kB / 280 MB, free: 1.387 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.000269/0.1383, allocations: 145.8 kB / 280.2 MB, free: 1.234 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.1384, allocations: 11.91 kB / 280.2 MB, free: 1.223 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1395, allocations: 276.7 kB / 280.5 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1395, allocations: 0 / 280.5 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1395, allocations: 8 kB / 280.5 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1396, allocations: 0 / 280.5 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.1402, allocations: 349.3 kB / 280.8 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1403, allocations: 0 / 280.8 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.1406, allocations: 23.98 kB / 280.8 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004743/0.141, allocations: 84.77 kB / 280.9 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1411, allocations: 12 kB / 280.9 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2216/0.3627, allocations: 1.648 MB / 282.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3628, allocations: 0.7969 kB / 282.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.3642, allocations: 446.8 kB / 283 MB, free: 13.27 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.3643, allocations: 97.12 kB / 283.1 MB, free: 13.18 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3644, allocations: 7.531 kB / 283.1 MB, free: 13.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3646, allocations: 15.95 kB / 283.1 MB, free: 13.18 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.3647, allocations: 18.98 kB / 283.1 MB, free: 13.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.3648, allocations: 3.938 kB / 283.2 MB, free: 13.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3649, allocations: 126.6 kB / 283.3 MB, free: 13.1 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.365, allocations: 0 / 283.3 MB, free: 13.1 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005937/0.3656, allocations: 94.78 kB / 283.4 MB, free: 13.09 MB / 234.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 (9): * Single equations (assignments): 8 * 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.0002121/0.3658, allocations: 117.6 kB / 283.5 MB, free: 13.01 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.367, allocations: 353.1 kB / 283.8 MB, free: 12.89 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.367, allocations: 0 / 283.8 MB, free: 12.89 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.3676, allocations: 254.5 kB / 284.1 MB, free: 12.77 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3679, allocations: 16.38 kB / 284.1 MB, free: 12.77 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3695, allocations: 0.7342 MB / 284.8 MB, free: 12.35 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3699, allocations: 0.7724 MB / 285.6 MB, free: 11.65 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.37, allocations: 19.41 kB / 285.6 MB, free: 11.64 MB / 234.7 MB Notification: Performance of SimCode: time 1.122e-06/0.37, allocations: 0 / 285.6 MB, free: 11.64 MB / 234.7 MB Notification: Performance of Templates: time 0.01059/0.3806, allocations: 4.082 MB / 289.7 MB, free: 11.44 MB / 234.7 MB