Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.864e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.0825, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4462, allocations: 102.2 MB / 419.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4465, allocations: 72.66 kB / 419.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6145/1.061, allocations: 127.3 MB / 0.5337 GB, free: 95.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.099e-06/1.061, allocations: 2.906 kB / 0.5337 GB, free: 95.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001133/1.061, allocations: 46.69 kB / 0.5338 GB, free: 95.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004689/1.066, allocations: 2.795 MB / 0.5365 GB, free: 94.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.066, allocations: 10.69 kB / 0.5365 GB, free: 94.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/1.066, allocations: 418.2 kB / 0.5369 GB, free: 94.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/1.071, allocations: 2.435 MB / 0.5393 GB, free: 93.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/1.071, allocations: 42.48 kB / 0.5393 GB, free: 93.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/1.071, allocations: 57.42 kB / 0.5394 GB, free: 93.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/1.073, allocations: 0.7793 MB / 0.5401 GB, free: 93.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.073, allocations: 0 / 0.5401 GB, free: 93.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.073, allocations: 23.34 kB / 0.5402 GB, free: 93.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/1.073, allocations: 18.81 kB / 0.5402 GB, free: 93.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.074, allocations: 0.7091 MB / 0.5409 GB, free: 93.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007216/1.082, allocations: 3.277 MB / 0.5441 GB, free: 92.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/1.083, allocations: 486.9 kB / 0.5445 GB, free: 92.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/1.084, allocations: 0.5867 MB / 0.5451 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03579/1.119, allocations: 36.22 MB / 0.5805 GB, free: 66.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/1.12, allocations: 316.1 kB / 0.5808 GB, free: 66.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 4.167e-06/1.12, allocations: 0 / 0.5808 GB, free: 66.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.001498/1.122, allocations: 0.8228 MB / 0.5816 GB, free: 65.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/1.122, allocations: 266.8 kB / 0.5818 GB, free: 65.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/1.126, allocations: 2.665 MB / 0.5844 GB, free: 65.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.126, allocations: 40.61 kB / 0.5845 GB, free: 65.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.128, allocations: 1.582 MB / 0.586 GB, free: 63.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/1.128, allocations: 164.9 kB / 0.5862 GB, free: 63.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/1.128, allocations: 15.91 kB / 0.5862 GB, free: 63.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/1.128, allocations: 340.6 kB / 0.5865 GB, free: 63.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/1.129, allocations: 186.7 kB / 0.5867 GB, free: 63.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/1.129, allocations: 0.5936 MB / 0.5873 GB, free: 62.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/1.13, allocations: 280.4 kB / 0.5875 GB, free: 62.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-06/1.13, allocations: 6.719 kB / 0.5876 GB, free: 62.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002154/1.132, allocations: 1.109 MB / 0.5886 GB, free: 62.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.132, allocations: 9.781 kB / 0.5886 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/1.132, allocations: 86.78 kB / 0.5887 GB, free: 62.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/1.132, allocations: 18.94 kB / 0.5887 GB, free: 62.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/1.133, allocations: 212.6 kB / 0.589 GB, free: 62.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/1.133, allocations: 29.77 kB / 0.589 GB, free: 62.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.135, allocations: 127.1 kB / 0.5891 GB, free: 62.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.135, allocations: 68.2 kB / 0.5892 GB, free: 62.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002182/1.135, allocations: 172.1 kB / 0.5893 GB, free: 62.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/1.136, allocations: 398.1 kB / 0.5897 GB, free: 61.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/1.14, allocations: 1.156 MB / 0.5908 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.586e-06/1.14, allocations: 7.188 kB / 0.5908 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.14, allocations: 3.844 kB / 0.5909 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/1.14, allocations: 3.953 kB / 0.5909 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/1.144, allocations: 2.194 MB / 0.593 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001079/1.144, allocations: 68.28 kB / 0.5931 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/1.145, allocations: 101.6 kB / 0.5932 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.145, allocations: 3.938 kB / 0.5932 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/1.145, allocations: 41.2 kB / 0.5932 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.753e-06/1.145, allocations: 0 / 0.5932 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.92e-06/1.145, allocations: 0 / 0.5932 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/1.147, allocations: 1.24 MB / 0.5944 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009892/1.148, allocations: 0.5204 MB / 0.5949 GB, free: 59.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004453/1.148, allocations: 14.88 kB / 0.5949 GB, free: 59.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.149, allocations: 38.95 kB / 0.595 GB, free: 59.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.15, allocations: 64.42 kB / 0.595 GB, free: 59.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/1.15, allocations: 43.62 kB / 0.5951 GB, free: 59.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003619/1.153, allocations: 2.027 MB / 0.5971 GB, free: 58.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.86e-07/1.153, allocations: 0 / 0.5971 GB, free: 58.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00207/1.155, allocations: 0.6716 MB / 0.5977 GB, free: 58.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * 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.001338/1.157, allocations: 0.8824 MB / 0.5986 GB, free: 58.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/1.158, allocations: 0.6903 MB / 0.5992 GB, free: 58.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.864e-06/1.158, allocations: 0.5625 kB / 0.5992 GB, free: 58.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006226/1.159, allocations: 397 kB / 0.5996 GB, free: 57.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/1.161, allocations: 0.521 MB / 0.6001 GB, free: 57.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005951/1.167, allocations: 3.294 MB / 0.6034 GB, free: 56.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.168, allocations: 1.775 MB / 0.6051 GB, free: 54.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001755/1.17, allocations: 383 kB / 0.6054 GB, free: 54.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/1.171, allocations: 163.4 kB / 0.6056 GB, free: 54.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.719e-06/1.171, allocations: 0 / 0.6056 GB, free: 54.26 MB / 426.7 MB Notification: Performance of Templates: time 0.07753/1.248, allocations: 34.33 MB / 0.6391 GB, free: 23.74 MB / 426.7 MB