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_cpp_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.314e-05, allocations: 6.125 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.078/0.07805, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4328, allocations: 97.77 MB / 397.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.433, allocations: 70.2 kB / 397.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6435/1.077, allocations: 125.3 MB / 0.5108 GB, free: 67.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.569e-06/1.077, allocations: 1.969 kB / 0.5108 GB, free: 67.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.897e-05/1.077, allocations: 44.72 kB / 0.5108 GB, free: 67.76 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.006683/1.083, allocations: 2.698 MB / 0.5134 GB, free: 66.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.083, allocations: 12.06 kB / 0.5134 GB, free: 66.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009451/1.084, allocations: 399.5 kB / 0.5138 GB, free: 66.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006044/1.09, allocations: 2.366 MB / 0.5161 GB, free: 65.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/1.091, allocations: 39.84 kB / 0.5162 GB, free: 65.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/1.091, allocations: 61.28 kB / 0.5162 GB, free: 65.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.092, allocations: 0.7778 MB / 0.517 GB, free: 65.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/1.093, allocations: 4.344 kB / 0.517 GB, free: 65.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.093, allocations: 21.78 kB / 0.517 GB, free: 65.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/1.093, allocations: 22.06 kB / 0.517 GB, free: 65.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/1.094, allocations: 0.7047 MB / 0.5177 GB, free: 65.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008221/1.103, allocations: 3.194 MB / 0.5209 GB, free: 65.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/1.104, allocations: 484.4 kB / 0.5213 GB, free: 65.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.105, allocations: 0.592 MB / 0.5219 GB, free: 65.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03731/1.142, allocations: 36.17 MB / 0.5572 GB, free: 38.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/1.143, allocations: 327.1 kB / 0.5575 GB, free: 38.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 4.698e-06/1.143, allocations: 0 / 0.5575 GB, free: 38.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.001803/1.145, allocations: 0.7959 MB / 0.5583 GB, free: 38.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.145, allocations: 270.5 kB / 0.5586 GB, free: 38.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/1.149, allocations: 2.521 MB / 0.561 GB, free: 37.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/1.149, allocations: 39.77 kB / 0.5611 GB, free: 37.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.151, allocations: 1.237 MB / 0.5623 GB, free: 37.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/1.151, allocations: 169.2 kB / 0.5624 GB, free: 37.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/1.151, allocations: 21.5 kB / 0.5625 GB, free: 37.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/1.151, allocations: 340.1 kB / 0.5628 GB, free: 37.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/1.152, allocations: 191.8 kB / 0.563 GB, free: 37.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/1.152, allocations: 0.5884 MB / 0.5635 GB, free: 36.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/1.153, allocations: 289.1 kB / 0.5638 GB, free: 36.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.153, allocations: 3.844 kB / 0.5638 GB, free: 36.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001747/1.155, allocations: 0.7773 MB / 0.5646 GB, free: 36.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.155, allocations: 12.3 kB / 0.5646 GB, free: 36.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.155, allocations: 83.69 kB / 0.5647 GB, free: 36.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/1.155, allocations: 24.69 kB / 0.5647 GB, free: 36.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/1.156, allocations: 210.3 kB / 0.5649 GB, free: 36.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/1.156, allocations: 29.41 kB / 0.5649 GB, free: 36.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/1.158, allocations: 123.9 kB / 0.565 GB, free: 36.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/1.158, allocations: 67.97 kB / 0.5651 GB, free: 36.39 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.0002423/1.158, allocations: 167.1 kB / 0.5653 GB, free: 36.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/1.159, allocations: 388.5 kB / 0.5656 GB, free: 36.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/1.163, allocations: 1.15 MB / 0.5668 GB, free: 35.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.163, allocations: 7.125 kB / 0.5668 GB, free: 35.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.795e-06/1.163, allocations: 0 / 0.5668 GB, free: 35.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.346e-06/1.163, allocations: 3.375 kB / 0.5668 GB, free: 35.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/1.168, allocations: 2.119 MB / 0.5688 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001169/1.168, allocations: 67.78 kB / 0.5689 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/1.169, allocations: 104.4 kB / 0.569 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.169, allocations: 3.406 kB / 0.569 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/1.169, allocations: 36.09 kB / 0.569 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.728e-06/1.169, allocations: 0 / 0.569 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.698e-06/1.169, allocations: 0 / 0.569 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/1.171, allocations: 1.211 MB / 0.5702 GB, free: 35.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.173, allocations: 0.5501 MB / 0.5708 GB, free: 34.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008564/1.174, allocations: 15.89 kB / 0.5708 GB, free: 34.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.175, allocations: 46.2 kB / 0.5708 GB, free: 34.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/1.175, allocations: 64.56 kB / 0.5709 GB, free: 34.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.176, allocations: 38.77 kB / 0.5709 GB, free: 34.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004043/1.18, allocations: 1.919 MB / 0.5728 GB, free: 34.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.59e-07/1.18, allocations: 0 / 0.5728 GB, free: 34.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002481/1.182, allocations: 0.6551 MB / 0.5734 GB, free: 34.5 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.001486/1.184, allocations: 0.8535 MB / 0.5743 GB, free: 34.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/1.185, allocations: 0.6922 MB / 0.5749 GB, free: 34.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.949e-06/1.185, allocations: 6.344 kB / 0.5749 GB, free: 34.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006456/1.186, allocations: 390 kB / 0.5753 GB, free: 34.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.189, allocations: 0.4938 MB / 0.5758 GB, free: 34.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/1.195, allocations: 3.205 MB / 0.5789 GB, free: 33.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.197, allocations: 1.732 MB / 0.5806 GB, free: 32.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/1.197, allocations: 165.1 kB / 0.5808 GB, free: 32.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.914e-06/1.197, allocations: 3.531 kB / 0.5808 GB, free: 32.28 MB / 394.7 MB Notification: Performance of Templates: time 0.05702/1.254, allocations: 36.77 MB / 0.6167 GB, free: 17.1 MB / 394.7 MB