Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.718e-05, allocations: 0 / 292.7 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 50.4 MB / 343.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5572, allocations: 93.58 MB / 436.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.5575, allocations: 73.95 kB / 436.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1997/0.7571, allocations: 61.02 MB / 497.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.34e-06/0.7572, allocations: 0 / 497.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.455e-05/0.7573, allocations: 31.94 kB / 497.8 MB, free: 6.84 MB / 378.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.004586/0.7619, allocations: 1.724 MB / 499.6 MB, free: 5.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.762, allocations: 8.031 kB / 499.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.7622, allocations: 106.4 kB / 499.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.7627, allocations: 221.4 kB / 499.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.766, allocations: 1.259 MB / 0.4894 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.7661, allocations: 45.31 kB / 0.4894 GB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.7663, allocations: 56 kB / 0.4895 GB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.7679, allocations: 0.6173 MB / 0.4901 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.7679, allocations: 0 / 0.4901 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.768, allocations: 20 kB / 0.4901 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.7681, allocations: 27.97 kB / 0.4901 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.7693, allocations: 462.6 kB / 0.4906 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/0.7754, allocations: 2.601 MB / 0.4931 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.7766, allocations: 0.5213 MB / 0.4936 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.7777, allocations: 487 kB / 0.4941 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/0.794, allocations: 8.767 MB / 0.5027 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008493/0.7949, allocations: 325.2 kB / 0.503 GB, free: 3.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.586e-06/0.795, allocations: 0 / 0.503 GB, free: 3.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.00257/0.7975, allocations: 0.8797 MB / 0.5038 GB, free: 3.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.7976, allocations: 81.55 kB / 0.5039 GB, free: 2.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.8003, allocations: 1.25 MB / 0.5051 GB, free: 1.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.8005, allocations: 37.7 kB / 0.5052 GB, free: 1.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.8016, allocations: 0.8093 MB / 0.506 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.8019, allocations: 220.8 kB / 0.5062 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.802, allocations: 20 kB / 0.5062 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.8021, allocations: 334 kB / 0.5065 GB, free: 272 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/0.8027, allocations: 197.8 kB / 0.5067 GB, free: 76 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/0.8035, allocations: 388.7 kB / 0.5071 GB, free: 15.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.8042, allocations: 257.8 kB / 0.5073 GB, free: 15.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.8042, allocations: 8 kB / 0.5073 GB, free: 15.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002709/0.8069, allocations: 0.9977 MB / 0.5083 GB, free: 14.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.807, allocations: 11.98 kB / 0.5083 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/0.8072, allocations: 71.98 kB / 0.5084 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.8092, allocations: 0.6956 MB / 0.5091 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.8102, allocations: 123.9 kB / 0.5092 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.8123, allocations: 1.108 MB / 0.5103 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.8138, allocations: 103.3 kB / 0.5104 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.814, allocations: 36 kB / 0.5104 GB, free: 12.16 MB / 410.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.0002474/0.8142, allocations: 147.7 kB / 0.5105 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.8146, allocations: 205.6 kB / 0.5107 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/0.8181, allocations: 1.025 MB / 0.5117 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.8181, allocations: 8 kB / 0.5117 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.8181, allocations: 3.938 kB / 0.5117 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.8182, allocations: 0 / 0.5117 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.8202, allocations: 1.014 MB / 0.5127 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001915/0.8205, allocations: 67.98 kB / 0.5128 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/0.8212, allocations: 71.94 kB / 0.5129 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/0.8231, allocations: 0.6702 MB / 0.5135 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/0.8232, allocations: 20 kB / 0.5135 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.8252, allocations: 1.081 MB / 0.5146 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8252, allocations: 4.062 kB / 0.5146 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.8284, allocations: 1.219 MB / 0.5158 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/0.8292, allocations: 294.6 kB / 0.5161 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.8295, allocations: 12 kB / 0.5161 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009582/0.8305, allocations: 47.89 kB / 0.5161 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.8307, allocations: 52.36 kB / 0.5162 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/0.8308, allocations: 27.98 kB / 0.5162 GB, free: 6.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002029/0.8329, allocations: 0.9577 MB / 0.5171 GB, free: 5.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8329, allocations: 0 / 0.5171 GB, free: 5.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001739/0.8346, allocations: 491.1 kB / 0.5176 GB, free: 4.605 MB / 410.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.004746/0.8394, allocations: 2.231 MB / 0.5198 GB, free: 2.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.8419, allocations: 0.7245 MB / 0.5205 GB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8419, allocations: 3.938 kB / 0.5205 GB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.8434, allocations: 461.4 kB / 0.5209 GB, free: 1.141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.845, allocations: 203.6 kB / 0.5211 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.8534, allocations: 2.675 MB / 0.5237 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.8545, allocations: 1.255 MB / 0.525 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001009/0.8556, allocations: 183.2 kB / 0.5251 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.8567, allocations: 0.6203 MB / 0.5257 GB, free: 12.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/0.8567, allocations: 0 / 0.5257 GB, free: 12.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4095/1.266, allocations: 32.27 MB / 0.5573 GB, free: 115.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/1.267, allocations: 202.6 kB / 0.5574 GB, free: 115.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/5.105, allocations: 4 kB / 0.5575 GB, free: 115.5 MB / 442.7 MB