Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.618e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.526, allocations: 86.01 MB / 385.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5263, allocations: 79.48 kB / 386 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1447/0.671, allocations: 43.54 MB / 429.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6711, allocations: 0 / 429.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.6712, allocations: 15.19 kB / 429.6 MB, free: 15.93 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.002756/0.6739, allocations: 1.109 MB / 430.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.674, allocations: 7.75 kB / 430.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.6741, allocations: 75.23 kB / 430.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.6744, allocations: 111.8 kB / 430.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.6762, allocations: 0.7149 MB / 431.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.6763, allocations: 18.47 kB / 431.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.6764, allocations: 30.14 kB / 431.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.6772, allocations: 291.9 kB / 431.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.6772, allocations: 0 / 431.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.6773, allocations: 7.5 kB / 431.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.6773, allocations: 11.67 kB / 431.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.6779, allocations: 232.8 kB / 432.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.6813, allocations: 1.402 MB / 433.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.6819, allocations: 243.9 kB / 433.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.6824, allocations: 210.5 kB / 434 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007447/0.6898, allocations: 4.239 MB / 438.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.6904, allocations: 171.1 kB / 438.4 MB, free: 9.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.967e-06/0.6904, allocations: 0 / 438.4 MB, free: 9.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001102/0.6915, allocations: 383 kB / 438.8 MB, free: 9.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.6916, allocations: 54.78 kB / 438.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.6929, allocations: 0.7084 MB / 439.6 MB, free: 9.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/0.693, allocations: 33.14 kB / 439.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.6934, allocations: 434.8 kB / 440 MB, free: 8.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6936, allocations: 102.1 kB / 440.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.6936, allocations: 3.562 kB / 440.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6938, allocations: 325.9 kB / 440.4 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.694, allocations: 90.48 kB / 440.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.6944, allocations: 199.3 kB / 440.7 MB, free: 8.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.6947, allocations: 116.3 kB / 440.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.6947, allocations: 0 / 440.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009937/0.6957, allocations: 390.9 kB / 441.2 MB, free: 8.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6958, allocations: 7.75 kB / 441.2 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.838e-05/0.6959, allocations: 34.73 kB / 441.3 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.6962, allocations: 60 kB / 441.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.6967, allocations: 78.17 kB / 441.4 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.6995, allocations: 2.644 MB / 444 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.7002, allocations: 50.28 kB / 444.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.7003, allocations: 18.97 kB / 444.1 MB, free: 5.633 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.0001743/0.7005, allocations: 133.5 kB / 444.2 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.7007, allocations: 108.4 kB / 444.3 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.7022, allocations: 455.6 kB / 444.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7022, allocations: 7.766 kB / 444.8 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7023, allocations: 0 / 444.8 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.7023, allocations: 7.859 kB / 444.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.7033, allocations: 0.5668 MB / 445.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.817e-05/0.7034, allocations: 29.38 kB / 445.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.7039, allocations: 51.52 kB / 445.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.7042, allocations: 48.56 kB / 445.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.7042, allocations: 7.25 kB / 445.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.707, allocations: 2.644 MB / 448.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.707, allocations: 3.938 kB / 448.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.7086, allocations: 0.5265 MB / 448.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.709, allocations: 191.3 kB / 448.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.7092, allocations: 11.61 kB / 448.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.7097, allocations: 24.06 kB / 448.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.7098, allocations: 25.34 kB / 448.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.7099, allocations: 11.98 kB / 448.9 MB, free: 1.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001182/0.7111, allocations: 0.5555 MB / 449.5 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7111, allocations: 0 / 449.5 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001251/0.7124, allocations: 278.4 kB / 449.8 MB, free: 0.7109 MB / 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.002784/0.7152, allocations: 1.415 MB / 451.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.7165, allocations: 0.5275 MB / 451.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7166, allocations: 0.875 kB / 451.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.7173, allocations: 422.7 kB / 452.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.7181, allocations: 89.45 kB / 452.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.7227, allocations: 1.357 MB / 453.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/0.7234, allocations: 0.9758 MB / 454.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006032/0.724, allocations: 333.7 kB / 454.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7241, allocations: 0 / 454.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.986/3.71, allocations: 21.01 MB / 475.9 MB, free: 7.32 MB / 362.7 MB