Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.525e-05, allocations: 8 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 50.4 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5497, allocations: 84.98 MB / 427.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.55, allocations: 68.28 kB / 427.7 MB, free: 8.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07624/0.6263, allocations: 18.88 MB / 446.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6263, allocations: 0 / 446.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.946e-05/0.6264, allocations: 32 kB / 446.6 MB, free: 8.875 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003206/0.6296, allocations: 1.148 MB / 447.7 MB, free: 7.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.6297, allocations: 8.031 kB / 447.8 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000464/0.6302, allocations: 177.7 kB / 447.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/0.6306, allocations: 142.2 kB / 448.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.6322, allocations: 0.637 MB / 448.7 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.6324, allocations: 93.47 kB / 448.8 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.6326, allocations: 115.1 kB / 448.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.6356, allocations: 1.209 MB / 450.1 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.6357, allocations: 7.938 kB / 450.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.6359, allocations: 50.62 kB / 450.2 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.6359, allocations: 35.94 kB / 450.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.638, allocations: 0.6099 MB / 450.8 MB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009765/0.6478, allocations: 6.85 MB / 457.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.6488, allocations: 253.3 kB / 457.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.6493, allocations: 161.8 kB / 458.1 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.6494, allocations: 81.11 kB / 458.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.6495, allocations: 42.5 kB / 458.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.326e-06/0.6495, allocations: 4 kB / 458.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002973/0.6525, allocations: 1.274 MB / 459.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6526, allocations: 77.11 kB / 459.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6536, allocations: 0.5702 MB / 460.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.6537, allocations: 29.7 kB / 460.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006165/0.6543, allocations: 0.6798 MB / 460.8 MB, free: 11.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6544, allocations: 122.4 kB / 460.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.6545, allocations: 16 kB / 461 MB, free: 11.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.6547, allocations: 390.6 kB / 461.3 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.6551, allocations: 125.8 kB / 461.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.6558, allocations: 0.5202 MB / 462 MB, free: 9.953 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009046/0.6567, allocations: 434.3 kB / 462.4 MB, free: 9.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.6567, allocations: 4 kB / 462.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001806/0.6586, allocations: 0.7284 MB / 463.1 MB, free: 8.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.6586, allocations: 8 kB / 463.1 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.6586, allocations: 16 kB / 463.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.659, allocations: 81.64 kB / 463.2 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6601, allocations: 184.2 kB / 463.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.6632, allocations: 2.959 MB / 466.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.664, allocations: 44.05 kB / 466.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.6641, allocations: 44 kB / 466.5 MB, free: 5.152 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.6643, allocations: 160.6 kB / 466.6 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.6645, allocations: 75.06 kB / 466.7 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.6647, allocations: 66.55 kB / 466.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6647, allocations: 7.953 kB / 466.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.6648, allocations: 7.984 kB / 466.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6648, allocations: 7.938 kB / 466.8 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.6674, allocations: 1.213 MB / 468 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6674, allocations: 96 / 468 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.668, allocations: 67.95 kB / 468.1 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.6683, allocations: 57.62 kB / 468.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.6683, allocations: 4 kB / 468.1 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.671, allocations: 2.757 MB / 470.9 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.671, allocations: 4.031 kB / 470.9 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.6722, allocations: 0.6424 MB / 471.5 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.6724, allocations: 140.2 kB / 471.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.6725, allocations: 8 kB / 471.7 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.673, allocations: 27.92 kB / 471.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.6731, allocations: 27.91 kB / 471.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.6731, allocations: 11.95 kB / 471.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007927/0.6739, allocations: 423.2 kB / 472.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6739, allocations: 0 / 472.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001268/0.6752, allocations: 163.9 kB / 472.3 MB, free: 14.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/0.677, allocations: 1.482 MB / 473.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.6785, allocations: 0.5797 MB / 474.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6785, allocations: 0 / 474.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.6792, allocations: 332.7 kB / 474.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.6799, allocations: 75.77 kB / 474.8 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.6846, allocations: 1.521 MB / 476.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008695/0.6855, allocations: 1.058 MB / 477.4 MB, free: 9.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005104/0.686, allocations: 90 kB / 477.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007726/0.6868, allocations: 419.3 kB / 477.8 MB, free: 9.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6868, allocations: 0 / 477.8 MB, free: 9.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06264/0.7495, allocations: 12.37 MB / 490.2 MB, free: 12.92 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.7499, allocations: 178.3 kB / 490.4 MB, free: 12.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.784, allocations: 4 kB / 490.4 MB, free: 12.69 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat