Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.343e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09301, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5147, allocations: 86.02 MB / 386 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.515, allocations: 73.72 kB / 386 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1258/0.6408, allocations: 43.55 MB / 429.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6409, allocations: 0 / 429.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.693e-05/0.6409, allocations: 11.5 kB / 429.6 MB, free: 15.61 MB / 330.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.002778/0.6437, allocations: 1.102 MB / 430.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.6438, allocations: 11.5 kB / 430.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.6439, allocations: 69.17 kB / 430.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.6442, allocations: 119.9 kB / 430.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.6459, allocations: 0.7132 MB / 431.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.646, allocations: 22.62 kB / 431.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.6461, allocations: 28.03 kB / 431.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.6468, allocations: 283.7 kB / 431.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6468, allocations: 0 / 431.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.6469, allocations: 13.72 kB / 432 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.6469, allocations: 11.69 kB / 432 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.6474, allocations: 227.2 kB / 432.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.6505, allocations: 1.406 MB / 433.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.6511, allocations: 238.3 kB / 433.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.6516, allocations: 216 kB / 434 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007388/0.659, allocations: 4.232 MB / 438.3 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.6594, allocations: 165.9 kB / 438.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.286e-06/0.6594, allocations: 0 / 438.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001075/0.6605, allocations: 387.6 kB / 438.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.6606, allocations: 55.53 kB / 438.9 MB, free: 9.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.6618, allocations: 0.7068 MB / 439.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.6619, allocations: 33.55 kB / 439.6 MB, free: 8.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.6623, allocations: 431.5 kB / 440 MB, free: 8.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.6625, allocations: 104.3 kB / 440.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.6625, allocations: 5 kB / 440.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6626, allocations: 327.3 kB / 440.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.6629, allocations: 89.67 kB / 440.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.6632, allocations: 188.6 kB / 440.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.6635, allocations: 125.4 kB / 440.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.6636, allocations: 0 / 440.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009441/0.6645, allocations: 381.5 kB / 441.2 MB, free: 8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6645, allocations: 7.75 kB / 441.2 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-05/0.6646, allocations: 34.77 kB / 441.3 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.6649, allocations: 59.06 kB / 441.3 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.6655, allocations: 75.42 kB / 441.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.6681, allocations: 2.636 MB / 444 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/0.6689, allocations: 54.59 kB / 444.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.6689, allocations: 23.12 kB / 444.1 MB, free: 5.324 MB / 330.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.0001612/0.6691, allocations: 125.8 kB / 444.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.6693, allocations: 105.2 kB / 444.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.6707, allocations: 465.3 kB / 444.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6708, allocations: 0 / 444.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6708, allocations: 3.156 kB / 444.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6708, allocations: 0 / 444.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.6718, allocations: 0.579 MB / 445.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.731e-05/0.6719, allocations: 29.19 kB / 445.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.6724, allocations: 43.95 kB / 445.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.6726, allocations: 53 kB / 445.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.6727, allocations: 8 kB / 445.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.6752, allocations: 2.633 MB / 448.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6753, allocations: 8.062 kB / 448.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.6768, allocations: 0.5292 MB / 448.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.6772, allocations: 190.6 kB / 448.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.6774, allocations: 3.5 kB / 448.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.6778, allocations: 24 kB / 448.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.678, allocations: 31.77 kB / 448.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.678, allocations: 11.38 kB / 448.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.6792, allocations: 0.5516 MB / 449.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6792, allocations: 0 / 449.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001215/0.6804, allocations: 286.8 kB / 449.8 MB, free: 432 kB / 330.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.00262/0.6831, allocations: 1.415 MB / 451.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.6843, allocations: 0.5197 MB / 451.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6843, allocations: 0 / 451.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.685, allocations: 392.6 kB / 452.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.6857, allocations: 98.83 kB / 452.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.6898, allocations: 1.353 MB / 453.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.6905, allocations: 0.9758 MB / 454.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/0.6911, allocations: 340.5 kB / 454.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6911, allocations: 0 / 454.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.968/3.659, allocations: 20.95 MB / 475.8 MB, free: 7.117 MB / 362.7 MB