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.684/1.684, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.443e-05/4.455e-05, allocations: 3.984 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 38.76 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.4388, allocations: 81.88 MB / 345.7 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4392, allocations: 71.95 kB / 345.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3666/0.8058, allocations: 44 MB / 389.8 MB, free: 81.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.8059, allocations: 3.5 kB / 389.8 MB, free: 81.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.657e-05/0.8059, allocations: 10.97 kB / 389.8 MB, free: 81.31 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.002317/0.8083, allocations: 1.107 MB / 390.9 MB, free: 80.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8083, allocations: 12.62 kB / 390.9 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.427e-05/0.8084, allocations: 64.47 kB / 391 MB, free: 80.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.8087, allocations: 123.1 kB / 391.1 MB, free: 80.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.8101, allocations: 0.7137 MB / 391.8 MB, free: 79.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.8102, allocations: 21.22 kB / 391.8 MB, free: 79.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.8103, allocations: 27.91 kB / 391.9 MB, free: 79.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.811, allocations: 297 kB / 392.1 MB, free: 79.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.811, allocations: 0 / 392.1 MB, free: 79.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.8111, allocations: 19.83 kB / 392.2 MB, free: 79.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.8111, allocations: 8 kB / 392.2 MB, free: 79.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005427/0.8117, allocations: 219.3 kB / 392.4 MB, free: 79.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.8145, allocations: 1.391 MB / 393.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.8151, allocations: 243.4 kB / 394 MB, free: 77.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.8156, allocations: 219.5 kB / 394.2 MB, free: 77.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006171/0.8217, allocations: 4.24 MB / 398.5 MB, free: 73.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.8222, allocations: 163.7 kB / 398.6 MB, free: 72.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.437e-06/0.8222, allocations: 0 / 398.6 MB, free: 72.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009617/0.8232, allocations: 382.7 kB / 399 MB, free: 72.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.8232, allocations: 59.59 kB / 399.1 MB, free: 72.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.8244, allocations: 0.7091 MB / 399.8 MB, free: 71.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.8244, allocations: 33.7 kB / 399.8 MB, free: 71.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.8248, allocations: 431.5 kB / 400.2 MB, free: 71.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.8249, allocations: 103.5 kB / 400.3 MB, free: 71.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.8249, allocations: 4 kB / 400.3 MB, free: 71.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.825, allocations: 324.7 kB / 400.6 MB, free: 71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.8252, allocations: 88.77 kB / 400.7 MB, free: 70.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.8255, allocations: 198.2 kB / 400.9 MB, free: 70.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.8258, allocations: 124.9 kB / 401 MB, free: 70.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.8258, allocations: 4 kB / 401 MB, free: 70.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009252/0.8268, allocations: 384.7 kB / 401.4 MB, free: 70.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.8268, allocations: 8 kB / 401.4 MB, free: 70.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-05/0.8269, allocations: 35.88 kB / 401.5 MB, free: 70.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.8272, allocations: 53.42 kB / 401.5 MB, free: 70.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.8278, allocations: 82.78 kB / 401.6 MB, free: 70.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.8296, allocations: 2.646 MB / 404.2 MB, free: 67.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.8304, allocations: 47.44 kB / 404.3 MB, free: 67.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.8305, allocations: 16 kB / 404.3 MB, free: 67.12 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.0001386/0.8307, allocations: 140.7 kB / 404.4 MB, free: 66.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.8308, allocations: 110.7 kB / 404.6 MB, free: 66.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.8323, allocations: 447 kB / 405 MB, free: 66.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8323, allocations: 4 kB / 405 MB, free: 66.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8323, allocations: 3.953 kB / 405 MB, free: 66.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.8323, allocations: 3.891 kB / 405 MB, free: 66.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009424/0.8333, allocations: 0.5817 MB / 405.6 MB, free: 65.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.637e-05/0.8334, allocations: 28 kB / 405.6 MB, free: 65.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.8338, allocations: 42.97 kB / 405.7 MB, free: 65.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.8341, allocations: 57.72 kB / 405.7 MB, free: 65.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.8341, allocations: 4 kB / 405.7 MB, free: 65.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.836, allocations: 2.646 MB / 408.4 MB, free: 62.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.836, allocations: 0 / 408.4 MB, free: 62.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.8373, allocations: 0.5372 MB / 408.9 MB, free: 62.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.8377, allocations: 183.8 kB / 409.1 MB, free: 62.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.8378, allocations: 11.98 kB / 409.1 MB, free: 62.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.8383, allocations: 19.98 kB / 409.1 MB, free: 62.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.8385, allocations: 27.91 kB / 409.1 MB, free: 62.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.8385, allocations: 11.98 kB / 409.1 MB, free: 62.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009579/0.8395, allocations: 0.5555 MB / 409.7 MB, free: 61.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8395, allocations: 0 / 409.7 MB, free: 61.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001146/0.8407, allocations: 287.5 kB / 410 MB, free: 61.23 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.002395/0.8431, allocations: 1.409 MB / 411.4 MB, free: 59.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.8442, allocations: 0.5346 MB / 411.9 MB, free: 59.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8443, allocations: 0 / 411.9 MB, free: 59.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.8449, allocations: 410.9 kB / 412.3 MB, free: 58.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.8456, allocations: 96.39 kB / 412.4 MB, free: 58.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.8497, allocations: 1.367 MB / 413.8 MB, free: 57.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.8501, allocations: 0.9795 MB / 414.8 MB, free: 56.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/0.8507, allocations: 335.3 kB / 415.1 MB, free: 55.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8507, allocations: 0 / 415.1 MB, free: 55.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.073/3.924, allocations: 21.01 MB / 436.1 MB, free: 34.92 MB / 314.7 MB