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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.873e-05, allocations: 4 kB / 292.7 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 50.43 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.4716, allocations: 79.52 MB / 422.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4719, allocations: 74.33 kB / 422.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02074/0.4927, allocations: 5.091 MB / 427.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.201e-06/0.4927, allocations: 0 / 427.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.718e-05/0.4928, allocations: 8 kB / 427.8 MB, free: 10.31 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.001012/0.4938, allocations: 0.5388 MB / 428.3 MB, free: 9.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4939, allocations: 16.03 kB / 428.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.494, allocations: 35.53 kB / 428.4 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.4944, allocations: 251.1 kB / 428.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.4945, allocations: 27.05 kB / 428.6 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.4946, allocations: 30.5 kB / 428.7 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.4952, allocations: 255.6 kB / 428.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4952, allocations: 4 kB / 428.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.4953, allocations: 12.67 kB / 428.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.4953, allocations: 8 kB / 428.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.4958, allocations: 182 kB / 429.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.4981, allocations: 1.065 MB / 430.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.4985, allocations: 145.5 kB / 430.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.4988, allocations: 119.7 kB / 430.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.4989, allocations: 4 kB / 430.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4989, allocations: 34.31 kB / 430.5 MB, free: 7.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.656e-06/0.4989, allocations: 0 / 430.5 MB, free: 7.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004365/0.4994, allocations: 146.6 kB / 430.6 MB, free: 7.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4995, allocations: 55.41 kB / 430.7 MB, free: 7.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.4998, allocations: 196.2 kB / 430.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4998, allocations: 29.2 kB / 430.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.5, allocations: 188.8 kB / 431.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.5001, allocations: 69.31 kB / 431.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.5001, allocations: 10.69 kB / 431.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5003, allocations: 329.1 kB / 431.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.5005, allocations: 55.5 kB / 431.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.5007, allocations: 128.9 kB / 431.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.5009, allocations: 79.09 kB / 431.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.195e-06/0.5009, allocations: 0 / 431.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005545/0.5015, allocations: 231.3 kB / 432 MB, free: 6.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5015, allocations: 19.98 kB / 432 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.5016, allocations: 7.938 kB / 432 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.5016, allocations: 4 kB / 432 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.502, allocations: 74.53 kB / 432.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.5021, allocations: 4 kB / 432.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.5023, allocations: 34.14 kB / 432.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.5024, allocations: 8 kB / 432.1 MB, free: 6.418 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.0001244/0.5025, allocations: 120.1 kB / 432.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.5026, allocations: 23.72 kB / 432.3 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.503, allocations: 179.2 kB / 432.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5031, allocations: 7.953 kB / 432.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.054e-06/0.5031, allocations: 0 / 432.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.553e-06/0.5031, allocations: 3.984 kB / 432.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5042, allocations: 0.5738 MB / 433 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-06/0.5042, allocations: 0 / 433 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.5046, allocations: 62.89 kB / 433.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.75e-06/0.5047, allocations: 0 / 433.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.5047, allocations: 11.77 kB / 433.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.5047, allocations: 3.938 kB / 433.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.509e-06/0.5047, allocations: 4 kB / 433.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.5053, allocations: 357.9 kB / 433.5 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5055, allocations: 95.7 kB / 433.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.5055, allocations: 7.5 kB / 433.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.5058, allocations: 23.92 kB / 433.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.5059, allocations: 15.97 kB / 433.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5059, allocations: 4 kB / 433.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.5061, allocations: 153.7 kB / 433.7 MB, free: 4.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.5062, allocations: 3.938 kB / 433.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.5067, allocations: 86.73 kB / 433.8 MB, free: 4.824 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.0001993/0.5069, allocations: 110.9 kB / 433.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004005/0.5073, allocations: 151.8 kB / 434.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.5073, allocations: 4 kB / 434.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5075, allocations: 65.56 kB / 434.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5079, allocations: 27.84 kB / 434.2 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.5095, allocations: 0.7027 MB / 434.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.5101, allocations: 0.7717 MB / 435.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.5102, allocations: 22.06 kB / 435.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.5103, allocations: 19.44 kB / 435.7 MB, free: 3 MB / 346.7 MB Notification: Performance of SimCode: time 1.88e-06/0.5103, allocations: 0 / 435.7 MB, free: 3 MB / 346.7 MB Notification: Performance of Templates: time 0.007578/0.5179, allocations: 1.823 MB / 437.5 MB, free: 1.195 MB / 346.7 MB