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.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.958e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2461, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.3631, allocations: 76.27 MB / 370.4 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3634, allocations: 79.94 kB / 370.5 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05632/0.4197, allocations: 15.82 MB / 386.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.4198, allocations: 0 / 386.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.4198, allocations: 8 kB / 386.3 MB, free: 5.637 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002145/0.422, allocations: 0.7599 MB / 387.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.422, allocations: 8.031 kB / 387.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/0.4259, allocations: 434.9 kB / 387.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006395/0.4266, allocations: 318.4 kB / 387.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.4267, allocations: 20 kB / 387.8 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.4268, allocations: 36 kB / 387.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/0.4282, allocations: 0.5805 MB / 388.4 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.4293, allocations: 435.9 kB / 388.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.4294, allocations: 7.906 kB / 388.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.4294, allocations: 0 / 388.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.4295, allocations: 12 kB / 388.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.434, allocations: 1.986 MB / 390.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.4373, allocations: 2.961 MB / 393.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.4379, allocations: 232.9 kB / 394.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.438, allocations: 89.55 kB / 394.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4381, allocations: 35 kB / 394.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.231e-06/0.4381, allocations: 4 kB / 394.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001637/0.4397, allocations: 480.3 kB / 394.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4398, allocations: 55.84 kB / 394.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.44, allocations: 161.5 kB / 394.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.4401, allocations: 25.7 kB / 394.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.4403, allocations: 310.4 kB / 395.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.4405, allocations: 165.6 kB / 395.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.4405, allocations: 0 / 395.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4407, allocations: 334.8 kB / 395.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.441, allocations: 133.1 kB / 395.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.4415, allocations: 251.2 kB / 396 MB, free: 10.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.4424, allocations: 260.5 kB / 396.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.4425, allocations: 0 / 396.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001814/0.4443, allocations: 0.5901 MB / 396.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4443, allocations: 8 kB / 396.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4444, allocations: 4 kB / 396.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004155/0.4448, allocations: 77.09 kB / 397 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.4454, allocations: 115.8 kB / 397.1 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.4476, allocations: 1.576 MB / 398.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.4481, allocations: 51.41 kB / 398.7 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.4482, allocations: 24 kB / 398.7 MB, free: 8.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.000166/0.4483, allocations: 116.7 kB / 398.9 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.4484, allocations: 31.67 kB / 398.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.4502, allocations: 0.5473 MB / 399.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.981e-06/0.4502, allocations: 4 kB / 399.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.757e-06/0.4502, allocations: 0 / 399.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4502, allocations: 3.984 kB / 399.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.453, allocations: 1.116 MB / 400.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.748e-06/0.453, allocations: 0 / 400.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.4535, allocations: 87.83 kB / 400.6 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/0.4539, allocations: 81.09 kB / 400.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.4539, allocations: 4 kB / 400.7 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.4561, allocations: 1.553 MB / 402.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.4561, allocations: 4.031 kB / 402.3 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.4583, allocations: 0.8251 MB / 403.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.4584, allocations: 116.7 kB / 403.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.4585, allocations: 0 / 403.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.4589, allocations: 12.06 kB / 403.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.459, allocations: 40.38 kB / 403.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.4591, allocations: 16 kB / 403.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.4592, allocations: 120.3 kB / 403.4 MB, free: 3.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.381e-06/0.4592, allocations: 0 / 403.4 MB, free: 3.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007563/0.46, allocations: 151.5 kB / 403.6 MB, free: 3.105 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (46): * Single equations (assignments): 45 * 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.0002821/0.4603, allocations: 143.1 kB / 403.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.4615, allocations: 0.5211 MB / 404.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.554e-06/0.4615, allocations: 0 / 404.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.4622, allocations: 339.2 kB / 404.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.4625, allocations: 19.94 kB / 404.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.4663, allocations: 1.032 MB / 405.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.4669, allocations: 0.8248 MB / 406.4 MB, free: 140 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4671, allocations: 35.42 kB / 406.5 MB, free: 104 kB / 346.7 MB Notification: Performance of SimCode: time 3.443e-06/0.4672, allocations: 3.938 kB / 406.5 MB, free: 100 kB / 346.7 MB Notification: Performance of Templates: time 0.01195/0.4791, allocations: 6.33 MB / 412.8 MB, free: 9.766 MB / 362.7 MB