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.763/1.763, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.506e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2684, allocations: 38.77 MB / 258.4 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.4567, allocations: 81.21 MB / 339.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/0.4572, allocations: 75.89 kB / 339.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4804/0.9377, allocations: 41.44 MB / 381.1 MB, free: 83.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.9378, allocations: 0 / 381.1 MB, free: 83.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.9379, allocations: 13.03 kB / 381.1 MB, free: 83.52 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.004097/0.942, allocations: 1.112 MB / 382.2 MB, free: 82.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.625e-05/0.9421, allocations: 7.969 kB / 382.2 MB, free: 82.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.9427, allocations: 117.8 kB / 382.3 MB, free: 82.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.9454, allocations: 0.7093 MB / 383 MB, free: 82.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.9455, allocations: 13.95 kB / 383 MB, free: 82.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.9456, allocations: 17.78 kB / 383.1 MB, free: 82.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008729/0.9465, allocations: 212.9 kB / 383.3 MB, free: 82.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.9475, allocations: 250.3 kB / 383.5 MB, free: 82.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.9476, allocations: 7.688 kB / 383.5 MB, free: 82.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.9477, allocations: 0 / 383.5 MB, free: 82.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.9477, allocations: 4.594 kB / 383.5 MB, free: 82.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.9523, allocations: 1.335 MB / 384.9 MB, free: 81.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/0.9533, allocations: 234.7 kB / 385.1 MB, free: 81.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.954, allocations: 209.2 kB / 385.3 MB, free: 81.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.964, allocations: 4.23 MB / 389.5 MB, free: 77.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/0.9647, allocations: 165.5 kB / 389.7 MB, free: 77.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 7.705e-06/0.9647, allocations: 3.891 kB / 389.7 MB, free: 77.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002006/0.9668, allocations: 428.1 kB / 390.1 MB, free: 77.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.9669, allocations: 55.28 kB / 390.2 MB, free: 77.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.9687, allocations: 0.6526 MB / 390.8 MB, free: 76.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.9689, allocations: 27.3 kB / 390.8 MB, free: 76.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.9696, allocations: 447.8 kB / 391.3 MB, free: 76.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.9699, allocations: 93.28 kB / 391.4 MB, free: 76.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.9699, allocations: 6.688 kB / 391.4 MB, free: 76.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.97, allocations: 327.8 kB / 391.7 MB, free: 76.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.9704, allocations: 85.14 kB / 391.8 MB, free: 75.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.9708, allocations: 184.6 kB / 392 MB, free: 75.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/0.9717, allocations: 175.5 kB / 392.1 MB, free: 75.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.9718, allocations: 0 / 392.1 MB, free: 75.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002185/0.974, allocations: 0.5057 MB / 392.6 MB, free: 75.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.9741, allocations: 7.531 kB / 392.6 MB, free: 75.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.9743, allocations: 40.83 kB / 392.7 MB, free: 75.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.9747, allocations: 52.31 kB / 392.7 MB, free: 75.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.9755, allocations: 79.91 kB / 392.8 MB, free: 75.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.9785, allocations: 2.551 MB / 395.4 MB, free: 72.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.9797, allocations: 42.48 kB / 395.4 MB, free: 72.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.9799, allocations: 21.66 kB / 395.4 MB, free: 72.95 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.0002194/0.9802, allocations: 112.8 kB / 395.5 MB, free: 72.84 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001917/0.9821, allocations: 432.9 kB / 396 MB, free: 72.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.9825, allocations: 104.7 kB / 396.1 MB, free: 72.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.9853, allocations: 0.4884 MB / 396.5 MB, free: 72.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.9853, allocations: 0 / 396.5 MB, free: 72.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.9854, allocations: 6.578 kB / 396.6 MB, free: 72.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.9854, allocations: 3.609 kB / 396.6 MB, free: 72.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.9868, allocations: 0.5107 MB / 397.1 MB, free: 72.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001366/0.987, allocations: 43.33 kB / 397.1 MB, free: 72.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.9878, allocations: 51.91 kB / 397.2 MB, free: 72.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/0.9883, allocations: 45.11 kB / 397.2 MB, free: 72.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/0.9884, allocations: 5.906 kB / 397.2 MB, free: 72.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.9912, allocations: 2.549 MB / 399.8 MB, free: 69.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.9913, allocations: 0 / 399.8 MB, free: 69.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.9937, allocations: 0.5745 MB / 400.3 MB, free: 69.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.9944, allocations: 185.9 kB / 400.5 MB, free: 69.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/0.9947, allocations: 1.688 kB / 400.5 MB, free: 69.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/0.9956, allocations: 18.98 kB / 400.5 MB, free: 69.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.9958, allocations: 25.23 kB / 400.6 MB, free: 69.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.9959, allocations: 21.3 kB / 400.6 MB, free: 69.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001438/0.9974, allocations: 0.4907 MB / 401.1 MB, free: 68.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.673e-06/0.9974, allocations: 4 kB / 401.1 MB, free: 68.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001922/0.9994, allocations: 266.3 kB / 401.3 MB, free: 68.76 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.00412/1.004, allocations: 1.523 MB / 402.9 MB, free: 67.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/1.005, allocations: 0.5009 MB / 403.4 MB, free: 67.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.005, allocations: 4.062 kB / 403.4 MB, free: 67.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009505/1.006, allocations: 392.4 kB / 403.7 MB, free: 66.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/1.007, allocations: 88.27 kB / 403.8 MB, free: 66.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/1.014, allocations: 1.293 MB / 405.1 MB, free: 65.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/1.014, allocations: 0.9776 MB / 406.1 MB, free: 64.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008294/1.015, allocations: 93.34 kB / 406.2 MB, free: 64.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/1.016, allocations: 332.4 kB / 406.5 MB, free: 64.21 MB / 314.7 MB Notification: Performance of SimCode: time 2.204e-06/1.016, allocations: 4 kB / 406.5 MB, free: 64.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07758/1.094, allocations: 15.2 MB / 421.7 MB, free: 49.9 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.094, allocations: 156.5 kB / 421.9 MB, free: 49.7 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/4.308, allocations: 0 / 421.9 MB, free: 49.7 MB / 314.7 MB