Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.328e-05, allocations: 3.094 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.0953, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.5368, allocations: 85.4 MB / 385.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5371, allocations: 72.16 kB / 385.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.11/0.6471, allocations: 33.95 MB / 419.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6472, allocations: 0 / 419.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.6472, allocations: 11.66 kB / 419.4 MB, free: 5.93 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001954/0.6492, allocations: 1.037 MB / 420.4 MB, free: 5.168 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.6493, allocations: 7.812 kB / 420.4 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.43e-05/0.6494, allocations: 68.17 kB / 420.5 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.6496, allocations: 116.9 kB / 420.6 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.6511, allocations: 0.7551 MB / 421.3 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.6511, allocations: 15.5 kB / 421.4 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.6512, allocations: 22.5 kB / 421.4 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.6519, allocations: 301.2 kB / 421.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6519, allocations: 0 / 421.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.652, allocations: 10.81 kB / 421.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.652, allocations: 15.81 kB / 421.7 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.6525, allocations: 219.1 kB / 421.9 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.6551, allocations: 1.197 MB / 423.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.6556, allocations: 192 kB / 423.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.656, allocations: 223 kB / 423.5 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.6714, allocations: 10.79 MB / 434.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.6715, allocations: 37.38 kB / 434.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.767e-06/0.6715, allocations: 0 / 434.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009458/0.6725, allocations: 347.3 kB / 434.7 MB, free: 9.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.6726, allocations: 88.27 kB / 434.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.6738, allocations: 0.6633 MB / 435.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.6739, allocations: 25.7 kB / 435.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.6743, allocations: 418.6 kB / 435.9 MB, free: 8.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6744, allocations: 81.8 kB / 435.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.6745, allocations: 3.562 kB / 435.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6746, allocations: 321.9 kB / 436.3 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.6748, allocations: 67.83 kB / 436.3 MB, free: 8.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.6751, allocations: 135.1 kB / 436.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.6753, allocations: 84.05 kB / 436.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.6753, allocations: 0 / 436.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000731/0.6761, allocations: 305.6 kB / 436.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6761, allocations: 7.719 kB / 436.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/0.6762, allocations: 15.58 kB / 436.9 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.6767, allocations: 141.1 kB / 437 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.6771, allocations: 42.67 kB / 437 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009279/0.678, allocations: 0.7018 MB / 437.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.6786, allocations: 35.05 kB / 437.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.6787, allocations: 18.94 kB / 437.8 MB, free: 7.434 MB / 330.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.0001444/0.6788, allocations: 123.9 kB / 437.9 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.679, allocations: 103.5 kB / 438 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.6804, allocations: 413.4 kB / 438.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.6805, allocations: 0 / 438.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6805, allocations: 3.875 kB / 438.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6805, allocations: 0 / 438.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.6818, allocations: 0.5058 MB / 438.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001184/0.6819, allocations: 13.19 kB / 438.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.6826, allocations: 20.73 kB / 439 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008445/0.6835, allocations: 136 kB / 439.1 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.6836, allocations: 19.11 kB / 439.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008736/0.6845, allocations: 0.6962 MB / 439.8 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6845, allocations: 0 / 439.8 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.6854, allocations: 450.1 kB / 440.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.6858, allocations: 186.1 kB / 440.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6859, allocations: 0 / 440.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.6864, allocations: 11.42 kB / 440.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.6864, allocations: 15.48 kB / 440.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.6865, allocations: 10.75 kB / 440.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009819/0.6875, allocations: 0.5241 MB / 441 MB, free: 5.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.6875, allocations: 0 / 441 MB, free: 5.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009962/0.6885, allocations: 217.9 kB / 441.2 MB, free: 5.66 MB / 330.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.001929/0.6905, allocations: 1.204 MB / 442.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008723/0.6914, allocations: 269.4 kB / 442.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6914, allocations: 0 / 442.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.6919, allocations: 177.1 kB / 442.8 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.6928, allocations: 125.9 kB / 443 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.6963, allocations: 1.033 MB / 444 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.697, allocations: 0.9628 MB / 445 MB, free: 3.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.6975, allocations: 320.7 kB / 445.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6975, allocations: 0 / 445.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.92/3.617, allocations: 17.14 MB / 462.4 MB, free: 3.137 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat