Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.646/1.646, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.084e-05, allocations: 10.17 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 38.76 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00688/0.1176, allocations: 2.61 MB / 269.5 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.1212, allocations: 0.9391 MB / 270.5 MB, free: 12.9 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.1216, allocations: 15.94 kB / 270.5 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.1221, allocations: 87.42 kB / 270.6 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.1225, allocations: 75.73 kB / 270.6 MB, free: 12.72 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.1251, allocations: 0.5218 MB / 271.2 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006595/0.1258, allocations: 175.6 kB / 271.3 MB, free: 12.03 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.1283, allocations: 0.6596 MB / 272 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.1288, allocations: 111.8 kB / 272.1 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.1292, allocations: 131.6 kB / 272.2 MB, free: 11.1 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.1298, allocations: 103.8 kB / 272.3 MB, free: 11 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.13, allocations: 16 kB / 272.3 MB, free: 10.98 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/0.1301, allocations: 51.81 kB / 272.4 MB, free: 10.93 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1302, allocations: 24 kB / 272.4 MB, free: 10.91 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1313, allocations: 411.1 kB / 272.8 MB, free: 10.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1313, allocations: 0 / 272.8 MB, free: 10.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1313, allocations: 0 / 272.8 MB, free: 10.51 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.1314, allocations: 0 / 272.8 MB, free: 10.51 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.004416/0.1358, allocations: 0.7492 MB / 273.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.1359, allocations: 15.97 kB / 273.6 MB, free: 9.695 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.1366, allocations: 55.59 kB / 273.6 MB, free: 9.641 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.1372, allocations: 266.5 kB / 273.9 MB, free: 9.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.1373, allocations: 32.94 kB / 273.9 MB, free: 9.305 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.1375, allocations: 44 kB / 274 MB, free: 9.262 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.139, allocations: 346.5 kB / 274.3 MB, free: 8.918 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.1391, allocations: 0 / 274.3 MB, free: 8.918 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.1392, allocations: 19.98 kB / 274.3 MB, free: 8.898 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.1392, allocations: 8 kB / 274.3 MB, free: 8.891 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.1407, allocations: 287.8 kB / 274.6 MB, free: 8.613 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.1451, allocations: 1.335 MB / 276 MB, free: 7.18 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.1463, allocations: 190.7 kB / 276.1 MB, free: 6.984 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.1464, allocations: 7.938 kB / 276.2 MB, free: 6.977 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.1465, allocations: 34.52 kB / 276.2 MB, free: 6.934 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 3.917e-06/0.1465, allocations: 0 / 276.2 MB, free: 6.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.003496/0.15, allocations: 499.3 kB / 276.7 MB, free: 6.418 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.1501, allocations: 59.34 kB / 276.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1504, allocations: 150.5 kB / 276.9 MB, free: 6.191 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.1505, allocations: 33.7 kB / 276.9 MB, free: 6.152 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.1507, allocations: 207.6 kB / 277.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.1509, allocations: 51.27 kB / 277.2 MB, free: 5.895 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.1509, allocations: 7.938 kB / 277.2 MB, free: 5.887 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1511, allocations: 330.8 kB / 277.5 MB, free: 5.555 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.1516, allocations: 67.97 kB / 277.6 MB, free: 5.488 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.1521, allocations: 126.8 kB / 277.7 MB, free: 5.34 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.1526, allocations: 82.03 kB / 277.8 MB, free: 5.262 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1526, allocations: 4 kB / 277.8 MB, free: 5.258 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001655/0.1543, allocations: 318.1 kB / 278.1 MB, free: 4.938 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.1543, allocations: 4 kB / 278.1 MB, free: 4.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1544, allocations: 4 kB / 278.1 MB, free: 4.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007533/0.1552, allocations: 92.69 kB / 278.2 MB, free: 4.836 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.1556, allocations: 39.98 kB / 278.2 MB, free: 4.797 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.1599, allocations: 1.874 MB / 280.1 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.1604, allocations: 27.83 kB / 280.1 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.1604, allocations: 8 kB / 280.1 MB, free: 2.75 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 (17): * Single equations (assignments): 16 * 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.0003617/0.1608, allocations: 153.8 kB / 280.3 MB, free: 2.59 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.1609, allocations: 19.77 kB / 280.3 MB, free: 2.57 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.1625, allocations: 264.7 kB / 280.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1625, allocations: 0 / 280.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.1625, allocations: 4 kB / 280.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1626, allocations: 0 / 280.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.1634, allocations: 337.3 kB / 280.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1634, allocations: 0 / 280.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.1637, allocations: 19.98 kB / 280.9 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/0.1644, allocations: 96.69 kB / 281 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.1645, allocations: 4 kB / 281 MB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006356/0.1709, allocations: 1.859 MB / 282.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.1709, allocations: 3.984 kB / 282.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.1728, allocations: 444.1 kB / 283.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1729, allocations: 88.95 kB / 283.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.173, allocations: 0 / 283.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.1734, allocations: 19.98 kB / 283.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.1735, allocations: 12.05 kB / 283.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.1735, allocations: 8 kB / 283.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1738, allocations: 132.9 kB / 283.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1738, allocations: 0 / 283.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00109/0.1749, allocations: 99.53 kB / 283.7 MB, free: 14.97 MB / 250.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 (7): * Single equations (assignments): 6 * 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.0002619/0.1752, allocations: 115.2 kB / 283.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.1766, allocations: 342.4 kB / 284.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1766, allocations: 0 / 284.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01065/0.1873, allocations: 247 kB / 284.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1878, allocations: 23.94 kB / 284.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.1922, allocations: 0.7053 MB / 285.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.1928, allocations: 0.7755 MB / 285.8 MB, free: 12.7 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.1929, allocations: 9.562 kB / 285.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.193, allocations: 19.36 kB / 285.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.193, allocations: 0 / 285.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of Templates: time 0.01598/0.209, allocations: 2.408 MB / 288.3 MB, free: 10.26 MB / 250.7 MB