Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.626e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 47.57 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5198, allocations: 89.69 MB / 406.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5202, allocations: 68.41 kB / 406.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1225/0.6427, allocations: 33.95 MB / 440.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6427, allocations: 0 / 440.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.6428, allocations: 16 kB / 440.7 MB, free: 0.9531 MB / 346.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.002181/0.645, allocations: 1.039 MB / 441.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.645, allocations: 8.031 kB / 441.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.24e-05/0.6451, allocations: 67.53 kB / 441.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.6454, allocations: 118.5 kB / 442 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.647, allocations: 0.7418 MB / 442.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6471, allocations: 18.25 kB / 442.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/0.6472, allocations: 26.12 kB / 442.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.6479, allocations: 298.8 kB / 443 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6479, allocations: 0 / 443 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.648, allocations: 9.922 kB / 443.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.648, allocations: 11.19 kB / 443.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.6486, allocations: 214.1 kB / 443.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.6513, allocations: 1.201 MB / 444.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.6518, allocations: 193.7 kB / 444.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.6522, allocations: 222.3 kB / 444.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/0.6685, allocations: 10.79 MB / 455.7 MB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6686, allocations: 34.56 kB / 455.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.336e-06/0.6686, allocations: 0 / 455.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009506/0.6696, allocations: 355.9 kB / 456 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.6697, allocations: 77.11 kB / 456.1 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.6709, allocations: 0.6655 MB / 456.8 MB, free: 344 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.6709, allocations: 33.58 kB / 456.8 MB, free: 308 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004498/0.6714, allocations: 438.4 kB / 457.2 MB, free: 92 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/0.6715, allocations: 81.31 kB / 457.3 MB, free: 24 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.6715, allocations: 7.438 kB / 457.3 MB, free: 20 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6717, allocations: 317.5 kB / 457.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.6719, allocations: 62.12 kB / 457.7 MB, free: 15.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.6722, allocations: 149.9 kB / 457.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.6724, allocations: 82.77 kB / 457.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6724, allocations: 0 / 457.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009066/0.6733, allocations: 386.3 kB / 458.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6734, allocations: 8.219 kB / 458.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/0.6734, allocations: 16 kB / 458.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.674, allocations: 138.8 kB / 458.5 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.6743, allocations: 37.48 kB / 458.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000899/0.6753, allocations: 0.7077 MB / 459.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.6758, allocations: 35.3 kB / 459.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.6759, allocations: 15.38 kB / 459.3 MB, free: 14.25 MB / 378.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.0001256/0.676, allocations: 115.8 kB / 459.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.6762, allocations: 102.9 kB / 459.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.6776, allocations: 412.2 kB / 459.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6776, allocations: 0 / 459.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6777, allocations: 7.953 kB / 459.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6777, allocations: 0 / 459.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009275/0.6786, allocations: 0.5096 MB / 460.4 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/0.6787, allocations: 12 kB / 460.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6789, allocations: 15.98 kB / 460.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.6794, allocations: 137 kB / 460.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.6795, allocations: 10.98 kB / 460.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008521/0.6803, allocations: 0.7061 MB / 461.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6803, allocations: 4.062 kB / 461.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008722/0.6812, allocations: 454.1 kB / 461.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.6815, allocations: 175.1 kB / 461.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.6817, allocations: 7.625 kB / 461.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.6821, allocations: 19.44 kB / 461.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.6822, allocations: 11.98 kB / 461.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.6823, allocations: 12 kB / 461.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009857/0.6833, allocations: 0.5267 MB / 462.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6833, allocations: 0 / 462.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009499/0.6842, allocations: 210.8 kB / 462.7 MB, free: 11.23 MB / 378.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.001894/0.6862, allocations: 1.201 MB / 463.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007886/0.687, allocations: 259.2 kB / 464.1 MB, free: 9.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.687, allocations: 0.5625 kB / 464.1 MB, free: 9.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004273/0.6874, allocations: 178.6 kB / 464.3 MB, free: 9.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.6883, allocations: 120.3 kB / 464.4 MB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.6913, allocations: 0.9944 MB / 465.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.6919, allocations: 0.9607 MB / 466.4 MB, free: 7.438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.6925, allocations: 98.02 kB / 466.5 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.693, allocations: 319.3 kB / 466.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/0.693, allocations: 7.938 kB / 466.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07836/0.7714, allocations: 16.96 MB / 483.8 MB, free: 6.098 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.7717, allocations: 186.1 kB / 483.9 MB, free: 5.867 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/3.847, allocations: 8.062 kB / 483.9 MB, free: 5.859 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat