Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.081e-05, allocations: 0 / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 50.4 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.6012, allocations: 91.67 MB / 434.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.6016, allocations: 65.91 kB / 434.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.155/0.7565, allocations: 37.34 MB / 471.7 MB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7566, allocations: 4 kB / 471.7 MB, free: 1.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.884e-05/0.7567, allocations: 16 kB / 471.7 MB, free: 1.289 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002846/0.7595, allocations: 1.033 MB / 472.8 MB, free: 216 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.7596, allocations: 8.031 kB / 472.8 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.7598, allocations: 66.53 kB / 472.8 MB, free: 132 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.7601, allocations: 110.7 kB / 472.9 MB, free: 20 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.7622, allocations: 0.7467 MB / 473.7 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.7623, allocations: 28.52 kB / 473.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.7625, allocations: 24 kB / 473.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.7633, allocations: 294.6 kB / 474 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.7634, allocations: 3.984 kB / 474 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.7635, allocations: 12 kB / 474 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.7635, allocations: 11.94 kB / 474 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.7642, allocations: 213.1 kB / 474.3 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.7677, allocations: 1.203 MB / 475.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/0.7683, allocations: 187.1 kB / 475.6 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.7689, allocations: 234 kB / 475.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/0.7877, allocations: 10.78 MB / 486.7 MB, free: 324 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.7878, allocations: 34.56 kB / 486.7 MB, free: 280 kB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 4.619e-06/0.7878, allocations: 0 / 486.7 MB, free: 280 kB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.001288/0.7891, allocations: 357.2 kB / 487 MB, free: 15.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.7892, allocations: 81.05 kB / 487.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.7908, allocations: 0.6653 MB / 487.8 MB, free: 15.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.791, allocations: 29.7 kB / 487.8 MB, free: 15.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005989/0.7916, allocations: 440.4 kB / 488.2 MB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.7918, allocations: 78.89 kB / 488.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.7918, allocations: 8 kB / 488.3 MB, free: 14.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.792, allocations: 314 kB / 488.6 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.7922, allocations: 60.23 kB / 488.7 MB, free: 14.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.7925, allocations: 137.7 kB / 488.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.7928, allocations: 81.77 kB / 488.9 MB, free: 13.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.7928, allocations: 0 / 488.9 MB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001112/0.7939, allocations: 392.6 kB / 489.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.794, allocations: 4 kB / 489.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-05/0.7941, allocations: 16.28 kB / 489.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.7947, allocations: 144.8 kB / 489.4 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.7951, allocations: 35.97 kB / 489.5 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.7963, allocations: 0.7123 MB / 490.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/0.7971, allocations: 31.77 kB / 490.2 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.7972, allocations: 12 kB / 490.2 MB, free: 12.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.7974, allocations: 120.7 kB / 490.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.7977, allocations: 102.8 kB / 490.5 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.7994, allocations: 415.3 kB / 490.9 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.7995, allocations: 3.938 kB / 490.9 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7995, allocations: 4 kB / 490.9 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7995, allocations: 0 / 490.9 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.8008, allocations: 0.515 MB / 491.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-05/0.8009, allocations: 12 kB / 491.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.8012, allocations: 15.98 kB / 491.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.8018, allocations: 140.4 kB / 491.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.8019, allocations: 11.98 kB / 491.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.803, allocations: 0.7045 MB / 492.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.803, allocations: 4.062 kB / 492.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.8042, allocations: 448.2 kB / 492.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.8048, allocations: 179.8 kB / 492.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.805, allocations: 4 kB / 492.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.8055, allocations: 11.98 kB / 492.9 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.8056, allocations: 15.98 kB / 492.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.8057, allocations: 8 kB / 492.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.8069, allocations: 0.5275 MB / 493.4 MB, free: 9.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.91e-07/0.807, allocations: 0 / 493.4 MB, free: 9.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00126/0.8082, allocations: 215.7 kB / 493.7 MB, free: 9.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/0.8107, allocations: 1.198 MB / 494.9 MB, free: 7.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.8118, allocations: 265.9 kB / 495.1 MB, free: 7.531 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.8118, allocations: 0.5625 kB / 495.1 MB, free: 7.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.8124, allocations: 171.9 kB / 495.3 MB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.8139, allocations: 152.2 kB / 495.4 MB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.8179, allocations: 0.9935 MB / 496.4 MB, free: 6.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.8187, allocations: 0.9568 MB / 497.4 MB, free: 5.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006647/0.8195, allocations: 98.02 kB / 497.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/0.8202, allocations: 319.3 kB / 497.8 MB, free: 4.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.8202, allocations: 4 kB / 497.8 MB, free: 4.766 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06893/0.8891, allocations: 17 MB / 0.5027 GB, free: 3.941 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003491/0.8896, allocations: 178.2 kB / 0.5029 GB, free: 3.719 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/4.001, allocations: 4 kB / 0.5029 GB, free: 3.715 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat