Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.677e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3281, allocations: 44.5 MB / 294.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.5087, allocations: 85.35 MB / 379.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.509, allocations: 75.95 kB / 379.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1448/0.6538, allocations: 40.99 MB / 420.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6539, allocations: 0 / 420.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.778e-05/0.6539, allocations: 16 kB / 420.7 MB, free: 3.406 MB / 362.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.002858/0.6568, allocations: 1.112 MB / 421.8 MB, free: 2.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.6569, allocations: 8.031 kB / 421.8 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.6572, allocations: 114.6 kB / 421.9 MB, free: 2.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.6589, allocations: 0.7157 MB / 422.6 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.659, allocations: 8 kB / 422.6 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.6591, allocations: 19.98 kB / 422.6 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006134/0.6597, allocations: 205.3 kB / 422.8 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.6604, allocations: 253.1 kB / 423.1 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6604, allocations: 0 / 423.1 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.6604, allocations: 7.938 kB / 423.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.6605, allocations: 8 kB / 423.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2557/0.9161, allocations: 1.327 MB / 424.4 MB, free: 92.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.917, allocations: 233.5 kB / 424.6 MB, free: 91.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.9176, allocations: 210.5 kB / 424.8 MB, free: 91.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007369/0.9249, allocations: 4.241 MB / 429.1 MB, free: 88.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.9254, allocations: 152.6 kB / 429.2 MB, free: 88.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.356e-06/0.9254, allocations: 1.625 kB / 429.2 MB, free: 88.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.00143/0.9268, allocations: 434.2 kB / 429.7 MB, free: 88.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.9269, allocations: 55.44 kB / 429.7 MB, free: 88.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.9282, allocations: 0.6544 MB / 430.4 MB, free: 88.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.9283, allocations: 27.86 kB / 430.4 MB, free: 88.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.9287, allocations: 447.5 kB / 430.8 MB, free: 88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.9288, allocations: 96.73 kB / 430.9 MB, free: 87.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.9289, allocations: 0 / 430.9 MB, free: 87.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.929, allocations: 321.1 kB / 431.2 MB, free: 87.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.9292, allocations: 81.73 kB / 431.3 MB, free: 87.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.9295, allocations: 195.3 kB / 431.5 MB, free: 87.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.9301, allocations: 177.2 kB / 431.7 MB, free: 87.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.9301, allocations: 1.5 kB / 431.7 MB, free: 87.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001452/0.9316, allocations: 0.4949 MB / 432.2 MB, free: 87.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.9317, allocations: 6.25 kB / 432.2 MB, free: 87.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.9318, allocations: 36.59 kB / 432.2 MB, free: 87.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003058/0.9321, allocations: 55.17 kB / 432.3 MB, free: 87.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.9327, allocations: 76.39 kB / 432.4 MB, free: 87.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.9347, allocations: 2.558 MB / 434.9 MB, free: 85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.9355, allocations: 44.98 kB / 435 MB, free: 84.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.9356, allocations: 19 kB / 435 MB, free: 84.98 MB / 362.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.0001556/0.9358, allocations: 124.8 kB / 435.1 MB, free: 84.88 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001317/0.9371, allocations: 426 kB / 435.5 MB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.9374, allocations: 102.7 kB / 435.6 MB, free: 84.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.9393, allocations: 499.6 kB / 436.1 MB, free: 84.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.9393, allocations: 2.281 kB / 436.1 MB, free: 84.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9393, allocations: 1.969 kB / 436.1 MB, free: 84.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.9394, allocations: 6 kB / 436.1 MB, free: 84.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.9404, allocations: 0.5231 MB / 436.6 MB, free: 84.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.205e-05/0.9405, allocations: 27.69 kB / 436.7 MB, free: 84.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.941, allocations: 51.52 kB / 436.7 MB, free: 84.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.9413, allocations: 47.53 kB / 436.8 MB, free: 84.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.9414, allocations: 8.047 kB / 436.8 MB, free: 84.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/0.9445, allocations: 2.542 MB / 439.3 MB, free: 82.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.9445, allocations: 0 / 439.3 MB, free: 82.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.9461, allocations: 0.5789 MB / 439.9 MB, free: 81.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.9465, allocations: 190.3 kB / 440.1 MB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.9467, allocations: 3.781 kB / 440.1 MB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.9472, allocations: 20.44 kB / 440.1 MB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.9473, allocations: 29.97 kB / 440.1 MB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.9474, allocations: 12.59 kB / 440.1 MB, free: 81.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009289/0.9483, allocations: 0.4964 MB / 440.6 MB, free: 81.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9484, allocations: 0 / 440.6 MB, free: 81.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001195/0.9496, allocations: 263.5 kB / 440.9 MB, free: 81.65 MB / 362.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.002611/0.9522, allocations: 1.519 MB / 442.4 MB, free: 80.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009982/0.9533, allocations: 0.5077 MB / 442.9 MB, free: 80.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.9533, allocations: 0 / 442.9 MB, free: 80.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.9538, allocations: 397.9 kB / 443.3 MB, free: 80.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.9545, allocations: 93.86 kB / 443.4 MB, free: 80.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.9582, allocations: 1.296 MB / 444.7 MB, free: 80.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.9587, allocations: 0.9735 MB / 445.7 MB, free: 79.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.9592, allocations: 92.47 kB / 445.8 MB, free: 79.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.9597, allocations: 333.4 kB / 446.1 MB, free: 79.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.9597, allocations: 3.656 kB / 446.1 MB, free: 79.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/1.026, allocations: 15.21 MB / 461.3 MB, free: 78.31 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/1.026, allocations: 149.2 kB / 461.4 MB, free: 78.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/4.302, allocations: 0 / 461.4 MB, free: 78.12 MB / 362.7 MB