Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.33e-05, allocations: 8 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.5715, allocations: 92.75 MB / 435.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5718, allocations: 75.08 kB / 435.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1545/0.7264, allocations: 46.27 MB / 481.7 MB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7264, allocations: 0 / 481.7 MB, free: 7.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.501e-05/0.7265, allocations: 12 kB / 481.7 MB, free: 7.801 MB / 394.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.00299/0.7295, allocations: 1.109 MB / 482.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.7296, allocations: 12.02 kB / 482.9 MB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.7297, allocations: 66.55 kB / 482.9 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.73, allocations: 116 kB / 483 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.7319, allocations: 0.7118 MB / 483.7 MB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.732, allocations: 28.45 kB / 483.8 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.7321, allocations: 28 kB / 483.8 MB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.7329, allocations: 289 kB / 484.1 MB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.733, allocations: 0 / 484.1 MB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.733, allocations: 16 kB / 484.1 MB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.7331, allocations: 4 kB / 484.1 MB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.7337, allocations: 229.2 kB / 484.3 MB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.7371, allocations: 1.388 MB / 485.7 MB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.7378, allocations: 243.5 kB / 486 MB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.7383, allocations: 220.7 kB / 486.2 MB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008529/0.7469, allocations: 4.236 MB / 490.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.7474, allocations: 168.3 kB / 490.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 5.59e-06/0.7474, allocations: 0 / 490.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001159/0.7486, allocations: 386.9 kB / 491 MB, free: 13.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.7486, allocations: 55.59 kB / 491 MB, free: 13.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.7501, allocations: 0.7209 MB / 491.7 MB, free: 12.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.7502, allocations: 29.7 kB / 491.8 MB, free: 12.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.7507, allocations: 430.4 kB / 492.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.7508, allocations: 94.64 kB / 492.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.7509, allocations: 8 kB / 492.3 MB, free: 12.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.751, allocations: 326.8 kB / 492.6 MB, free: 12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.7513, allocations: 88.77 kB / 492.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.7518, allocations: 203.7 kB / 492.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.7521, allocations: 115.9 kB / 493 MB, free: 11.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.7521, allocations: 4 kB / 493 MB, free: 11.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001086/0.7532, allocations: 366.7 kB / 493.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.7533, allocations: 12.38 kB / 493.4 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.523e-05/0.7534, allocations: 43.98 kB / 493.4 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003158/0.7537, allocations: 57.62 kB / 493.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.7543, allocations: 83.75 kB / 493.5 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.7571, allocations: 2.631 MB / 496.2 MB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.7579, allocations: 51.52 kB / 496.2 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.7579, allocations: 20 kB / 496.2 MB, free: 8.012 MB / 410.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.0001622/0.7581, allocations: 128.9 kB / 496.4 MB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.7583, allocations: 110.7 kB / 496.5 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.7599, allocations: 454.1 kB / 496.9 MB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.7599, allocations: 4 kB / 496.9 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7599, allocations: 0 / 496.9 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7599, allocations: 3.984 kB / 496.9 MB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009693/0.7609, allocations: 0.5701 MB / 497.5 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.189e-05/0.761, allocations: 28 kB / 497.5 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.7615, allocations: 47.95 kB / 497.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/0.7617, allocations: 45.69 kB / 497.6 MB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.7618, allocations: 12 kB / 497.6 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.7644, allocations: 2.647 MB / 0.4886 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7644, allocations: 0 / 0.4886 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.766, allocations: 0.5255 MB / 0.4891 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.7664, allocations: 191.8 kB / 0.4893 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.7666, allocations: 4.125 kB / 0.4893 GB, free: 2.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.7671, allocations: 23.97 kB / 0.4893 GB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.7672, allocations: 31.91 kB / 0.4893 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.7673, allocations: 8 kB / 0.4893 GB, free: 2.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.7684, allocations: 0.5593 MB / 0.4899 GB, free: 2.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7685, allocations: 4 kB / 0.4899 GB, free: 2.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001132/0.7696, allocations: 283.5 kB / 0.4901 GB, free: 1.961 MB / 410.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.002718/0.7723, allocations: 1.408 MB / 0.4915 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.7736, allocations: 0.5213 MB / 0.492 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7736, allocations: 0 / 0.492 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007051/0.7743, allocations: 397.2 kB / 0.4924 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008624/0.7752, allocations: 108.2 kB / 0.4925 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.7793, allocations: 1.36 MB / 0.4938 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/0.78, allocations: 0.9758 MB / 0.4948 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/0.7807, allocations: 339.3 kB / 0.4951 GB, free: 12.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7807, allocations: 0 / 0.4951 GB, free: 12.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.007/3.788, allocations: 20.98 MB / 0.5156 GB, free: 7.715 MB / 442.7 MB