Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 205.8 MB / 218.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.75e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 47.56 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5254, allocations: 90.28 MB / 407.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.5256, allocations: 73.03 kB / 407.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1405/0.6662, allocations: 43.54 MB / 450.9 MB, free: 7.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6662, allocations: 0 / 450.9 MB, free: 7.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.192e-05/0.6663, allocations: 12 kB / 450.9 MB, free: 7.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.002692/0.669, allocations: 1.109 MB / 452 MB, free: 6.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.6691, allocations: 12.03 kB / 452 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.6692, allocations: 69.08 kB / 452.1 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.6695, allocations: 110.7 kB / 452.2 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.6713, allocations: 0.7203 MB / 452.9 MB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.6714, allocations: 15.56 kB / 453 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.6715, allocations: 31.19 kB / 453 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.6722, allocations: 289.4 kB / 453.3 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.6723, allocations: 0.875 kB / 453.3 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.6723, allocations: 10.62 kB / 453.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6724, allocations: 8 kB / 453.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.673, allocations: 229.9 kB / 453.5 MB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.6763, allocations: 1.405 MB / 454.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.6769, allocations: 238 kB / 455.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.6774, allocations: 215.3 kB / 455.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007937/0.6853, allocations: 4.236 MB / 459.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.6858, allocations: 169.3 kB / 459.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.507e-06/0.6858, allocations: 3.938 kB / 459.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001133/0.687, allocations: 375.7 kB / 460.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.6871, allocations: 65.17 kB / 460.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6885, allocations: 0.7076 MB / 460.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.6886, allocations: 33.27 kB / 460.9 MB, free: 13.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.689, allocations: 454.3 kB / 461.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6892, allocations: 98.5 kB / 461.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.6892, allocations: 9.5 kB / 461.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6894, allocations: 319.6 kB / 461.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.6897, allocations: 87.27 kB / 461.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.69, allocations: 199.4 kB / 462.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.6903, allocations: 116.4 kB / 462.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6904, allocations: 0 / 462.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001288/0.6917, allocations: 468.3 kB / 462.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6917, allocations: 8 kB / 462.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.95e-05/0.6918, allocations: 35.98 kB / 462.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.6921, allocations: 52.77 kB / 462.7 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.6927, allocations: 79.78 kB / 462.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.6954, allocations: 2.64 MB / 465.5 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.6962, allocations: 47.2 kB / 465.5 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.6963, allocations: 19.56 kB / 465.5 MB, free: 9.59 MB / 378.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.0001759/0.6965, allocations: 138.8 kB / 465.7 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.6967, allocations: 102.8 kB / 465.8 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.6982, allocations: 458.1 kB / 466.2 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6983, allocations: 7.953 kB / 466.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6983, allocations: 0 / 466.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6983, allocations: 0 / 466.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.6995, allocations: 0.57 MB / 466.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-05/0.6996, allocations: 35.98 kB / 466.8 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.7001, allocations: 47.95 kB / 466.9 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002853/0.7004, allocations: 49.69 kB / 466.9 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.7005, allocations: 11.95 kB / 466.9 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.7033, allocations: 2.639 MB / 469.6 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7034, allocations: 4.125 kB / 469.6 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.7048, allocations: 0.5218 MB / 470.1 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.7053, allocations: 187.9 kB / 470.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.7054, allocations: 4 kB / 470.3 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.7059, allocations: 24.03 kB / 470.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.7061, allocations: 35.89 kB / 470.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.7061, allocations: 12 kB / 470.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.7073, allocations: 0.5554 MB / 470.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7073, allocations: 0 / 470.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001207/0.7085, allocations: 287.5 kB / 471.2 MB, free: 3.531 MB / 378.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.002664/0.7112, allocations: 1.404 MB / 472.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.7125, allocations: 0.5205 MB / 473.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7125, allocations: 0 / 473.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000714/0.7132, allocations: 401.9 kB / 473.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.7139, allocations: 102.9 kB / 473.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.7182, allocations: 1.319 MB / 474.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.7189, allocations: 0.9758 MB / 475.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005732/0.7195, allocations: 93.72 kB / 476 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006232/0.7201, allocations: 339.3 kB / 476.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.512e-06/0.7201, allocations: 0 / 476.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.838, allocations: 18.67 MB / 495 MB, free: 11.62 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.8384, allocations: 187.4 kB / 495.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/3.958, allocations: 0 / 495.2 MB, free: 11.39 MB / 410.7 MB