Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.107e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.4764, allocations: 79.79 MB / 338.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4767, allocations: 67.97 kB / 338.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3518/0.8286, allocations: 32.79 MB / 371 MB, free: 81.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.8287, allocations: 0 / 371 MB, free: 81.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.8287, allocations: 12.88 kB / 371 MB, free: 81.01 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.002247/0.831, allocations: 1.039 MB / 372 MB, free: 80.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.007e-05/0.8311, allocations: 9.594 kB / 372.1 MB, free: 80.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.8314, allocations: 112.8 kB / 372.2 MB, free: 80.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.8332, allocations: 0.7543 MB / 372.9 MB, free: 80.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.8333, allocations: 7.969 kB / 372.9 MB, free: 80.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.8334, allocations: 13.69 kB / 372.9 MB, free: 80.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005934/0.834, allocations: 203.8 kB / 373.1 MB, free: 80.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.8346, allocations: 267.1 kB / 373.4 MB, free: 79.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.8347, allocations: 5.094 kB / 373.4 MB, free: 79.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.8347, allocations: 0 / 373.4 MB, free: 79.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.8348, allocations: 6.344 kB / 373.4 MB, free: 79.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.8377, allocations: 1.135 MB / 374.5 MB, free: 79.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.8382, allocations: 188 kB / 374.7 MB, free: 79.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.8386, allocations: 215.9 kB / 374.9 MB, free: 79.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.8524, allocations: 10.77 MB / 385.7 MB, free: 69.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8525, allocations: 38.31 kB / 385.7 MB, free: 69.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.186e-06/0.8525, allocations: 0 / 385.7 MB, free: 69.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009342/0.8534, allocations: 330 kB / 386.1 MB, free: 69.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.8535, allocations: 80.64 kB / 386.1 MB, free: 69.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009976/0.8545, allocations: 0.6104 MB / 386.8 MB, free: 69.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.8546, allocations: 25.7 kB / 386.8 MB, free: 69.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.855, allocations: 427.9 kB / 387.2 MB, free: 69.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/0.8551, allocations: 80.3 kB / 387.3 MB, free: 69.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.8551, allocations: 0 / 387.3 MB, free: 69.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.8552, allocations: 315.7 kB / 387.6 MB, free: 69.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.8554, allocations: 57.73 kB / 387.6 MB, free: 69.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.8556, allocations: 136.8 kB / 387.8 MB, free: 69.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.8558, allocations: 83.17 kB / 387.9 MB, free: 69.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.8559, allocations: 0 / 387.9 MB, free: 69.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008937/0.8568, allocations: 366.5 kB / 388.2 MB, free: 68.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.8568, allocations: 9.875 kB / 388.2 MB, free: 68.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.902e-05/0.8569, allocations: 13.31 kB / 388.2 MB, free: 68.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.8574, allocations: 137.4 kB / 388.4 MB, free: 68.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.8577, allocations: 45.38 kB / 388.4 MB, free: 68.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008057/0.8585, allocations: 0.7138 MB / 389.1 MB, free: 68.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.8592, allocations: 26.89 kB / 389.2 MB, free: 68.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.8593, allocations: 10.72 kB / 389.2 MB, free: 68.37 MB / 314.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.0001779/0.8594, allocations: 114.8 kB / 389.3 MB, free: 68.26 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000812/0.8603, allocations: 337.2 kB / 389.6 MB, free: 68.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.8604, allocations: 106.5 kB / 389.7 MB, free: 68.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.8618, allocations: 393.8 kB / 390.1 MB, free: 68.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.8618, allocations: 3.5 kB / 390.1 MB, free: 68.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8618, allocations: 0 / 390.1 MB, free: 68.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.8619, allocations: 10.75 kB / 390.1 MB, free: 68.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.8628, allocations: 471.6 kB / 390.6 MB, free: 67.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.8629, allocations: 12.25 kB / 390.6 MB, free: 67.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.8631, allocations: 21.52 kB / 390.6 MB, free: 67.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/0.8635, allocations: 134.2 kB / 390.7 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.8636, allocations: 3.875 kB / 390.7 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007576/0.8643, allocations: 0.7193 MB / 391.5 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8644, allocations: 1.562 kB / 391.5 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.8653, allocations: 438.8 kB / 391.9 MB, free: 67.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.8656, allocations: 181.2 kB / 392.1 MB, free: 66.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.8658, allocations: 0 / 392.1 MB, free: 66.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.8662, allocations: 5.953 kB / 392.1 MB, free: 66.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.8664, allocations: 18.38 kB / 392.1 MB, free: 66.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.8664, allocations: 11.39 kB / 392.1 MB, free: 66.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007619/0.8672, allocations: 473.6 kB / 392.6 MB, free: 66.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8672, allocations: 2.312 kB / 392.6 MB, free: 66.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001024/0.8682, allocations: 199.4 kB / 392.8 MB, free: 66.85 MB / 314.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.001802/0.87, allocations: 1.201 MB / 394 MB, free: 66.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007418/0.8708, allocations: 249.6 kB / 394.2 MB, free: 66.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8709, allocations: 0 / 394.2 MB, free: 66.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.8713, allocations: 161.1 kB / 394.4 MB, free: 65.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009647/0.8723, allocations: 133.5 kB / 394.5 MB, free: 65.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.8751, allocations: 0.9761 MB / 395.5 MB, free: 65.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.8756, allocations: 0.9555 MB / 396.4 MB, free: 64.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005222/0.8761, allocations: 94.12 kB / 396.5 MB, free: 64.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.8766, allocations: 324.1 kB / 396.8 MB, free: 64.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.8766, allocations: 0 / 396.8 MB, free: 64.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07422/0.9508, allocations: 15.18 MB / 412 MB, free: 57.84 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/0.9511, allocations: 149.4 kB / 412.2 MB, free: 57.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/4.182, allocations: 4 kB / 412.2 MB, free: 57.64 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat