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.2_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.103e-05, allocations: 0 / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.0832, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.4655, allocations: 97.78 MB / 397.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4658, allocations: 73.72 kB / 397.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6887/1.155, allocations: 125.3 MB / 0.5108 GB, free: 68.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.494e-06/1.155, allocations: 1.969 kB / 0.5108 GB, free: 68.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001286/1.155, allocations: 48.53 kB / 0.5108 GB, free: 68.26 MB / 394.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.008952/1.164, allocations: 2.696 MB / 0.5135 GB, free: 67.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.164, allocations: 14.91 kB / 0.5135 GB, free: 67.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/1.165, allocations: 396.6 kB / 0.5139 GB, free: 66.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/1.174, allocations: 2.366 MB / 0.5162 GB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.743e-05/1.174, allocations: 35.69 kB / 0.5162 GB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/1.174, allocations: 60.16 kB / 0.5163 GB, free: 66.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/1.177, allocations: 0.7781 MB / 0.517 GB, free: 66.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/1.177, allocations: 0 / 0.517 GB, free: 66.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/1.177, allocations: 25.28 kB / 0.517 GB, free: 66.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/1.178, allocations: 16.09 kB / 0.5171 GB, free: 66.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/1.18, allocations: 0.7079 MB / 0.5178 GB, free: 66.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/1.192, allocations: 3.192 MB / 0.5209 GB, free: 65.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/1.193, allocations: 493.3 kB / 0.5213 GB, free: 65.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/1.194, allocations: 0.5853 MB / 0.5219 GB, free: 65.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03641/1.23, allocations: 36.18 MB / 0.5572 GB, free: 39.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005894/1.231, allocations: 320.1 kB / 0.5576 GB, free: 39.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 4.027e-06/1.231, allocations: 3.125 kB / 0.5576 GB, free: 39.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.001661/1.233, allocations: 0.8008 MB / 0.5583 GB, free: 38.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/1.233, allocations: 264.1 kB / 0.5586 GB, free: 38.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/1.237, allocations: 2.527 MB / 0.5611 GB, free: 38.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.237, allocations: 31.55 kB / 0.5611 GB, free: 38.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/1.239, allocations: 1.501 MB / 0.5626 GB, free: 37.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/1.239, allocations: 171.6 kB / 0.5627 GB, free: 37.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/1.239, allocations: 20.62 kB / 0.5627 GB, free: 37.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/1.239, allocations: 338.3 kB / 0.5631 GB, free: 37.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/1.239, allocations: 194.9 kB / 0.5632 GB, free: 37.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/1.24, allocations: 0.5858 MB / 0.5638 GB, free: 37.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/1.241, allocations: 284.6 kB / 0.5641 GB, free: 37.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.241, allocations: 2.906 kB / 0.5641 GB, free: 37.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002218/1.243, allocations: 1.1 MB / 0.5652 GB, free: 36.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/1.243, allocations: 16.64 kB / 0.5652 GB, free: 36.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/1.243, allocations: 80.34 kB / 0.5653 GB, free: 36.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.433e-05/1.243, allocations: 18.41 kB / 0.5653 GB, free: 36.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/1.244, allocations: 213 kB / 0.5655 GB, free: 36.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/1.244, allocations: 29.48 kB / 0.5655 GB, free: 36.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.246, allocations: 126 kB / 0.5656 GB, free: 36.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.246, allocations: 67.03 kB / 0.5657 GB, free: 36.77 MB / 394.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.0002174/1.246, allocations: 174.7 kB / 0.5659 GB, free: 36.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/1.247, allocations: 383.8 kB / 0.5662 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/1.251, allocations: 1.141 MB / 0.5673 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/1.251, allocations: 10.98 kB / 0.5673 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.635e-06/1.251, allocations: 0 / 0.5673 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.251, allocations: 0 / 0.5673 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004025/1.255, allocations: 2.117 MB / 0.5694 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000107/1.255, allocations: 70.67 kB / 0.5695 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/1.255, allocations: 103.6 kB / 0.5696 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.083e-06/1.256, allocations: 3.875 kB / 0.5696 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/1.256, allocations: 35.55 kB / 0.5696 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-06/1.256, allocations: 3.75 kB / 0.5696 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-06/1.256, allocations: 3.281 kB / 0.5696 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.258, allocations: 1.207 MB / 0.5708 GB, free: 35.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.259, allocations: 0.5453 MB / 0.5713 GB, free: 35.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/1.259, allocations: 13.3 kB / 0.5713 GB, free: 35.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.26, allocations: 50.45 kB / 0.5714 GB, free: 35.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/1.261, allocations: 61.41 kB / 0.5715 GB, free: 35.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-05/1.261, allocations: 40.58 kB / 0.5715 GB, free: 35.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003354/1.264, allocations: 1.919 MB / 0.5734 GB, free: 34.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.36e-07/1.264, allocations: 3.188 kB / 0.5734 GB, free: 34.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00205/1.266, allocations: 0.6566 MB / 0.574 GB, free: 34.88 MB / 394.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.001402/1.267, allocations: 0.8457 MB / 0.5748 GB, free: 34.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/1.269, allocations: 0.6972 MB / 0.5755 GB, free: 34.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.913e-06/1.269, allocations: 0 / 0.5755 GB, free: 34.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006283/1.269, allocations: 393.3 kB / 0.5759 GB, free: 34.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.272, allocations: 0.4985 MB / 0.5764 GB, free: 34.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/1.278, allocations: 3.137 MB / 0.5794 GB, free: 33.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.279, allocations: 1.739 MB / 0.5811 GB, free: 32.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001799/1.281, allocations: 378 kB / 0.5815 GB, free: 32.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/1.281, allocations: 162.8 kB / 0.5817 GB, free: 32.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.709e-06/1.281, allocations: 0 / 0.5817 GB, free: 32.66 MB / 394.7 MB Notification: Performance of Templates: time 0.07608/1.357, allocations: 32.52 MB / 0.6134 GB, free: 20.25 MB / 394.7 MB