Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.216/2.216, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.896e-05, allocations: 3.281 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.5877, allocations: 84.73 MB / 379 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.5881, allocations: 69.88 kB / 379.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1541/0.7422, allocations: 32.69 MB / 411.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.7423, allocations: 0 / 411.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.233e-05/0.7423, allocations: 16 kB / 411.8 MB, free: 10.06 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.002385/0.7447, allocations: 1.039 MB / 412.8 MB, free: 8.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.7448, allocations: 12.03 kB / 412.8 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.745, allocations: 118.6 kB / 413 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.7469, allocations: 0.7403 MB / 413.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.7469, allocations: 8 kB / 413.7 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.747, allocations: 20 kB / 413.7 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006313/0.7477, allocations: 205 kB / 413.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.7484, allocations: 262.6 kB / 414.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.7484, allocations: 0 / 414.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.7485, allocations: 3.953 kB / 414.2 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.7485, allocations: 7.938 kB / 414.2 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.7514, allocations: 1.135 MB / 415.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.7519, allocations: 178.7 kB / 415.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.7524, allocations: 221.5 kB / 415.7 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0184/0.7708, allocations: 10.78 MB / 426.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.7709, allocations: 38.55 kB / 426.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.266e-06/0.771, allocations: 4 kB / 426.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001023/0.772, allocations: 329.2 kB / 426.9 MB, free: 9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.7721, allocations: 81.11 kB / 426.9 MB, free: 8.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.7733, allocations: 0.5972 MB / 427.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.7733, allocations: 25.7 kB / 427.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000549/0.7739, allocations: 440.2 kB / 428 MB, free: 7.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.774, allocations: 74.84 kB / 428.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.774, allocations: 0 / 428.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7742, allocations: 321.9 kB / 428.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.7744, allocations: 52.89 kB / 428.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.7747, allocations: 142.1 kB / 428.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.775, allocations: 75.83 kB / 428.6 MB, free: 7.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.775, allocations: 4 kB / 428.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009544/0.776, allocations: 360.2 kB / 429 MB, free: 6.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.776, allocations: 4 kB / 429 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/0.7761, allocations: 16 kB / 429 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.7767, allocations: 137.1 kB / 429.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.777, allocations: 35.91 kB / 429.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.7781, allocations: 0.721 MB / 429.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.7787, allocations: 23.81 kB / 429.9 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.7787, allocations: 12 kB / 430 MB, free: 5.797 MB / 330.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.0002016/0.779, allocations: 124.9 kB / 430.1 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009061/0.7799, allocations: 340.9 kB / 430.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.7801, allocations: 102.8 kB / 430.5 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.7816, allocations: 391.5 kB / 430.9 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.7816, allocations: 0 / 430.9 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7816, allocations: 4 kB / 430.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.7817, allocations: 3.984 kB / 430.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.7827, allocations: 464.1 kB / 431.3 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/0.7828, allocations: 12 kB / 431.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.783, allocations: 15.98 kB / 431.4 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.7836, allocations: 143 kB / 431.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.7836, allocations: 11.92 kB / 431.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.7847, allocations: 0.721 MB / 432.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7847, allocations: 0 / 432.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.7857, allocations: 432 kB / 432.7 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.786, allocations: 179.7 kB / 432.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.7862, allocations: 3.953 kB / 432.8 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.7867, allocations: 8.062 kB / 432.9 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.7868, allocations: 15.97 kB / 432.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.7868, allocations: 12 kB / 432.9 MB, free: 2.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009335/0.7878, allocations: 466.9 kB / 433.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7878, allocations: 0 / 433.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001026/0.7888, allocations: 203.7 kB / 433.5 MB, free: 2.074 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.002077/0.7909, allocations: 1.201 MB / 434.7 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.7918, allocations: 255.8 kB / 435 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7918, allocations: 4 kB / 435 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.7923, allocations: 159.4 kB / 435.2 MB, free: 444 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/0.7933, allocations: 116.2 kB / 435.3 MB, free: 328 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.7966, allocations: 0.9802 MB / 436.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.7974, allocations: 0.9565 MB / 437.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000632/0.7981, allocations: 97.92 kB / 437.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/0.7987, allocations: 323.3 kB / 437.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7987, allocations: 0 / 437.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0855/0.8842, allocations: 15.2 MB / 452.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003769/0.8846, allocations: 146.3 kB / 453 MB, free: 14.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.588/4.473, allocations: 0 / 453 MB, free: 14.52 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat