Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.045e-05, allocations: 3.938 kB / 292.1 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09574, allocations: 50.42 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4498, allocations: 79.52 MB / 422.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4501, allocations: 74.33 kB / 422.2 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02055/0.4706, allocations: 5.095 MB / 427.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.168e-06/0.4707, allocations: 0 / 427.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.4707, allocations: 4 kB / 427.3 MB, free: 10.28 MB / 346.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.001018/0.4718, allocations: 0.5423 MB / 427.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4718, allocations: 8.031 kB / 427.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.4719, allocations: 39.53 kB / 427.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.4724, allocations: 254.8 kB / 428.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.4724, allocations: 26.61 kB / 428.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.4725, allocations: 33.5 kB / 428.2 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.4731, allocations: 253 kB / 428.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4731, allocations: 0 / 428.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.4732, allocations: 16.88 kB / 428.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.4732, allocations: 8 kB / 428.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.4737, allocations: 175.7 kB / 428.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.4761, allocations: 1.068 MB / 429.7 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.4765, allocations: 147 kB / 429.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.4768, allocations: 123.3 kB / 429.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.4768, allocations: 3.438 kB / 429.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4769, allocations: 34.56 kB / 430 MB, free: 7.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.016e-06/0.4769, allocations: 0 / 430 MB, free: 7.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.000411/0.4773, allocations: 140.6 kB / 430.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4774, allocations: 55.41 kB / 430.2 MB, free: 7.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.4777, allocations: 186.4 kB / 430.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4777, allocations: 41.02 kB / 430.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4779, allocations: 194.5 kB / 430.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.478, allocations: 72.98 kB / 430.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.478, allocations: 11.19 kB / 430.7 MB, free: 7.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4782, allocations: 329.4 kB / 431 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4784, allocations: 53.44 kB / 431 MB, free: 6.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.4786, allocations: 130.6 kB / 431.2 MB, free: 6.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.4788, allocations: 77.36 kB / 431.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.912e-06/0.4788, allocations: 0 / 431.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005426/0.4793, allocations: 234.3 kB / 431.5 MB, free: 6.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4794, allocations: 7.938 kB / 431.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4794, allocations: 7.953 kB / 431.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4794, allocations: 7.984 kB / 431.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.4799, allocations: 72.16 kB / 431.6 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.48, allocations: 4 kB / 431.6 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.4802, allocations: 38.45 kB / 431.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4803, allocations: 8 kB / 431.6 MB, free: 6.383 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0001239/0.4804, allocations: 121 kB / 431.7 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.4805, allocations: 19.72 kB / 431.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.4809, allocations: 183.9 kB / 431.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4809, allocations: 7.953 kB / 431.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.481, allocations: 0 / 431.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.995e-06/0.481, allocations: 0 / 431.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.482, allocations: 0.5712 MB / 432.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.075e-06/0.482, allocations: 0 / 432.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.4825, allocations: 64.02 kB / 432.6 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.678e-06/0.4825, allocations: 4 kB / 432.6 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.4826, allocations: 11.27 kB / 432.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.006e-06/0.4826, allocations: 0 / 432.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-06/0.4826, allocations: 0 / 432.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.4832, allocations: 365.7 kB / 432.9 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4833, allocations: 103.9 kB / 433 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.4834, allocations: 3.5 kB / 433 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.4836, allocations: 23.61 kB / 433.1 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.4837, allocations: 11.97 kB / 433.1 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4838, allocations: 11 kB / 433.1 MB, free: 4.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001984/0.484, allocations: 150.5 kB / 433.2 MB, free: 4.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.484, allocations: 0 / 433.2 MB, free: 4.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005612/0.4846, allocations: 89.11 kB / 433.3 MB, free: 4.789 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001871/0.4848, allocations: 113.4 kB / 433.4 MB, free: 4.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.4852, allocations: 149.9 kB / 433.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.533e-06/0.4852, allocations: 0.5 kB / 433.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.4853, allocations: 68.88 kB / 433.6 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.4857, allocations: 31.47 kB / 433.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4873, allocations: 0.6851 MB / 434.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.4878, allocations: 0.7756 MB / 435.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.488, allocations: 22.06 kB / 435.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.4881, allocations: 19.44 kB / 435.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of SimCode: time 1.609e-06/0.4881, allocations: 0 / 435.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of Templates: time 0.007296/0.4954, allocations: 1.833 MB / 437 MB, free: 1.164 MB / 346.7 MB