Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.871e-05, allocations: 8 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005237/0.1179, allocations: 2.917 MB / 347.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.1212, allocations: 1.223 MB / 349.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.1215, allocations: 12 kB / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.122, allocations: 103.3 kB / 349.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.1235, allocations: 414.7 kB / 349.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1247, allocations: 331 kB / 350 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006205/0.1253, allocations: 243.4 kB / 350.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.1271, allocations: 0.641 MB / 350.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.1275, allocations: 151.6 kB / 351 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.1279, allocations: 183.4 kB / 351.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.1285, allocations: 155.8 kB / 351.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.435e-05/0.1286, allocations: 27.94 kB / 351.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.018e-05/0.1287, allocations: 67.75 kB / 351.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1288, allocations: 36 kB / 351.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.1298, allocations: 0.5105 MB / 352 MB, free: 1.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1298, allocations: 3.938 kB / 352 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1298, allocations: 0 / 352 MB, free: 1.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1298, allocations: 0 / 352 MB, free: 1.906 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00303/0.1329, allocations: 0.8156 MB / 352.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1329, allocations: 12.03 kB / 352.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.1382, allocations: 0.4911 MB / 353.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.1389, allocations: 302.4 kB / 353.6 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.139, allocations: 37.31 kB / 353.6 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.1392, allocations: 52 kB / 353.7 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.1408, allocations: 0.5258 MB / 354.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.1408, allocations: 3.984 kB / 354.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.711e-05/0.1409, allocations: 23.95 kB / 354.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.141, allocations: 12 kB / 354.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.1427, allocations: 0.5906 MB / 354.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.1475, allocations: 1.871 MB / 356.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.1508, allocations: 2.176 MB / 358.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.151, allocations: 85.55 kB / 358.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1511, allocations: 35 kB / 359 MB, free: 10.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 3.586e-06/0.1511, allocations: 0 / 359 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.003039/0.1542, allocations: 0.7665 MB / 359.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1543, allocations: 59.84 kB / 359.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1545, allocations: 170.1 kB / 360 MB, free: 9.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.1546, allocations: 33.7 kB / 360 MB, free: 9.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1548, allocations: 286.9 kB / 360.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.155, allocations: 161.6 kB / 360.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.155, allocations: 12 kB / 360.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1552, allocations: 330.8 kB / 360.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.1558, allocations: 165 kB / 360.9 MB, free: 8.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.1564, allocations: 232.8 kB / 361.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.157, allocations: 192.8 kB / 361.4 MB, free: 7.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.157, allocations: 0 / 361.4 MB, free: 7.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001737/0.1588, allocations: 0.5435 MB / 361.9 MB, free: 7.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1588, allocations: 4 kB / 361.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.1588, allocations: 4 kB / 361.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.1594, allocations: 80.86 kB / 362 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.1602, allocations: 95.89 kB / 362.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.1628, allocations: 1.675 MB / 363.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.1633, allocations: 47.53 kB / 363.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.1634, allocations: 16 kB / 363.8 MB, free: 5.199 MB / 298.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 (52): * Single equations (assignments): 51 * 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.000319/0.1637, allocations: 176.7 kB / 364 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.1638, allocations: 23.72 kB / 364 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.1657, allocations: 0.5628 MB / 364.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.1657, allocations: 11.94 kB / 364.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1658, allocations: 4 kB / 364.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.1658, allocations: 3.984 kB / 364.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.1686, allocations: 1.152 MB / 365.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1687, allocations: 0 / 365.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.1694, allocations: 83.89 kB / 365.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.1699, allocations: 84.8 kB / 365.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.1699, allocations: 12 kB / 365.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.1724, allocations: 1.656 MB / 367.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1725, allocations: 0 / 367.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.1748, allocations: 0.8232 MB / 368.4 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.175, allocations: 112.8 kB / 368.5 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.1751, allocations: 8.062 kB / 368.5 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.1755, allocations: 23.98 kB / 368.5 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.1756, allocations: 32.39 kB / 368.6 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.1757, allocations: 12 kB / 368.6 MB, free: 184 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.1759, allocations: 139.5 kB / 368.7 MB, free: 44 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1759, allocations: 0 / 368.7 MB, free: 44 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007381/0.1766, allocations: 147.6 kB / 368.9 MB, free: 15.89 MB / 314.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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002973/0.177, allocations: 143.1 kB / 369 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.1787, allocations: 0.5816 MB / 369.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.1788, allocations: 4.438 kB / 369.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.1798, allocations: 384.9 kB / 370 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1802, allocations: 30.73 kB / 370 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.1823, allocations: 1.047 MB / 371 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.1828, allocations: 0.8165 MB / 371.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.1831, allocations: 35.44 kB / 371.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1831, allocations: 0 / 371.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of Templates: time 0.01382/0.1969, allocations: 6.15 MB / 378 MB, free: 6.613 MB / 314.7 MB