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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.729e-05, allocations: 4 kB / 228.1 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08043, allocations: 38.77 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004417/0.08489, allocations: 2.61 MB / 269.5 MB, free: 13.83 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.08745, allocations: 0.9429 MB / 270.5 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.08776, allocations: 15.94 kB / 270.5 MB, free: 12.87 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.08813, allocations: 83.42 kB / 270.6 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.08835, allocations: 75.75 kB / 270.6 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.09016, allocations: 0.5371 MB / 271.2 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.09065, allocations: 171.6 kB / 271.3 MB, free: 12.01 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.09247, allocations: 0.7302 MB / 272.1 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.09278, allocations: 99.77 kB / 272.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.09306, allocations: 127.6 kB / 272.3 MB, free: 11.03 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.09347, allocations: 103.9 kB / 272.4 MB, free: 10.93 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.09355, allocations: 19.94 kB / 272.4 MB, free: 10.91 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.09362, allocations: 51.83 kB / 272.5 MB, free: 10.86 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.09371, allocations: 28 kB / 272.5 MB, free: 10.83 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006806/0.0944, allocations: 415.1 kB / 272.9 MB, free: 10.42 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.09442, allocations: 0 / 272.9 MB, free: 10.42 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.09443, allocations: 0 / 272.9 MB, free: 10.42 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.09446, allocations: 4 kB / 272.9 MB, free: 10.42 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.002828/0.09729, allocations: 0.7569 MB / 273.7 MB, free: 9.609 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.09736, allocations: 8.031 kB / 273.7 MB, free: 9.602 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/0.09779, allocations: 55.59 kB / 273.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.09824, allocations: 274.4 kB / 274 MB, free: 9.238 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.0983, allocations: 33 kB / 274 MB, free: 9.207 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.09841, allocations: 36 kB / 274.1 MB, free: 9.172 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.0995, allocations: 358.5 kB / 274.4 MB, free: 8.816 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.09955, allocations: 0 / 274.4 MB, free: 8.816 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.09962, allocations: 16 kB / 274.4 MB, free: 8.801 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.09964, allocations: 12 kB / 274.4 MB, free: 8.789 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1007, allocations: 295.8 kB / 274.7 MB, free: 8.5 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.1037, allocations: 1.345 MB / 276.1 MB, free: 7.07 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.1044, allocations: 170.7 kB / 276.2 MB, free: 6.895 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.1045, allocations: 7.984 kB / 276.2 MB, free: 6.887 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.1046, allocations: 46.45 kB / 276.3 MB, free: 6.832 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 3.386e-06/0.1046, allocations: 0 / 276.3 MB, free: 6.832 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.002156/0.1067, allocations: 459.5 kB / 276.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1068, allocations: 63.23 kB / 276.8 MB, free: 6.281 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1071, allocations: 154.4 kB / 277 MB, free: 6.121 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1071, allocations: 25.7 kB / 277 MB, free: 6.09 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1073, allocations: 211.6 kB / 277.2 MB, free: 5.879 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.1074, allocations: 55.2 kB / 277.2 MB, free: 5.824 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.1074, allocations: 4 kB / 277.2 MB, free: 5.82 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1076, allocations: 322.8 kB / 277.6 MB, free: 5.496 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.1079, allocations: 79.95 kB / 277.6 MB, free: 5.418 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.1083, allocations: 130.8 kB / 277.8 MB, free: 5.266 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.1087, allocations: 90.05 kB / 277.9 MB, free: 5.18 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1087, allocations: 0 / 277.9 MB, free: 5.18 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001168/0.1099, allocations: 334.1 kB / 278.2 MB, free: 4.844 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.11, allocations: 8 kB / 278.2 MB, free: 4.836 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.11, allocations: 0 / 278.2 MB, free: 4.836 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.1105, allocations: 76.8 kB / 278.3 MB, free: 4.758 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.1109, allocations: 39.97 kB / 278.3 MB, free: 4.719 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.1136, allocations: 1.667 MB / 280 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.1139, allocations: 23.83 kB / 280 MB, free: 2.895 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.114, allocations: 19.95 kB / 280 MB, free: 2.875 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.0002443/0.1142, allocations: 141.8 kB / 280.1 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.1143, allocations: 15.81 kB / 280.2 MB, free: 2.711 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.1154, allocations: 276.1 kB / 280.4 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1155, allocations: 0 / 280.4 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1155, allocations: 4 kB / 280.4 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1155, allocations: 0 / 280.4 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.1161, allocations: 365.3 kB / 280.8 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1161, allocations: 0 / 280.8 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.1164, allocations: 19.98 kB / 280.8 MB, free: 2.004 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.1169, allocations: 80.8 kB / 280.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1169, allocations: 0 / 280.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.1195, allocations: 1.66 MB / 282.6 MB, free: 128 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1195, allocations: 3.984 kB / 282.6 MB, free: 124 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1209, allocations: 448.6 kB / 283 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.121, allocations: 88.98 kB / 283.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.1211, allocations: 11.94 kB / 283.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.1214, allocations: 15.94 kB / 283.1 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.1215, allocations: 20.03 kB / 283.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1215, allocations: 4 kB / 283.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1217, allocations: 128.9 kB / 283.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1217, allocations: 0 / 283.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005721/0.1223, allocations: 95.59 kB / 283.4 MB, free: 15.29 MB / 250.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.0002336/0.1225, allocations: 123.3 kB / 283.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.1238, allocations: 362.3 kB / 283.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1238, allocations: 0 / 283.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.1245, allocations: 243 kB / 284.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1248, allocations: 16 kB / 284.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1265, allocations: 0.7132 MB / 284.8 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.127, allocations: 0.7755 MB / 285.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.1272, allocations: 9.562 kB / 285.6 MB, free: 12.97 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.1273, allocations: 15.44 kB / 285.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of SimCode: time 3.467e-06/0.1273, allocations: 0 / 285.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of Templates: time 0.009829/0.1371, allocations: 2.459 MB / 288.1 MB, free: 10.5 MB / 250.7 MB