Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.245/2.245, allocations: 225.8 MB / 239.3 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.671e-05, allocations: 4 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 50.41 MB / 343.1 MB, free: 8.984 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5808, allocations: 91.4 MB / 434.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5811, allocations: 74.05 kB / 434.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1304/0.7115, allocations: 37.34 MB / 472 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7116, allocations: 3.938 kB / 472 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.7116, allocations: 16 kB / 472 MB, free: 13.69 MB / 362.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.002303/0.7139, allocations: 1.028 MB / 473 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.714, allocations: 8.031 kB / 473 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.7141, allocations: 63.84 kB / 473.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.7143, allocations: 118.6 kB / 473.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.7161, allocations: 0.7429 MB / 473.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.7162, allocations: 23.45 kB / 474 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.7163, allocations: 22.62 kB / 474 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.717, allocations: 301.8 kB / 474.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.717, allocations: 0 / 474.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.7171, allocations: 6.688 kB / 474.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.7171, allocations: 11.98 kB / 474.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.7177, allocations: 215.6 kB / 474.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.7206, allocations: 1.204 MB / 475.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.7212, allocations: 189.8 kB / 475.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.7217, allocations: 226.5 kB / 476.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01778/0.7395, allocations: 10.79 MB / 486.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.7395, allocations: 34.44 kB / 486.9 MB, free: 14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.635e-06/0.7396, allocations: 0 / 486.9 MB, free: 14 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009735/0.7405, allocations: 342.5 kB / 487.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.7406, allocations: 87.98 kB / 487.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.7419, allocations: 0.668 MB / 488 MB, free: 13.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.742, allocations: 28.33 kB / 488.1 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.7425, allocations: 448.5 kB / 488.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.7426, allocations: 68.3 kB / 488.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.7426, allocations: 2.75 kB / 488.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7428, allocations: 317.9 kB / 488.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.743, allocations: 61.66 kB / 488.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.7433, allocations: 145.5 kB / 489.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.7435, allocations: 77.03 kB / 489.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7436, allocations: 0 / 489.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001007/0.7446, allocations: 392.9 kB / 489.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.7446, allocations: 8.281 kB / 489.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/0.7447, allocations: 16 kB / 489.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.7453, allocations: 134.2 kB / 489.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.7456, allocations: 35.91 kB / 489.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/0.7466, allocations: 0.7115 MB / 490.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.7472, allocations: 31.11 kB / 490.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.7473, allocations: 19.44 kB / 490.5 MB, free: 11 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.0001476/0.7475, allocations: 116 kB / 490.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.7477, allocations: 98.88 kB / 490.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.7491, allocations: 420.9 kB / 491.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.7492, allocations: 0 / 491.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7492, allocations: 0 / 491.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.7492, allocations: 7.984 kB / 491.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.7503, allocations: 0.5116 MB / 491.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.414e-05/0.7504, allocations: 15.98 kB / 491.6 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.7506, allocations: 15.98 kB / 491.7 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/0.7511, allocations: 136.5 kB / 491.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.7512, allocations: 7.062 kB / 491.8 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009518/0.7521, allocations: 0.7003 MB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7522, allocations: 8.094 kB / 492.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009653/0.7531, allocations: 451 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.7535, allocations: 177.6 kB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7537, allocations: 4 kB / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.7542, allocations: 15.48 kB / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.7542, allocations: 15.42 kB / 493.1 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.7543, allocations: 8 kB / 493.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.7554, allocations: 0.5274 MB / 493.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.7554, allocations: 0 / 493.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001046/0.7565, allocations: 211.3 kB / 493.9 MB, free: 7.98 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.002191/0.7587, allocations: 1.207 MB / 495.1 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008809/0.7596, allocations: 263.2 kB / 495.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7596, allocations: 0.5625 kB / 495.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.7601, allocations: 170 kB / 495.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.7614, allocations: 150.2 kB / 495.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.7646, allocations: 0.9957 MB / 496.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.7654, allocations: 0.9568 MB / 497.6 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005992/0.766, allocations: 98.02 kB / 497.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/0.7666, allocations: 322.6 kB / 498 MB, free: 4.074 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7666, allocations: 4 kB / 498 MB, free: 4.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/0.8302, allocations: 16.99 MB / 0.503 GB, free: 3.25 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002937/0.8305, allocations: 178.3 kB / 0.5031 GB, free: 3.027 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/3.892, allocations: 4 kB / 0.5031 GB, free: 3.023 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat