Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.191/2.191, allocations: 225.8 MB / 238.8 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.27e-05, allocations: 7.984 kB / 292.2 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 50.4 MB / 342.6 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5752, allocations: 93.83 MB / 436.5 MB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.5755, allocations: 76.39 kB / 436.5 MB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2081/0.7837, allocations: 61.02 MB / 497.6 MB, free: 7.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.7837, allocations: 3.062 kB / 497.6 MB, free: 7.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.7839, allocations: 32 kB / 497.6 MB, free: 7.594 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004982/0.7888, allocations: 1.728 MB / 499.3 MB, free: 5.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.7889, allocations: 8.031 kB / 499.3 MB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.7892, allocations: 102.5 kB / 499.4 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/0.7897, allocations: 225.4 kB / 499.7 MB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.7931, allocations: 1.255 MB / 0.4892 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.7932, allocations: 41.31 kB / 0.4892 GB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.7934, allocations: 55.91 kB / 0.4893 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.795, allocations: 0.6212 MB / 0.4899 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7951, allocations: 0 / 0.4899 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/0.7952, allocations: 24 kB / 0.4899 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.7952, allocations: 19.98 kB / 0.4899 GB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.7966, allocations: 458.6 kB / 0.4903 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006268/0.8029, allocations: 2.606 MB / 0.4929 GB, free: 192 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.8041, allocations: 0.5097 MB / 0.4934 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.8052, allocations: 499.7 kB / 0.4939 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/0.8215, allocations: 8.771 MB / 0.5024 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008531/0.8224, allocations: 321.2 kB / 0.5027 GB, free: 4.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.637e-06/0.8224, allocations: 4 kB / 0.5027 GB, free: 4.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.002577/0.825, allocations: 0.8758 MB / 0.5036 GB, free: 3.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.8251, allocations: 81.55 kB / 0.5037 GB, free: 3.742 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.8277, allocations: 1.254 MB / 0.5049 GB, free: 2.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.8279, allocations: 37.64 kB / 0.5049 GB, free: 2.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.829, allocations: 0.8055 MB / 0.5057 GB, free: 1.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.8294, allocations: 220.8 kB / 0.5059 GB, free: 1.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.8295, allocations: 16 kB / 0.5059 GB, free: 1.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8296, allocations: 330 kB / 0.5063 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.8302, allocations: 197.8 kB / 0.5064 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.831, allocations: 391.9 kB / 0.5068 GB, free: 384 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.8317, allocations: 257.9 kB / 0.5071 GB, free: 128 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.8317, allocations: 0 / 0.5071 GB, free: 128 kB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002746/0.8345, allocations: 1.014 MB / 0.5081 GB, free: 15.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.8345, allocations: 4 kB / 0.5081 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/0.8347, allocations: 79.97 kB / 0.5081 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.8368, allocations: 0.6875 MB / 0.5088 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.8379, allocations: 127.8 kB / 0.5089 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.8402, allocations: 1.108 MB / 0.51 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.8416, allocations: 107.2 kB / 0.5101 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.8417, allocations: 32 kB / 0.5101 GB, free: 12.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.842, allocations: 148.8 kB / 0.5103 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.8423, allocations: 197.7 kB / 0.5105 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.8457, allocations: 1.033 MB / 0.5115 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.8458, allocations: 11.94 kB / 0.5115 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8458, allocations: 0 / 0.5115 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.8458, allocations: 0 / 0.5115 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.8478, allocations: 1.014 MB / 0.5125 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000175/0.848, allocations: 68.11 kB / 0.5126 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/0.8487, allocations: 71.94 kB / 0.5126 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.8506, allocations: 0.6741 MB / 0.5133 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.514e-05/0.8507, allocations: 16 kB / 0.5133 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.8527, allocations: 1.081 MB / 0.5144 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8527, allocations: 4 kB / 0.5144 GB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.8558, allocations: 1.215 MB / 0.5155 GB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/0.8566, allocations: 290.6 kB / 0.5158 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.8569, allocations: 19.94 kB / 0.5158 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/0.8579, allocations: 43.95 kB / 0.5159 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.8581, allocations: 52.36 kB / 0.5159 GB, free: 6.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.8582, allocations: 27.98 kB / 0.516 GB, free: 6.828 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002044/0.8602, allocations: 0.9577 MB / 0.5169 GB, free: 5.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8602, allocations: 0 / 0.5169 GB, free: 5.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001682/0.8619, allocations: 491.1 kB / 0.5174 GB, free: 5.363 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.004754/0.8667, allocations: 2.234 MB / 0.5195 GB, free: 3.102 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.8692, allocations: 0.7166 MB / 0.5202 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8692, allocations: 0 / 0.5202 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.8708, allocations: 481.4 kB / 0.5207 GB, free: 1.891 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.8723, allocations: 202.9 kB / 0.5209 GB, free: 1.688 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2881/1.16, allocations: 2.673 MB / 0.5235 GB, free: 117.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.162, allocations: 1.254 MB / 0.5247 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001081/1.163, allocations: 176.9 kB / 0.5249 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.164, allocations: 0.6222 MB / 0.5255 GB, free: 116.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/1.164, allocations: 0 / 0.5255 GB, free: 116.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08882/1.253, allocations: 32.27 MB / 0.557 GB, free: 114.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/1.253, allocations: 199.4 kB / 0.5572 GB, free: 114.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4/5.253, allocations: 4 kB / 0.5572 GB, free: 114.3 MB / 442.7 MB