Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.777/1.777, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.71e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.285, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.502, allocations: 81.88 MB / 345.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5023, allocations: 75.95 kB / 345.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3624/0.8647, allocations: 44.01 MB / 389.8 MB, free: 80.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8648, allocations: 0 / 389.8 MB, free: 80.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.902e-05/0.8649, allocations: 11.56 kB / 389.8 MB, free: 80.82 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.002621/0.8675, allocations: 1.105 MB / 390.9 MB, free: 80.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.8676, allocations: 10.94 kB / 390.9 MB, free: 80.11 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.8677, allocations: 64.66 kB / 391 MB, free: 80.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.868, allocations: 120.3 kB / 391.1 MB, free: 79.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.8695, allocations: 0.7167 MB / 391.8 MB, free: 79.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.8696, allocations: 19.38 kB / 391.9 MB, free: 79.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.282e-05/0.8696, allocations: 28.69 kB / 391.9 MB, free: 79.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.8704, allocations: 281 kB / 392.2 MB, free: 79.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.8704, allocations: 0 / 392.2 MB, free: 79.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.8704, allocations: 13.31 kB / 392.2 MB, free: 79.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.8705, allocations: 11.8 kB / 392.2 MB, free: 79.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/0.871, allocations: 225 kB / 392.4 MB, free: 79.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.8739, allocations: 1.395 MB / 393.8 MB, free: 77.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.8746, allocations: 234 kB / 394 MB, free: 77.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.875, allocations: 224.5 kB / 394.2 MB, free: 77.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006496/0.8815, allocations: 4.229 MB / 398.5 MB, free: 72.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.882, allocations: 166.4 kB / 398.6 MB, free: 72.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.416e-06/0.882, allocations: 0 / 398.6 MB, free: 72.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009863/0.883, allocations: 385.3 kB / 399 MB, free: 72.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.8831, allocations: 59.53 kB / 399.1 MB, free: 72.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.8844, allocations: 0.7168 MB / 399.8 MB, free: 71.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.8845, allocations: 33.7 kB / 399.8 MB, free: 71.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.8848, allocations: 426 kB / 400.2 MB, free: 71.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.8849, allocations: 110 kB / 400.3 MB, free: 71.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.885, allocations: 4 kB / 400.4 MB, free: 71.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.8851, allocations: 326.6 kB / 400.7 MB, free: 70.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.8853, allocations: 88.77 kB / 400.8 MB, free: 70.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.8856, allocations: 195.7 kB / 400.9 MB, free: 70.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.8859, allocations: 123.5 kB / 401.1 MB, free: 70.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8859, allocations: 0 / 401.1 MB, free: 70.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009438/0.8869, allocations: 375.9 kB / 401.4 MB, free: 69.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.8869, allocations: 8 kB / 401.4 MB, free: 69.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.361e-05/0.887, allocations: 30.91 kB / 401.5 MB, free: 69.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.8873, allocations: 57.84 kB / 401.5 MB, free: 69.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.8879, allocations: 84.06 kB / 401.6 MB, free: 69.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.8899, allocations: 2.636 MB / 404.2 MB, free: 66.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/0.8907, allocations: 54.8 kB / 404.3 MB, free: 66.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/0.8908, allocations: 20 kB / 404.3 MB, free: 66.89 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.0001421/0.891, allocations: 128.8 kB / 404.4 MB, free: 66.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.8911, allocations: 102.8 kB / 404.5 MB, free: 66.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.8926, allocations: 454.4 kB / 405 MB, free: 66.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.8926, allocations: 4 kB / 405 MB, free: 66.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8926, allocations: 3.953 kB / 405 MB, free: 66.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.8927, allocations: 0 / 405 MB, free: 66.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.8937, allocations: 0.5672 MB / 405.6 MB, free: 65.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.607e-05/0.8938, allocations: 31.98 kB / 405.6 MB, free: 65.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.8943, allocations: 55.75 kB / 405.7 MB, free: 65.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.8945, allocations: 53.69 kB / 405.7 MB, free: 65.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.8946, allocations: 8 kB / 405.7 MB, free: 65.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.8965, allocations: 2.642 MB / 408.4 MB, free: 62.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8965, allocations: 8.156 kB / 408.4 MB, free: 62.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.8978, allocations: 0.5332 MB / 408.9 MB, free: 62.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.8982, allocations: 187.8 kB / 409.1 MB, free: 61.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.8983, allocations: 4 kB / 409.1 MB, free: 61.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.8988, allocations: 24.05 kB / 409.1 MB, free: 61.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.8989, allocations: 23.95 kB / 409.1 MB, free: 61.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.899, allocations: 16 kB / 409.1 MB, free: 61.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.9, allocations: 0.5516 MB / 409.7 MB, free: 61.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9, allocations: 0 / 409.7 MB, free: 61.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001149/0.9012, allocations: 283.6 kB / 410 MB, free: 61 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.002277/0.9035, allocations: 1.415 MB / 411.4 MB, free: 59.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.9046, allocations: 0.5119 MB / 411.9 MB, free: 59.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9046, allocations: 4 kB / 411.9 MB, free: 59.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.9052, allocations: 402 kB / 412.3 MB, free: 58.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.9059, allocations: 92.39 kB / 412.4 MB, free: 58.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.9097, allocations: 1.364 MB / 413.8 MB, free: 57.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.9102, allocations: 0.9756 MB / 414.7 MB, free: 56.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.9107, allocations: 343.3 kB / 415.1 MB, free: 55.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.9108, allocations: 0 / 415.1 MB, free: 55.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.075/3.986, allocations: 20.95 MB / 436 MB, free: 34.78 MB / 314.7 MB