Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.17e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2662, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.4401, allocations: 82.94 MB / 346.8 MB, free: 6.652 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4404, allocations: 67.97 kB / 346.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4439/0.8843, allocations: 57.99 MB / 404.9 MB, free: 67.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8844, allocations: 0.6562 kB / 404.9 MB, free: 67.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001057/0.8845, allocations: 28 kB / 404.9 MB, free: 67.64 MB / 314.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.00449/0.889, allocations: 1.733 MB / 406.6 MB, free: 65.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.8891, allocations: 8.031 kB / 406.6 MB, free: 65.85 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.8892, allocations: 106.8 kB / 406.7 MB, free: 65.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.8896, allocations: 225.3 kB / 407 MB, free: 65.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.8924, allocations: 1.247 MB / 408.2 MB, free: 64.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.8925, allocations: 45.31 kB / 408.3 MB, free: 64.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.8926, allocations: 59.84 kB / 408.3 MB, free: 64.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.894, allocations: 0.6173 MB / 408.9 MB, free: 63.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.894, allocations: 0 / 408.9 MB, free: 63.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.904e-05/0.8941, allocations: 28 kB / 409 MB, free: 63.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.8942, allocations: 16.42 kB / 409 MB, free: 63.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.8953, allocations: 462.5 kB / 409.4 MB, free: 62.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005206/0.9005, allocations: 2.598 MB / 412 MB, free: 60.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.9016, allocations: 0.5058 MB / 412.5 MB, free: 59.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008872/0.9025, allocations: 0.495 MB / 413 MB, free: 59.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/0.9158, allocations: 8.767 MB / 421.8 MB, free: 49.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007012/0.9166, allocations: 329.2 kB / 422.1 MB, free: 48.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.058e-06/0.9166, allocations: 0 / 422.1 MB, free: 48.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002167/0.9188, allocations: 0.8796 MB / 423 MB, free: 47.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.9189, allocations: 89.55 kB / 423.1 MB, free: 47.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.921, allocations: 1.243 MB / 424.3 MB, free: 46.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.9212, allocations: 37.7 kB / 424.4 MB, free: 46.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007624/0.922, allocations: 0.8132 MB / 425.2 MB, free: 45.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.9222, allocations: 220.8 kB / 425.4 MB, free: 45.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.9223, allocations: 12 kB / 425.4 MB, free: 45.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9224, allocations: 337.9 kB / 425.7 MB, free: 45.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.9229, allocations: 197.8 kB / 425.9 MB, free: 44.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.9235, allocations: 387.9 kB / 426.3 MB, free: 44.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.9241, allocations: 257.8 kB / 426.5 MB, free: 44.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.9242, allocations: 0 / 426.5 MB, free: 44.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002228/0.9264, allocations: 1.009 MB / 427.6 MB, free: 43.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.9265, allocations: 8 kB / 427.6 MB, free: 43.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/0.9266, allocations: 71.98 kB / 427.6 MB, free: 43.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.9284, allocations: 0.6879 MB / 428.3 MB, free: 42.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/0.9292, allocations: 127.8 kB / 428.4 MB, free: 42.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.9311, allocations: 1.104 MB / 429.6 MB, free: 41.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.9325, allocations: 107.2 kB / 429.7 MB, free: 41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.9326, allocations: 36 kB / 429.7 MB, free: 40.96 MB / 314.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.0002048/0.9328, allocations: 148.8 kB / 429.8 MB, free: 40.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.933, allocations: 197.7 kB / 430 MB, free: 40.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.936, allocations: 1.029 MB / 431.1 MB, free: 39.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.9361, allocations: 4 kB / 431.1 MB, free: 39.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9361, allocations: 7.938 kB / 431.1 MB, free: 39.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.9361, allocations: 3.984 kB / 431.1 MB, free: 39.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.9379, allocations: 0.9989 MB / 432.1 MB, free: 38.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001344/0.9381, allocations: 63.98 kB / 432.1 MB, free: 38.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.9387, allocations: 79.92 kB / 432.2 MB, free: 38.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.9404, allocations: 0.6702 MB / 432.9 MB, free: 37.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.9405, allocations: 23.98 kB / 432.9 MB, free: 37.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.9422, allocations: 1.088 MB / 434 MB, free: 36.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9422, allocations: 0 / 434 MB, free: 36.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.945, allocations: 1.215 MB / 435.2 MB, free: 35.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/0.9457, allocations: 290.6 kB / 435.5 MB, free: 35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/0.946, allocations: 15.98 kB / 435.5 MB, free: 34.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009258/0.9469, allocations: 48.22 kB / 435.6 MB, free: 34.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.9471, allocations: 52.31 kB / 435.6 MB, free: 34.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.167e-05/0.9472, allocations: 31.98 kB / 435.6 MB, free: 34.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001709/0.9489, allocations: 0.9618 MB / 436.6 MB, free: 33.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9489, allocations: 4 kB / 436.6 MB, free: 33.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001647/0.9506, allocations: 483.1 kB / 437.1 MB, free: 33.39 MB / 314.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.004265/0.9549, allocations: 2.225 MB / 439.3 MB, free: 31.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.9573, allocations: 0.7361 MB / 440 MB, free: 30.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9574, allocations: 0 / 440 MB, free: 30.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.9589, allocations: 465.4 kB / 440.5 MB, free: 29.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.9602, allocations: 183.1 kB / 440.7 MB, free: 29.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008442/0.9687, allocations: 2.671 MB / 443.3 MB, free: 27.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.9694, allocations: 1.259 MB / 444.6 MB, free: 25.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001025/0.9705, allocations: 175.2 kB / 444.8 MB, free: 25.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.9715, allocations: 0.6203 MB / 445.4 MB, free: 24.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/0.9716, allocations: 0 / 445.4 MB, free: 24.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09064/1.062, allocations: 32.25 MB / 477.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003589/1.063, allocations: 204.4 kB / 477.8 MB, free: 8.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/4.854, allocations: 3.938 kB / 477.8 MB, free: 8.477 MB / 330.7 MB