Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.474e-05, allocations: 0 / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1522, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4963/0.6485, allocations: 86.02 MB / 386 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6488, allocations: 71.48 kB / 386.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.127/0.7759, allocations: 43.54 MB / 429.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.776, allocations: 0 / 429.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.622e-05/0.776, allocations: 11.62 kB / 429.6 MB, free: 15.39 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.002598/0.7786, allocations: 1.105 MB / 430.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.7787, allocations: 7.75 kB / 430.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.7788, allocations: 72.42 kB / 430.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.779, allocations: 112.9 kB / 430.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.7806, allocations: 0.7157 MB / 431.6 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.7807, allocations: 20.78 kB / 431.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.7808, allocations: 26.19 kB / 431.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.7814, allocations: 285.9 kB / 432 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7815, allocations: 0 / 432 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.7815, allocations: 14.81 kB / 432 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.7816, allocations: 11.7 kB / 432 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.7821, allocations: 226.2 kB / 432.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.785, allocations: 1.401 MB / 433.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.7856, allocations: 246.5 kB / 433.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.786, allocations: 217.3 kB / 434.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007312/0.7934, allocations: 4.23 MB / 438.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.7938, allocations: 172.8 kB / 438.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.136e-06/0.7938, allocations: 0 / 438.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009812/0.7948, allocations: 384.6 kB / 438.8 MB, free: 8.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.7949, allocations: 55.47 kB / 438.9 MB, free: 8.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.7961, allocations: 0.7084 MB / 439.6 MB, free: 8.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.7961, allocations: 29.52 kB / 439.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/0.7966, allocations: 457.9 kB / 440.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.7967, allocations: 94.09 kB / 440.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.7968, allocations: 8.688 kB / 440.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.7969, allocations: 320.4 kB / 440.5 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.7972, allocations: 88.61 kB / 440.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.7975, allocations: 194.7 kB / 440.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.7978, allocations: 120.3 kB / 440.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7978, allocations: 3.75 kB / 440.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001079/0.7989, allocations: 472.1 kB / 441.3 MB, free: 7.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.7989, allocations: 9.844 kB / 441.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-05/0.799, allocations: 31.22 kB / 441.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.7993, allocations: 56.66 kB / 441.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.7999, allocations: 76.17 kB / 441.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.8025, allocations: 2.642 MB / 444.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.8033, allocations: 58.78 kB / 444.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.8034, allocations: 15.5 kB / 444.2 MB, free: 5.105 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.000175/0.8036, allocations: 138.9 kB / 444.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.8037, allocations: 101 kB / 444.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.8053, allocations: 464.3 kB / 444.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.8053, allocations: 0 / 444.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8053, allocations: 7.984 kB / 444.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.8053, allocations: 0 / 444.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.8063, allocations: 0.5705 MB / 445.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.372e-05/0.8064, allocations: 28 kB / 445.5 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.8069, allocations: 47.95 kB / 445.6 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/0.8072, allocations: 52 kB / 445.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.8072, allocations: 7.688 kB / 445.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.8098, allocations: 2.632 MB / 448.3 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8099, allocations: 4.125 kB / 448.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.8113, allocations: 0.5293 MB / 448.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.8117, allocations: 188.9 kB / 449 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.8118, allocations: 11.36 kB / 449 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.8123, allocations: 31.38 kB / 449 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.8125, allocations: 26.72 kB / 449 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.8125, allocations: 15.3 kB / 449.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.8136, allocations: 0.5513 MB / 449.6 MB, free: 116 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8136, allocations: 0 / 449.6 MB, free: 116 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001291/0.8149, allocations: 281 kB / 449.9 MB, free: 15.85 MB / 346.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.002621/0.8176, allocations: 1.414 MB / 451.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.8187, allocations: 0.5118 MB / 451.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8188, allocations: 0 / 451.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007091/0.8195, allocations: 407.5 kB / 452.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.8202, allocations: 94.27 kB / 452.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.8242, allocations: 1.319 MB / 453.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.8249, allocations: 0.9719 MB / 454.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005375/0.8255, allocations: 97.72 kB / 454.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.8261, allocations: 332.2 kB / 455 MB, free: 11.26 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8261, allocations: 0 / 455 MB, free: 11.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/0.8906, allocations: 18.68 MB / 473.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/0.8911, allocations: 191.5 kB / 473.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/4.149, allocations: 0 / 473.9 MB, free: 8.418 MB / 362.7 MB