Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.899e-05, allocations: 7.984 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5656, allocations: 92.69 MB / 435.9 MB, free: 1.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.5659, allocations: 73.08 kB / 435.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1811/0.7471, allocations: 46.27 MB / 482.2 MB, free: 7.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.7471, allocations: 4 kB / 482.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.343e-05/0.7472, allocations: 12 kB / 482.2 MB, free: 7.488 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.002889/0.7501, allocations: 1.109 MB / 483.3 MB, free: 6.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7502, allocations: 12.02 kB / 483.3 MB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.7503, allocations: 66.55 kB / 483.4 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.7505, allocations: 116 kB / 483.5 MB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.7522, allocations: 0.7118 MB / 484.2 MB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.7522, allocations: 28.45 kB / 484.2 MB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.7523, allocations: 28 kB / 484.3 MB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.7531, allocations: 285.1 kB / 484.6 MB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.7531, allocations: 3.984 kB / 484.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.7532, allocations: 16 kB / 484.6 MB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.7532, allocations: 4 kB / 484.6 MB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.7538, allocations: 229.2 kB / 484.8 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.7569, allocations: 1.388 MB / 486.2 MB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.7576, allocations: 242.9 kB / 486.4 MB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/0.7581, allocations: 216.8 kB / 486.6 MB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007793/0.7659, allocations: 4.244 MB / 490.9 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.7664, allocations: 164.3 kB / 491 MB, free: 13.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 6.792e-06/0.7664, allocations: 0 / 491 MB, free: 13.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.00114/0.7676, allocations: 387.4 kB / 491.4 MB, free: 13.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.7677, allocations: 59.59 kB / 491.5 MB, free: 13.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.7691, allocations: 0.717 MB / 492.2 MB, free: 12.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.7692, allocations: 29.7 kB / 492.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.7697, allocations: 448.4 kB / 492.7 MB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.7699, allocations: 98.62 kB / 492.8 MB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.7699, allocations: 8 kB / 492.8 MB, free: 11.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7701, allocations: 321.9 kB / 493.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.7704, allocations: 88.77 kB / 493.2 MB, free: 11.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.7708, allocations: 199.7 kB / 493.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.7711, allocations: 119.9 kB / 493.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.7711, allocations: 0 / 493.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001292/0.7724, allocations: 461.7 kB / 493.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.7725, allocations: 12.38 kB / 493.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.26e-05/0.7726, allocations: 39.98 kB / 494 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.7729, allocations: 49.66 kB / 494 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.7735, allocations: 91.72 kB / 494.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.7762, allocations: 2.635 MB / 496.8 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.777, allocations: 47.61 kB / 496.8 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.7771, allocations: 20 kB / 496.8 MB, free: 7.598 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.0001694/0.7772, allocations: 128.9 kB / 496.9 MB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.7774, allocations: 114.6 kB / 497.1 MB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.779, allocations: 450.2 kB / 497.5 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.7791, allocations: 4 kB / 497.5 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7791, allocations: 0 / 497.5 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.7791, allocations: 0 / 497.5 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.7803, allocations: 0.5662 MB / 498.1 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.194e-05/0.7804, allocations: 31.98 kB / 498.1 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.7809, allocations: 51.89 kB / 498.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.7812, allocations: 45.69 kB / 498.2 MB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.7813, allocations: 12 kB / 498.2 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.7838, allocations: 2.647 MB / 0.4891 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7838, allocations: 0 / 0.4891 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.7852, allocations: 0.5255 MB / 0.4896 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.7856, allocations: 195.7 kB / 0.4898 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.7857, allocations: 4.125 kB / 0.4898 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.7862, allocations: 19.98 kB / 0.4898 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.7863, allocations: 35.89 kB / 0.4899 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.7864, allocations: 8 kB / 0.4899 GB, free: 2.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.7875, allocations: 0.5593 MB / 0.4904 GB, free: 1.824 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7875, allocations: 4 kB / 0.4904 GB, free: 1.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001106/0.7886, allocations: 279.6 kB / 0.4907 GB, free: 1.547 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.002519/0.7911, allocations: 1.408 MB / 0.4921 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.7923, allocations: 0.5135 MB / 0.4926 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7923, allocations: 0 / 0.4926 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.793, allocations: 405.1 kB / 0.493 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.7939, allocations: 108.8 kB / 0.4931 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.798, allocations: 1.329 MB / 0.4944 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.7987, allocations: 0.9758 MB / 0.4953 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005431/0.7992, allocations: 93.7 kB / 0.4954 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005762/0.7998, allocations: 339.3 kB / 0.4957 GB, free: 12.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.7998, allocations: 0 / 0.4957 GB, free: 12.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06344/0.8633, allocations: 18.68 MB / 0.514 GB, free: 9.703 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.8636, allocations: 180.2 kB / 0.5141 GB, free: 9.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.408/4.272, allocations: 0 / 0.5141 GB, free: 9.48 MB / 442.7 MB