Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.975e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00496/0.1165, allocations: 2.921 MB / 347.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.1195, allocations: 1.208 MB / 349.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.1198, allocations: 12 kB / 349.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1202, allocations: 107.3 kB / 349.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.1216, allocations: 414.6 kB / 349.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1227, allocations: 335 kB / 350 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.1233, allocations: 239.4 kB / 350.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.125, allocations: 0.5861 MB / 350.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.1255, allocations: 143.7 kB / 350.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.1259, allocations: 191.4 kB / 351.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006344/0.1265, allocations: 151.8 kB / 351.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1266, allocations: 20 kB / 351.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.1267, allocations: 75.69 kB / 351.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1269, allocations: 32 kB / 351.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000922/0.1278, allocations: 0.5027 MB / 351.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1278, allocations: 0 / 351.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1278, allocations: 0 / 351.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.1278, allocations: 0 / 351.9 MB, free: 2.008 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.002927/0.1308, allocations: 0.8117 MB / 352.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1308, allocations: 8.031 kB / 352.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/0.1362, allocations: 498.9 kB / 353.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.1369, allocations: 302.4 kB / 353.5 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.137, allocations: 41.31 kB / 353.5 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.1372, allocations: 48 kB / 353.6 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.1388, allocations: 0.5141 MB / 354.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.1389, allocations: 0 / 354.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.139, allocations: 27.95 kB / 354.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.139, allocations: 12 kB / 354.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.1409, allocations: 0.5751 MB / 354.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.1456, allocations: 1.869 MB / 356.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.149, allocations: 2.199 MB / 358.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.1493, allocations: 101.5 kB / 358.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1493, allocations: 35 kB / 358.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.1493, allocations: 0 / 358.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.003363/0.1527, allocations: 0.8016 MB / 359.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.1528, allocations: 59.8 kB / 359.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.1531, allocations: 174.1 kB / 359.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.1531, allocations: 33.7 kB / 360 MB, free: 9.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1533, allocations: 282.8 kB / 360.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.1535, allocations: 157.7 kB / 360.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1536, allocations: 8 kB / 360.4 MB, free: 8.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1537, allocations: 334.8 kB / 360.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.1543, allocations: 149.1 kB / 360.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.1549, allocations: 236.8 kB / 361.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.1555, allocations: 180.7 kB / 361.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.1555, allocations: 4 kB / 361.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00181/0.1574, allocations: 0.528 MB / 361.8 MB, free: 7.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.1574, allocations: 7.984 kB / 361.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1575, allocations: 4 kB / 361.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/0.158, allocations: 88.69 kB / 361.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/0.1588, allocations: 95.89 kB / 362 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.1619, allocations: 1.866 MB / 363.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.1625, allocations: 51.52 kB / 363.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.1625, allocations: 16.08 kB / 363.9 MB, free: 5.082 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 (50): * Single equations (assignments): 49 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.1628, allocations: 168.9 kB / 364.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.1629, allocations: 23.72 kB / 364.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.1648, allocations: 0.5589 MB / 364.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.1648, allocations: 11.95 kB / 364.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1648, allocations: 0 / 364.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1649, allocations: 3.984 kB / 364.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.1677, allocations: 1.141 MB / 365.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.1678, allocations: 4 kB / 365.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006466/0.1684, allocations: 71.91 kB / 365.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.1689, allocations: 88.8 kB / 366 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.169, allocations: 12.19 kB / 366 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.172, allocations: 1.874 MB / 367.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.172, allocations: 4.062 kB / 367.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.1744, allocations: 0.7999 MB / 368.7 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.1746, allocations: 112.6 kB / 368.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.1747, allocations: 12 kB / 368.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.1751, allocations: 19.98 kB / 368.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1753, allocations: 40.45 kB / 368.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.1753, allocations: 8 kB / 368.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1755, allocations: 143.4 kB / 369 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1756, allocations: 0 / 369 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008709/0.1764, allocations: 147.5 kB / 369.2 MB, free: 15.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003422/0.1768, allocations: 143.1 kB / 369.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.1786, allocations: 0.5699 MB / 369.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1787, allocations: 0 / 369.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.1797, allocations: 393.3 kB / 370.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1801, allocations: 23.98 kB / 370.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.1823, allocations: 1.02 MB / 371.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.1829, allocations: 0.8205 MB / 372.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.1831, allocations: 39.42 kB / 372.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1831, allocations: 3.938 kB / 372.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of Templates: time 0.0143/0.1974, allocations: 6.052 MB / 378.2 MB, free: 6.445 MB / 314.7 MB