Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.018e-05/4.038e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 38.77 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4963, allocations: 81.88 MB / 345.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.4967, allocations: 71.97 kB / 345.8 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3761/0.8729, allocations: 44.01 MB / 389.8 MB, free: 80.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.8729, allocations: 0 / 389.8 MB, free: 80.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.613e-05/0.873, allocations: 15.06 kB / 389.9 MB, free: 80.82 MB / 314.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.002842/0.8759, allocations: 1.101 MB / 391 MB, free: 80.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.8759, allocations: 9.312 kB / 391 MB, free: 80.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.8761, allocations: 69.58 kB / 391 MB, free: 80.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.8763, allocations: 119 kB / 391.1 MB, free: 79.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.8782, allocations: 0.7089 MB / 391.9 MB, free: 79.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.8783, allocations: 20.44 kB / 391.9 MB, free: 79.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.8784, allocations: 36.27 kB / 391.9 MB, free: 79.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.8791, allocations: 293.3 kB / 392.2 MB, free: 79.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.8792, allocations: 1.312 kB / 392.2 MB, free: 79.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.8793, allocations: 8 kB / 392.2 MB, free: 79.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.8793, allocations: 8 kB / 392.2 MB, free: 79.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.8799, allocations: 222.1 kB / 392.4 MB, free: 79.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.8829, allocations: 1.395 MB / 393.8 MB, free: 77.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.8835, allocations: 237.2 kB / 394.1 MB, free: 77.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.884, allocations: 224 kB / 394.3 MB, free: 77.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006719/0.8907, allocations: 4.235 MB / 398.5 MB, free: 72.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003934/0.8912, allocations: 163 kB / 398.7 MB, free: 72.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.436e-06/0.8912, allocations: 0 / 398.7 MB, free: 72.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001094/0.8923, allocations: 377.3 kB / 399 MB, free: 72.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.8924, allocations: 63.59 kB / 399.1 MB, free: 72.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.8936, allocations: 0.7167 MB / 399.8 MB, free: 71.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.8938, allocations: 29.7 kB / 399.8 MB, free: 71.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.8942, allocations: 449.7 kB / 400.3 MB, free: 71.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.8944, allocations: 105.6 kB / 400.4 MB, free: 70.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.8944, allocations: 8 kB / 400.4 MB, free: 70.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.8945, allocations: 317.7 kB / 400.7 MB, free: 70.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.8947, allocations: 88.77 kB / 400.8 MB, free: 70.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.895, allocations: 195.6 kB / 401 MB, free: 70.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.8953, allocations: 126.9 kB / 401.1 MB, free: 70.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8954, allocations: 0 / 401.1 MB, free: 70.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00115/0.8965, allocations: 472.4 kB / 401.6 MB, free: 69.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.8966, allocations: 8 kB / 401.6 MB, free: 69.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-05/0.8967, allocations: 32 kB / 401.6 MB, free: 69.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.897, allocations: 49.36 kB / 401.7 MB, free: 69.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.8976, allocations: 91.02 kB / 401.7 MB, free: 69.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.8997, allocations: 2.629 MB / 404.4 MB, free: 66.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.9005, allocations: 46.67 kB / 404.4 MB, free: 66.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.9006, allocations: 22.81 kB / 404.4 MB, free: 66.73 MB / 314.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.0001535/0.9008, allocations: 128.9 kB / 404.6 MB, free: 66.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.901, allocations: 106.9 kB / 404.7 MB, free: 66.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.9025, allocations: 450.7 kB / 405.1 MB, free: 66.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.9025, allocations: 4 kB / 405.1 MB, free: 66.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9025, allocations: 3.953 kB / 405.1 MB, free: 66.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.9025, allocations: 3.938 kB / 405.1 MB, free: 66.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.9035, allocations: 0.5753 MB / 405.7 MB, free: 65.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.922e-05/0.9037, allocations: 31.94 kB / 405.7 MB, free: 65.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.9042, allocations: 55.69 kB / 405.8 MB, free: 65.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.9044, allocations: 49.69 kB / 405.8 MB, free: 65.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.9045, allocations: 8 kB / 405.8 MB, free: 65.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.9065, allocations: 2.646 MB / 408.5 MB, free: 62.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9065, allocations: 0 / 408.5 MB, free: 62.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.9079, allocations: 0.5333 MB / 409 MB, free: 61.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.9084, allocations: 191.8 kB / 409.2 MB, free: 61.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.9085, allocations: 3.938 kB / 409.2 MB, free: 61.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.909, allocations: 19.98 kB / 409.2 MB, free: 61.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.9092, allocations: 31.95 kB / 409.3 MB, free: 61.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.9092, allocations: 8 kB / 409.3 MB, free: 61.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.9103, allocations: 0.5633 MB / 409.8 MB, free: 61.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.9103, allocations: 0 / 409.8 MB, free: 61.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001262/0.9116, allocations: 283.5 kB / 410.1 MB, free: 60.81 MB / 314.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.002416/0.914, allocations: 1.411 MB / 411.5 MB, free: 59.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.9152, allocations: 0.5173 MB / 412 MB, free: 58.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9153, allocations: 0 / 412 MB, free: 58.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.9159, allocations: 393.2 kB / 412.4 MB, free: 58.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.9167, allocations: 97.12 kB / 412.5 MB, free: 58.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.921, allocations: 1.327 MB / 413.8 MB, free: 56.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.9215, allocations: 0.9795 MB / 414.8 MB, free: 55.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005577/0.9221, allocations: 89.72 kB / 414.9 MB, free: 55.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.9226, allocations: 343.3 kB / 415.2 MB, free: 55.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9226, allocations: 0 / 415.2 MB, free: 55.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05602/0.9786, allocations: 18.66 MB / 433.9 MB, free: 36.91 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.9789, allocations: 183 kB / 434.1 MB, free: 36.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/4.254, allocations: 0 / 434.1 MB, free: 36.68 MB / 314.7 MB