Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.305e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09721, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.505, allocations: 91.32 MB / 408.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5053, allocations: 74.08 kB / 408.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1939/0.6992, allocations: 57.32 MB / 465.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6993, allocations: 0 / 465.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.374e-05/0.6994, allocations: 24 kB / 465.8 MB, free: 10.59 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.004689/0.7041, allocations: 1.732 MB / 467.5 MB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.7041, allocations: 12.03 kB / 467.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.7044, allocations: 106.5 kB / 467.6 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.7049, allocations: 221.4 kB / 467.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.7083, allocations: 1.255 MB / 469.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.434e-05/0.7084, allocations: 41.3 kB / 469.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.7086, allocations: 56 kB / 469.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.7103, allocations: 0.6212 MB / 469.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.7104, allocations: 4 kB / 469.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/0.7105, allocations: 20 kB / 469.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.7105, allocations: 23.95 kB / 469.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.7119, allocations: 458.6 kB / 470.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006112/0.718, allocations: 2.594 MB / 472.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.7193, allocations: 0.5248 MB / 473.4 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.7204, allocations: 495 kB / 473.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/0.7368, allocations: 8.763 MB / 482.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008277/0.7377, allocations: 325.1 kB / 483 MB, free: 7.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.266e-06/0.7377, allocations: 0 / 483 MB, free: 7.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.002405/0.7401, allocations: 0.8719 MB / 483.8 MB, free: 6.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.7402, allocations: 93.53 kB / 483.9 MB, free: 6.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.7427, allocations: 1.25 MB / 485.2 MB, free: 5.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.7428, allocations: 37.7 kB / 485.2 MB, free: 5.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.7439, allocations: 0.805 MB / 486 MB, free: 4.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.7442, allocations: 228.7 kB / 486.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.7442, allocations: 12 kB / 486.3 MB, free: 4.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7444, allocations: 330 kB / 486.6 MB, free: 4.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.745, allocations: 197.8 kB / 486.8 MB, free: 3.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.7457, allocations: 399.9 kB / 487.2 MB, free: 3.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.7464, allocations: 253.7 kB / 487.4 MB, free: 3.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.7464, allocations: 0 / 487.4 MB, free: 3.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002484/0.7489, allocations: 0.998 MB / 488.4 MB, free: 2.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.749, allocations: 12.12 kB / 488.4 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/0.7491, allocations: 79.92 kB / 488.5 MB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.7511, allocations: 0.6952 MB / 489.2 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/0.752, allocations: 123.8 kB / 489.3 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.754, allocations: 1.104 MB / 490.4 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.7553, allocations: 107.3 kB / 490.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.7554, allocations: 35.98 kB / 490.6 MB, free: 15.9 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.0002317/0.7557, allocations: 144.8 kB / 490.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.756, allocations: 197.7 kB / 490.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/0.7593, allocations: 1.029 MB / 491.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.7593, allocations: 12 kB / 491.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7593, allocations: 0 / 491.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.7593, allocations: 3.984 kB / 491.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.7611, allocations: 1.01 MB / 492.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001608/0.7613, allocations: 67.98 kB / 493 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.762, allocations: 67.94 kB / 493.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.7639, allocations: 0.6739 MB / 493.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-05/0.764, allocations: 27.92 kB / 493.8 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.766, allocations: 1.077 MB / 494.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.766, allocations: 0 / 494.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.7691, allocations: 1.215 MB / 496.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/0.7697, allocations: 294.7 kB / 496.4 MB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.77, allocations: 12 kB / 496.4 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/0.771, allocations: 63.84 kB / 496.4 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.7712, allocations: 48.36 kB / 496.5 MB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.916e-05/0.7712, allocations: 24 kB / 496.5 MB, free: 9.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001961/0.7732, allocations: 0.9616 MB / 497.5 MB, free: 8.816 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7732, allocations: 0 / 497.5 MB, free: 8.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001548/0.7748, allocations: 491.2 kB / 497.9 MB, free: 8.336 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.004599/0.7794, allocations: 2.221 MB / 0.4884 GB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.7818, allocations: 0.7268 MB / 0.4892 GB, free: 5.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7818, allocations: 1.562 kB / 0.4892 GB, free: 5.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.7833, allocations: 477.4 kB / 0.4896 GB, free: 4.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.7844, allocations: 178.9 kB / 0.4898 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008143/0.7926, allocations: 2.667 MB / 0.4924 GB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.7936, allocations: 1.255 MB / 0.4936 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009533/0.7946, allocations: 171.2 kB / 0.4938 GB, free: 0.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7957, allocations: 0.6243 MB / 0.4944 GB, free: 15.87 MB / 426.7 MB Notification: Performance of SimCode: time 2.996e-06/0.7957, allocations: 0 / 0.4944 GB, free: 15.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3989/1.195, allocations: 32.23 MB / 0.5259 GB, free: 118.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/1.195, allocations: 201.7 kB / 0.5261 GB, free: 118.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.753/4.948, allocations: 2.188 kB / 0.5261 GB, free: 118.3 MB / 426.7 MB