Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 195 MB / 202.8 MB, free: 13.77 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.839e-05, allocations: 4 kB / 249.7 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.306, allocations: 44.48 MB / 294.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.4759, allocations: 84.74 MB / 379 MB, free: 13.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.4763, allocations: 71.97 kB / 379 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1741/0.6504, allocations: 32.67 MB / 411.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6505, allocations: 0 / 411.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.6505, allocations: 16.19 kB / 411.7 MB, free: 12.15 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.002658/0.6532, allocations: 1.032 MB / 412.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.6533, allocations: 12.03 kB / 412.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003201/0.6536, allocations: 114.6 kB / 412.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.6556, allocations: 0.7545 MB / 413.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.6557, allocations: 15.92 kB / 413.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.6558, allocations: 12 kB / 413.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006221/0.6564, allocations: 205.1 kB / 413.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.6571, allocations: 258.5 kB / 414.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6571, allocations: 4 kB / 414.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.6572, allocations: 3.953 kB / 414.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.6572, allocations: 12 kB / 414.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.6602, allocations: 1.128 MB / 415.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.6608, allocations: 182.6 kB / 415.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.6613, allocations: 217.5 kB / 415.6 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2844/0.9456, allocations: 10.76 MB / 426.4 MB, free: 92.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.9457, allocations: 44.8 kB / 426.5 MB, free: 92.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.617e-06/0.9457, allocations: 1.25 kB / 426.5 MB, free: 92.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001046/0.9468, allocations: 333 kB / 426.8 MB, free: 92.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.9469, allocations: 79.3 kB / 426.9 MB, free: 92.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.9481, allocations: 0.6014 MB / 427.5 MB, free: 92.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.667e-05/0.9482, allocations: 26.8 kB / 427.5 MB, free: 92.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.9486, allocations: 431.6 kB / 427.9 MB, free: 91.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.9488, allocations: 70.47 kB / 428 MB, free: 91.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.9488, allocations: 0 / 428 MB, free: 91.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.9489, allocations: 323.3 kB / 428.3 MB, free: 91.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.9491, allocations: 61.67 kB / 428.3 MB, free: 91.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.9493, allocations: 129.2 kB / 428.5 MB, free: 91.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.9496, allocations: 85.92 kB / 428.6 MB, free: 91.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.9496, allocations: 0 / 428.6 MB, free: 91.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009696/0.9506, allocations: 365.7 kB / 428.9 MB, free: 91.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.9506, allocations: 5.781 kB / 428.9 MB, free: 91.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-05/0.9507, allocations: 13.75 kB / 428.9 MB, free: 91.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.9513, allocations: 134.9 kB / 429.1 MB, free: 91.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.9516, allocations: 36.09 kB / 429.1 MB, free: 91.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009728/0.9526, allocations: 0.7235 MB / 429.8 MB, free: 90.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.9532, allocations: 25.7 kB / 429.9 MB, free: 90.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.504e-05/0.9533, allocations: 15.66 kB / 429.9 MB, free: 90.89 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real 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.0001826/0.9535, allocations: 118.4 kB / 430 MB, free: 90.77 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00094/0.9545, allocations: 336.8 kB / 430.3 MB, free: 90.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.9547, allocations: 102.3 kB / 430.4 MB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.9562, allocations: 390.3 kB / 430.8 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.9562, allocations: 2.125 kB / 430.8 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9562, allocations: 2.609 kB / 430.8 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9562, allocations: 2.219 kB / 430.8 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.9572, allocations: 480.3 kB / 431.3 MB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.745e-05/0.9573, allocations: 12.91 kB / 431.3 MB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.9576, allocations: 16.31 kB / 431.3 MB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.9581, allocations: 140.2 kB / 431.4 MB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.9581, allocations: 4.281 kB / 431.4 MB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.959, allocations: 0.7093 MB / 432.1 MB, free: 89.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.959, allocations: 0.875 kB / 432.1 MB, free: 89.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009231/0.96, allocations: 439.5 kB / 432.6 MB, free: 89.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.9603, allocations: 176.6 kB / 432.7 MB, free: 89.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.9605, allocations: 3.609 kB / 432.8 MB, free: 89.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.9609, allocations: 4.062 kB / 432.8 MB, free: 89.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.961, allocations: 12.06 kB / 432.8 MB, free: 89.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.9611, allocations: 15.55 kB / 432.8 MB, free: 89.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008772/0.962, allocations: 471.4 kB / 433.2 MB, free: 89.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.962, allocations: 0 / 433.2 MB, free: 89.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001107/0.9631, allocations: 205 kB / 433.4 MB, free: 89.41 MB / 362.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.001938/0.9651, allocations: 1.213 MB / 434.7 MB, free: 88.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008369/0.966, allocations: 248 kB / 434.9 MB, free: 88.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.966, allocations: 0 / 434.9 MB, free: 88.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.9664, allocations: 163.3 kB / 435.1 MB, free: 88.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009334/0.9673, allocations: 121.6 kB / 435.2 MB, free: 88.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.9705, allocations: 0.9711 MB / 436.1 MB, free: 88.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.971, allocations: 0.9633 MB / 437.1 MB, free: 87.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005562/0.9715, allocations: 104.4 kB / 437.2 MB, free: 87.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/0.972, allocations: 316.7 kB / 437.5 MB, free: 87.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.9721, allocations: 0 / 437.5 MB, free: 87.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06551/1.038, allocations: 15.2 MB / 452.7 MB, free: 86.63 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/1.038, allocations: 140.7 kB / 452.9 MB, free: 86.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/4.118, allocations: 0 / 452.9 MB, free: 86.44 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat