Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,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.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.839e-05, allocations: 4 kB / 269.4 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08273, allocations: 47.56 MB / 316.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.4887, allocations: 102.2 MB / 419.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.489, allocations: 79.45 kB / 419.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6034/1.092, allocations: 125.5 MB / 0.5319 GB, free: 95.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.512e-06/1.092, allocations: 0 / 0.5319 GB, free: 95.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001063/1.093, allocations: 46.94 kB / 0.5319 GB, free: 95.31 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.004353/1.097, allocations: 2.708 MB / 0.5346 GB, free: 93.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.097, allocations: 7.719 kB / 0.5346 GB, free: 93.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/1.097, allocations: 402.1 kB / 0.535 GB, free: 93.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/1.102, allocations: 2.367 MB / 0.5373 GB, free: 93.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/1.102, allocations: 42.47 kB / 0.5373 GB, free: 93.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/1.102, allocations: 57.16 kB / 0.5374 GB, free: 93.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/1.104, allocations: 0.7882 MB / 0.5381 GB, free: 92.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.104, allocations: 0 / 0.5381 GB, free: 92.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.104, allocations: 19.28 kB / 0.5382 GB, free: 92.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/1.104, allocations: 18.61 kB / 0.5382 GB, free: 92.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.105, allocations: 0.7056 MB / 0.5389 GB, free: 92.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006822/1.112, allocations: 3.19 MB / 0.542 GB, free: 92.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/1.113, allocations: 484.8 kB / 0.5424 GB, free: 92.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009568/1.114, allocations: 0.591 MB / 0.543 GB, free: 92.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03613/1.15, allocations: 36.17 MB / 0.5784 GB, free: 65.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/1.151, allocations: 315.1 kB / 0.5787 GB, free: 65.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 3.864e-06/1.151, allocations: 1.781 kB / 0.5787 GB, free: 65.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.001557/1.152, allocations: 0.8067 MB / 0.5794 GB, free: 65.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/1.152, allocations: 271 kB / 0.5797 GB, free: 65.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/1.157, allocations: 2.513 MB / 0.5822 GB, free: 65.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.157, allocations: 37.61 kB / 0.5822 GB, free: 64.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.158, allocations: 1.506 MB / 0.5837 GB, free: 64.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.158, allocations: 161 kB / 0.5838 GB, free: 64.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/1.158, allocations: 19.94 kB / 0.5838 GB, free: 64.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/1.158, allocations: 343 kB / 0.5842 GB, free: 63.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/1.159, allocations: 187.8 kB / 0.5843 GB, free: 63.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/1.16, allocations: 0.5961 MB / 0.5849 GB, free: 63.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/1.16, allocations: 279.1 kB / 0.5852 GB, free: 63.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.445e-06/1.16, allocations: 2.125 kB / 0.5852 GB, free: 63.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002116/1.162, allocations: 1.099 MB / 0.5863 GB, free: 62.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.162, allocations: 9.969 kB / 0.5863 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/1.162, allocations: 83.44 kB / 0.5864 GB, free: 62.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/1.162, allocations: 19.5 kB / 0.5864 GB, free: 62.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/1.163, allocations: 209.9 kB / 0.5866 GB, free: 62.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.682e-05/1.164, allocations: 29.28 kB / 0.5866 GB, free: 62.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.165, allocations: 128.3 kB / 0.5867 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.165, allocations: 59.34 kB / 0.5868 GB, free: 62.56 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.0002135/1.166, allocations: 166.9 kB / 0.5869 GB, free: 62.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003942/1.166, allocations: 391.4 kB / 0.5873 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/1.17, allocations: 1.144 MB / 0.5884 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.17, allocations: 6.344 kB / 0.5884 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.679e-06/1.17, allocations: 0 / 0.5884 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.631e-06/1.17, allocations: 3.953 kB / 0.5884 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/1.174, allocations: 2.109 MB / 0.5905 GB, free: 60.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001093/1.174, allocations: 71.59 kB / 0.5906 GB, free: 60.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/1.175, allocations: 109.4 kB / 0.5907 GB, free: 60.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.767e-06/1.175, allocations: 3.062 kB / 0.5907 GB, free: 60.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/1.175, allocations: 33.02 kB / 0.5907 GB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.501e-06/1.175, allocations: 2.625 kB / 0.5907 GB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.269e-06/1.175, allocations: 3.281 kB / 0.5907 GB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/1.177, allocations: 1.223 MB / 0.5919 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.178, allocations: 0.5529 MB / 0.5924 GB, free: 59.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/1.178, allocations: 11.69 kB / 0.5925 GB, free: 59.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.18, allocations: 49.97 kB / 0.5925 GB, free: 59.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.18, allocations: 56 kB / 0.5926 GB, free: 59.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-05/1.18, allocations: 39.33 kB / 0.5926 GB, free: 59.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003389/1.183, allocations: 1.919 MB / 0.5945 GB, free: 59.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.738e-06/1.183, allocations: 0 / 0.5945 GB, free: 59.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001965/1.185, allocations: 0.6556 MB / 0.5951 GB, free: 59 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.001274/1.187, allocations: 0.8456 MB / 0.5959 GB, free: 58.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/1.188, allocations: 0.6988 MB / 0.5966 GB, free: 58.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.913e-06/1.188, allocations: 0 / 0.5966 GB, free: 58.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/1.188, allocations: 395 kB / 0.597 GB, free: 58.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.19, allocations: 0.4955 MB / 0.5975 GB, free: 58.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/1.196, allocations: 3.139 MB / 0.6005 GB, free: 56.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.197, allocations: 1.728 MB / 0.6022 GB, free: 55.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001801/1.199, allocations: 390.6 kB / 0.6026 GB, free: 55.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/1.2, allocations: 158.8 kB / 0.6028 GB, free: 55.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.662e-06/1.2, allocations: 0 / 0.6028 GB, free: 55.88 MB / 426.7 MB Notification: Performance of Templates: time 0.07453/1.274, allocations: 32.54 MB / 0.6345 GB, free: 28 MB / 426.7 MB