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 2.098/2.098, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.457e-05, allocations: 8 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3258, allocations: 44.49 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4827, allocations: 85.35 MB / 379.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.483, allocations: 67.97 kB / 379.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.147/0.63, allocations: 41 MB / 420.6 MB, free: 3.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6301, allocations: 0 / 420.6 MB, free: 3.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.876e-05/0.6302, allocations: 12 kB / 420.6 MB, free: 3.379 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.002881/0.6331, allocations: 1.108 MB / 421.7 MB, free: 2.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.6331, allocations: 12.03 kB / 421.7 MB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.6335, allocations: 118.6 kB / 421.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.6354, allocations: 0.7157 MB / 422.6 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.6354, allocations: 8 kB / 422.6 MB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.6355, allocations: 19.94 kB / 422.6 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006494/0.6362, allocations: 213.3 kB / 422.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.6369, allocations: 249.1 kB / 423 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6369, allocations: 0 / 423 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.6369, allocations: 3.953 kB / 423.1 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.637, allocations: 16 kB / 423.1 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2641/0.9011, allocations: 1.324 MB / 424.4 MB, free: 91.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.902, allocations: 238.6 kB / 424.6 MB, free: 91.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.9025, allocations: 206.1 kB / 424.8 MB, free: 91.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007413/0.9099, allocations: 4.235 MB / 429.1 MB, free: 88.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.9104, allocations: 160.5 kB / 429.2 MB, free: 88.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.108e-06/0.9104, allocations: 0 / 429.2 MB, free: 88.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001506/0.9119, allocations: 426.5 kB / 429.6 MB, free: 88.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.912, allocations: 61.44 kB / 429.7 MB, free: 88.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.9133, allocations: 0.6541 MB / 430.3 MB, free: 87.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.9134, allocations: 30.08 kB / 430.4 MB, free: 87.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.9138, allocations: 426.3 kB / 430.8 MB, free: 87.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.9139, allocations: 92.2 kB / 430.9 MB, free: 87.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.914, allocations: 3.797 kB / 430.9 MB, free: 87.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.9141, allocations: 327.3 kB / 431.2 MB, free: 87.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.9143, allocations: 81.42 kB / 431.3 MB, free: 87.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.9146, allocations: 187.9 kB / 431.5 MB, free: 87.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.9153, allocations: 176.7 kB / 431.6 MB, free: 87.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.9153, allocations: 2.094 kB / 431.6 MB, free: 87.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001224/0.9165, allocations: 420.8 kB / 432.1 MB, free: 87.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.9166, allocations: 10.38 kB / 432.1 MB, free: 87.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.9167, allocations: 37.19 kB / 432.1 MB, free: 87.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.917, allocations: 48.64 kB / 432.2 MB, free: 87.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.9176, allocations: 75.86 kB / 432.2 MB, free: 87.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.9197, allocations: 2.561 MB / 434.8 MB, free: 84.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.9204, allocations: 45.73 kB / 434.8 MB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.9205, allocations: 19.53 kB / 434.8 MB, free: 84.7 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.0001516/0.9207, allocations: 119.1 kB / 435 MB, free: 84.59 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001341/0.922, allocations: 435.9 kB / 435.4 MB, free: 84.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.9222, allocations: 103.4 kB / 435.5 MB, free: 84.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.924, allocations: 497.5 kB / 436 MB, free: 84.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.9241, allocations: 8.906 kB / 436 MB, free: 84.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9241, allocations: 3.938 kB / 436 MB, free: 84.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.9241, allocations: 0 / 436 MB, free: 84.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.9252, allocations: 0.5141 MB / 436.5 MB, free: 84.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.503e-05/0.9253, allocations: 32.03 kB / 436.5 MB, free: 84.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.9258, allocations: 51.08 kB / 436.6 MB, free: 84.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002616/0.9261, allocations: 45.3 kB / 436.6 MB, free: 84.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.9262, allocations: 7.516 kB / 436.6 MB, free: 84.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.9281, allocations: 2.552 MB / 439.2 MB, free: 81.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.9282, allocations: 1.062 kB / 439.2 MB, free: 81.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.9298, allocations: 0.5682 MB / 439.8 MB, free: 81.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.9302, allocations: 188.2 kB / 439.9 MB, free: 81.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.9304, allocations: 2.031 kB / 439.9 MB, free: 81.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.9309, allocations: 27.92 kB / 440 MB, free: 81.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.931, allocations: 30.02 kB / 440 MB, free: 81.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.9311, allocations: 11.06 kB / 440 MB, free: 81.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009398/0.932, allocations: 0.4996 MB / 440.5 MB, free: 81.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9321, allocations: 0 / 440.5 MB, free: 81.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001263/0.9333, allocations: 258.5 kB / 440.8 MB, free: 81.37 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.002668/0.936, allocations: 1.511 MB / 442.3 MB, free: 80.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.9371, allocations: 0.5079 MB / 442.8 MB, free: 80.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9372, allocations: 3.938 kB / 442.8 MB, free: 80.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.9378, allocations: 399.1 kB / 443.2 MB, free: 80.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.9385, allocations: 92.53 kB / 443.3 MB, free: 80.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.9425, allocations: 1.33 MB / 444.6 MB, free: 79.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.9429, allocations: 0.9691 MB / 445.6 MB, free: 79.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.9435, allocations: 335.1 kB / 445.9 MB, free: 79.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9435, allocations: 3.875 kB / 445.9 MB, free: 79.08 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.078/4.022, allocations: 20.94 MB / 466.8 MB, free: 74.24 MB / 362.7 MB