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.919/1.919, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.68e-05, allocations: 4 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09649, allocations: 44.51 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.5948, allocations: 85.41 MB / 385.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5951, allocations: 72.73 kB / 385.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1098/0.7049, allocations: 33.95 MB / 419.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7049, allocations: 0 / 419.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.705, allocations: 11.59 kB / 419.4 MB, free: 5.859 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.002005/0.707, allocations: 1.041 MB / 420.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.707, allocations: 7.75 kB / 420.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.464e-05/0.7071, allocations: 68.17 kB / 420.5 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.7073, allocations: 113.1 kB / 420.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.709, allocations: 0.7469 MB / 421.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.709, allocations: 24.94 kB / 421.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.7091, allocations: 25.38 kB / 421.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.7098, allocations: 291.5 kB / 421.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.7098, allocations: 7.828 kB / 421.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.7098, allocations: 7.5 kB / 421.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.7099, allocations: 11.8 kB / 421.7 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.7104, allocations: 219.7 kB / 421.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.7129, allocations: 1.204 MB / 423.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.7134, allocations: 183.5 kB / 423.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.7138, allocations: 225.5 kB / 423.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/0.7292, allocations: 10.79 MB / 434.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.7293, allocations: 33.88 kB / 434.4 MB, free: 9.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.657e-06/0.7294, allocations: 0 / 434.4 MB, free: 9.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009297/0.7303, allocations: 345 kB / 434.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.7304, allocations: 81.06 kB / 434.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.7315, allocations: 0.6691 MB / 435.5 MB, free: 8.812 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.7316, allocations: 33.33 kB / 435.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.732, allocations: 417.4 kB / 435.9 MB, free: 8.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.7321, allocations: 77.03 kB / 436 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.7321, allocations: 0 / 436 MB, free: 8.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7323, allocations: 325.5 kB / 436.3 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.7325, allocations: 63.69 kB / 436.3 MB, free: 8.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.7327, allocations: 134.3 kB / 436.5 MB, free: 8.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.733, allocations: 85.81 kB / 436.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.733, allocations: 0 / 436.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007231/0.7337, allocations: 288.9 kB / 436.8 MB, free: 8.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.7338, allocations: 11.91 kB / 436.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.54e-05/0.7338, allocations: 15.55 kB / 436.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/0.7344, allocations: 136.2 kB / 437 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.7347, allocations: 38.41 kB / 437 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009709/0.7357, allocations: 0.7083 MB / 437.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.7364, allocations: 37.61 kB / 437.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.7365, allocations: 15.62 kB / 437.8 MB, free: 7.395 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.0001387/0.7366, allocations: 115.6 kB / 437.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.7368, allocations: 107.8 kB / 438 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.7382, allocations: 416.4 kB / 438.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7382, allocations: 3.844 kB / 438.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7382, allocations: 3.984 kB / 438.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7382, allocations: 0 / 438.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.7392, allocations: 0.5022 MB / 438.9 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.7393, allocations: 11.44 kB / 438.9 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.7395, allocations: 23.42 kB / 439 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.74, allocations: 139.6 kB / 439.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.7401, allocations: 10.64 kB / 439.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008442/0.7409, allocations: 0.6982 MB / 439.8 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.7409, allocations: 3.984 kB / 439.8 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008519/0.7418, allocations: 447.8 kB / 440.3 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.7421, allocations: 178.5 kB / 440.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.7423, allocations: 3.375 kB / 440.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.7427, allocations: 19.86 kB / 440.5 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.7428, allocations: 15.61 kB / 440.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.7429, allocations: 11.5 kB / 440.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009162/0.7438, allocations: 0.5278 MB / 441 MB, free: 5.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7438, allocations: 0 / 441 MB, free: 5.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001011/0.7448, allocations: 209.5 kB / 441.2 MB, free: 5.621 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.001872/0.7467, allocations: 1.199 MB / 442.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007623/0.7475, allocations: 266.8 kB / 442.7 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/0.7475, allocations: 4 kB / 442.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.748, allocations: 173.1 kB / 442.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.7489, allocations: 117.4 kB / 443 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.7519, allocations: 1.034 MB / 444 MB, free: 4.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.7526, allocations: 0.9506 MB / 444.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.7531, allocations: 324.3 kB / 445.3 MB, free: 3.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7531, allocations: 4 kB / 445.3 MB, free: 3.227 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.007/3.76, allocations: 17.1 MB / 462.4 MB, free: 3.148 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