Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.268e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 50.41 MB / 345 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003778/0.1209, allocations: 2.29 MB / 347.3 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1224, allocations: 0.5807 MB / 347.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1226, allocations: 12 kB / 347.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.356e-05/0.1227, allocations: 43.67 kB / 347.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.123, allocations: 91.72 kB / 348 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1233, allocations: 71.84 kB / 348.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1236, allocations: 199.9 kB / 348.2 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.1239, allocations: 96 kB / 348.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.1242, allocations: 95.77 kB / 348.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1244, allocations: 119.5 kB / 348.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.41e-05/0.1245, allocations: 12 kB / 348.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1245, allocations: 12 kB / 348.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.1246, allocations: 51.77 kB / 348.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.1247, allocations: 28 kB / 348.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.1251, allocations: 283.4 kB / 348.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1251, allocations: 0 / 348.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1251, allocations: 3.938 kB / 348.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1251, allocations: 0 / 348.9 MB, free: 4.977 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001157/0.1263, allocations: 0.5537 MB / 349.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1264, allocations: 8.031 kB / 349.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.1265, allocations: 35.58 kB / 349.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1269, allocations: 258.5 kB / 349.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.1269, allocations: 20.66 kB / 349.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.127, allocations: 32 kB / 349.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.1278, allocations: 286.1 kB / 350.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1279, allocations: 0 / 350.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.1279, allocations: 12 kB / 350.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1279, allocations: 11.98 kB / 350.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.1287, allocations: 230.4 kB / 350.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1311, allocations: 1.034 MB / 351.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.1316, allocations: 162.5 kB / 351.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1317, allocations: 4 kB / 351.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1317, allocations: 38.56 kB / 351.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.645e-06/0.1317, allocations: 0 / 351.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009452/0.1327, allocations: 252.2 kB / 351.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.1327, allocations: 55.41 kB / 351.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.133, allocations: 194.2 kB / 352.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1331, allocations: 29.7 kB / 352.1 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1332, allocations: 254.4 kB / 352.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.1333, allocations: 74.92 kB / 352.4 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.1334, allocations: 4 kB / 352.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1335, allocations: 334.8 kB / 352.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.1338, allocations: 72.52 kB / 352.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1342, allocations: 144.8 kB / 353 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1345, allocations: 99.84 kB / 353.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1345, allocations: 0 / 353.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008019/0.1353, allocations: 265.2 kB / 353.3 MB, free: 316 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1354, allocations: 8.125 kB / 353.3 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1354, allocations: 8 kB / 353.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.1354, allocations: 4 kB / 353.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.136, allocations: 75.89 kB / 353.4 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.136, allocations: 4 kB / 353.4 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.1363, allocations: 27.75 kB / 353.5 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.1364, allocations: 11.98 kB / 353.5 MB, free: 176 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.1366, allocations: 157.7 kB / 353.6 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.1367, allocations: 23.77 kB / 353.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.1374, allocations: 210.9 kB / 353.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1374, allocations: 4 kB / 353.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1375, allocations: 4 kB / 353.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1375, allocations: 0 / 353.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.138, allocations: 337.3 kB / 354.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.138, allocations: 0 / 354.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.1386, allocations: 59.95 kB / 354.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1386, allocations: 0 / 354.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.1387, allocations: 4 kB / 354.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.1387, allocations: 4 kB / 354.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1387, allocations: 0 / 354.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009767/0.1397, allocations: 398.2 kB / 354.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.1398, allocations: 96.98 kB / 354.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.1398, allocations: 4 kB / 354.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.1402, allocations: 19.98 kB / 354.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.1402, allocations: 7.984 kB / 354.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.1403, allocations: 20.05 kB / 354.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.1405, allocations: 144.7 kB / 354.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1405, allocations: 0 / 354.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.141, allocations: 83.69 kB / 355 MB, free: 14.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.1411, allocations: 111.2 kB / 355.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007192/0.1419, allocations: 188.2 kB / 355.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1419, allocations: 0 / 355.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.1422, allocations: 87.91 kB / 355.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1426, allocations: 28.55 kB / 355.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1447, allocations: 1.061 MB / 356.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1452, allocations: 0.7755 MB / 357.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.1453, allocations: 27.44 kB / 357.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1453, allocations: 0 / 357.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Templates: time 0.007137/0.1524, allocations: 2.889 MB / 360.2 MB, free: 9.309 MB / 298.7 MB