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 1.942/1.942, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.209e-05, allocations: 0 / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 44.52 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5578, allocations: 86.01 MB / 386 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5582, allocations: 73.75 kB / 386 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1476/0.7058, allocations: 43.54 MB / 429.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.7058, allocations: 0 / 429.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.7059, allocations: 15.34 kB / 429.6 MB, free: 15.82 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.00281/0.7087, allocations: 1.113 MB / 430.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.7088, allocations: 7.625 kB / 430.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.7089, allocations: 74.98 kB / 430.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.7092, allocations: 109.8 kB / 430.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.7109, allocations: 0.7193 MB / 431.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.7109, allocations: 21.84 kB / 431.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.711, allocations: 24.81 kB / 431.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.7117, allocations: 287.8 kB / 431.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.7118, allocations: 4 kB / 431.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.7118, allocations: 11.06 kB / 432 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.7119, allocations: 11.81 kB / 432 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.7125, allocations: 228 kB / 432.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.7155, allocations: 1.402 MB / 433.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.7162, allocations: 250.3 kB / 433.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.7167, allocations: 216.2 kB / 434 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007574/0.7243, allocations: 4.233 MB / 438.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004462/0.7248, allocations: 168.6 kB / 438.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.447e-06/0.7248, allocations: 3.938 kB / 438.4 MB, free: 9.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001051/0.7258, allocations: 384.5 kB / 438.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.7259, allocations: 58.22 kB / 438.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.7272, allocations: 0.7097 MB / 439.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.7273, allocations: 32.89 kB / 439.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.7277, allocations: 449.9 kB / 440.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.7279, allocations: 100.3 kB / 440.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.7279, allocations: 3.062 kB / 440.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7281, allocations: 324.9 kB / 440.5 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.7283, allocations: 91.61 kB / 440.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.7287, allocations: 192.1 kB / 440.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.729, allocations: 114.8 kB / 440.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.729, allocations: 3.906 kB / 440.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001126/0.7301, allocations: 484.9 kB / 441.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7302, allocations: 8.094 kB / 441.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.297e-05/0.7302, allocations: 34.81 kB / 441.4 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.7306, allocations: 51.53 kB / 441.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.7311, allocations: 81.69 kB / 441.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.7337, allocations: 2.643 MB / 444.2 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.7345, allocations: 54.3 kB / 444.2 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.7346, allocations: 20.28 kB / 444.2 MB, free: 5.52 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.0001741/0.7348, allocations: 129.9 kB / 444.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.735, allocations: 106.7 kB / 444.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.7366, allocations: 456 kB / 444.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.7366, allocations: 7.969 kB / 444.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.7366, allocations: 4 kB / 444.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7367, allocations: 0 / 444.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.7378, allocations: 0.5732 MB / 445.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.773e-05/0.7379, allocations: 31.98 kB / 445.5 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.7384, allocations: 47.97 kB / 445.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.7387, allocations: 47.94 kB / 445.6 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.7387, allocations: 10.67 kB / 445.6 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.7415, allocations: 2.637 MB / 448.3 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7415, allocations: 4.031 kB / 448.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.743, allocations: 0.53 MB / 448.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.7434, allocations: 194.4 kB / 449 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7435, allocations: 3.75 kB / 449 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.744, allocations: 19.94 kB / 449 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.7441, allocations: 31.64 kB / 449 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.7442, allocations: 11.75 kB / 449.1 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.7453, allocations: 0.55 MB / 449.6 MB, free: 492 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7454, allocations: 0 / 449.6 MB, free: 492 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001206/0.7466, allocations: 289.5 kB / 449.9 MB, free: 216 kB / 330.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.002818/0.7494, allocations: 1.411 MB / 451.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.7507, allocations: 0.5332 MB / 451.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7508, allocations: 4.062 kB / 451.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.7515, allocations: 414.1 kB / 452.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.7523, allocations: 94.02 kB / 452.3 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.7565, allocations: 1.321 MB / 453.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.7573, allocations: 0.9719 MB / 454.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005664/0.7579, allocations: 93.7 kB / 454.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/0.7584, allocations: 336 kB / 455 MB, free: 11.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.763e-06/0.7584, allocations: 4 kB / 455 MB, free: 11.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06222/0.8207, allocations: 18.71 MB / 473.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004103/0.8212, allocations: 192.7 kB / 473.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/4.241, allocations: 0 / 473.9 MB, free: 8.695 MB / 362.7 MB