Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.244e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 50.4 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.5978, allocations: 92.67 MB / 435.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5982, allocations: 70.41 kB / 435.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.151/0.7492, allocations: 46.27 MB / 481.7 MB, free: 7.648 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7493, allocations: 0 / 481.7 MB, free: 7.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.7493, allocations: 16 kB / 481.7 MB, free: 7.633 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002676/0.752, allocations: 1.112 MB / 482.8 MB, free: 6.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.7521, allocations: 8.031 kB / 482.8 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.7522, allocations: 66.53 kB / 482.9 MB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.7524, allocations: 116.1 kB / 483 MB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.7542, allocations: 0.7195 MB / 483.7 MB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.7542, allocations: 28.52 kB / 483.7 MB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.7543, allocations: 28 kB / 483.7 MB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.7551, allocations: 285.1 kB / 484 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.7551, allocations: 0 / 484 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.7552, allocations: 8 kB / 484 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.7552, allocations: 11.98 kB / 484 MB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.7559, allocations: 221.3 kB / 484.3 MB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.7591, allocations: 1.4 MB / 485.7 MB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.7601, allocations: 242.9 kB / 485.9 MB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.7608, allocations: 220.8 kB / 486.1 MB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007689/0.7685, allocations: 4.236 MB / 490.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/0.769, allocations: 168.2 kB / 490.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.865e-06/0.769, allocations: 0 / 490.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001048/0.7701, allocations: 387.4 kB / 490.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.7701, allocations: 55.59 kB / 490.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.7715, allocations: 0.7132 MB / 491.7 MB, free: 12.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.7716, allocations: 29.7 kB / 491.7 MB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/0.7721, allocations: 452.4 kB / 492.1 MB, free: 12.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.7723, allocations: 94.66 kB / 492.2 MB, free: 12.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.7723, allocations: 8 kB / 492.2 MB, free: 12.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7725, allocations: 317.9 kB / 492.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.7727, allocations: 96.77 kB / 492.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.7731, allocations: 195.7 kB / 492.8 MB, free: 11.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.7734, allocations: 119.9 kB / 492.9 MB, free: 11.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.7735, allocations: 4 kB / 492.9 MB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001156/0.7746, allocations: 465.9 kB / 493.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7747, allocations: 4 kB / 493.4 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.268e-05/0.7748, allocations: 32 kB / 493.4 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.7751, allocations: 61.58 kB / 493.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.7757, allocations: 83.97 kB / 493.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.7784, allocations: 2.631 MB / 496.2 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.7791, allocations: 51.61 kB / 496.3 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.7792, allocations: 12 kB / 496.3 MB, free: 7.758 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.7794, allocations: 137.6 kB / 496.4 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.7795, allocations: 110.6 kB / 496.5 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.7811, allocations: 462.3 kB / 497 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7811, allocations: 3.938 kB / 497 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7811, allocations: 4 kB / 497 MB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7811, allocations: 4 kB / 497 MB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.7821, allocations: 0.5661 MB / 497.5 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.429e-05/0.7822, allocations: 31.98 kB / 497.6 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.7826, allocations: 47.91 kB / 497.6 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.7829, allocations: 45.69 kB / 497.7 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.7829, allocations: 11.98 kB / 497.7 MB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.7855, allocations: 2.636 MB / 0.4886 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7855, allocations: 0 / 0.4886 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.7869, allocations: 0.5295 MB / 0.4891 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.7873, allocations: 191.7 kB / 0.4893 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.7875, allocations: 7.984 kB / 0.4893 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.7879, allocations: 23.98 kB / 0.4893 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.7881, allocations: 23.97 kB / 0.4893 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.7881, allocations: 19.92 kB / 0.4894 GB, free: 2.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.7893, allocations: 0.5633 MB / 0.4899 GB, free: 1.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7893, allocations: 0 / 0.4899 GB, free: 1.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001082/0.7904, allocations: 275.6 kB / 0.4902 GB, free: 1.695 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00263/0.793, allocations: 1.404 MB / 0.4915 GB, free: 256 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.7942, allocations: 0.524 MB / 0.492 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7943, allocations: 0 / 0.492 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007125/0.795, allocations: 401.1 kB / 0.4924 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.7959, allocations: 116.8 kB / 0.4925 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.7998, allocations: 1.325 MB / 0.4938 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.8005, allocations: 0.9719 MB / 0.4948 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005236/0.801, allocations: 93.72 kB / 0.4949 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/0.8016, allocations: 339.3 kB / 0.4952 GB, free: 12.38 MB / 426.7 MB Notification: Performance of SimCode: time 9.51e-07/0.8016, allocations: 4 kB / 0.4952 GB, free: 12.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05932/0.861, allocations: 18.68 MB / 0.5134 GB, free: 9.852 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/0.8614, allocations: 187.3 kB / 0.5136 GB, free: 9.625 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/4.275, allocations: 0 / 0.5136 GB, free: 9.625 MB / 442.7 MB