Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.664e-05/8.661e-05, allocations: 8 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.41 MB / 342.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.5705, allocations: 82.98 MB / 425.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.5709, allocations: 88.66 kB / 425.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04239/0.6133, allocations: 9.787 MB / 435.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6133, allocations: 0 / 435.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.693e-05/0.6134, allocations: 15.94 kB / 435.5 MB, free: 2.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002136/0.6155, allocations: 0.7849 MB / 436.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6156, allocations: 8.031 kB / 436.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.6158, allocations: 94.56 kB / 436.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.6161, allocations: 75.16 kB / 436.5 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.6169, allocations: 393.5 kB / 436.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.617, allocations: 44.98 kB / 436.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.6171, allocations: 56.39 kB / 437 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.6185, allocations: 0.5082 MB / 437.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.6185, allocations: 0 / 437.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.6186, allocations: 21.25 kB / 437.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.6186, allocations: 12 kB / 437.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6197, allocations: 349.8 kB / 437.9 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/0.625, allocations: 1.859 MB / 439.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.626, allocations: 0.4966 MB / 440.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.6274, allocations: 392.2 kB / 440.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.6275, allocations: 4.328 kB / 440.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006081/0.6281, allocations: 269.7 kB / 440.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.026e-06/0.6281, allocations: 0 / 440.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002305/0.6304, allocations: 0.5761 MB / 441.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.6306, allocations: 250.5 kB / 441.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.6313, allocations: 375.2 kB / 442.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.6314, allocations: 40.64 kB / 442.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.6317, allocations: 309.1 kB / 442.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.6318, allocations: 131 kB / 442.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.6319, allocations: 14.56 kB / 442.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6321, allocations: 347.2 kB / 442.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.6324, allocations: 130.7 kB / 443 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.633, allocations: 288.1 kB / 443.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.6334, allocations: 165.7 kB / 443.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.6334, allocations: 4 kB / 443.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002513/0.636, allocations: 0.7085 MB / 444.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.636, allocations: 4 kB / 444.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.636, allocations: 4 kB / 444.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008167/0.6369, allocations: 164.6 kB / 444.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.6375, allocations: 91.45 kB / 444.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004864/0.6424, allocations: 2.421 MB / 446.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.6434, allocations: 90.47 kB / 446.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.6435, allocations: 19.69 kB / 446.9 MB, free: 8.668 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.6437, allocations: 139.5 kB / 447.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6438, allocations: 47.44 kB / 447.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.6439, allocations: 56.02 kB / 447.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.644, allocations: 4 kB / 447.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.644, allocations: 0 / 447.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.644, allocations: 0 / 447.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.6473, allocations: 1.216 MB / 448.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6473, allocations: 0 / 448.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.6478, allocations: 47.91 kB / 448.4 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008047/0.6486, allocations: 168 kB / 448.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.6487, allocations: 3.25 kB / 448.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004598/0.6533, allocations: 2.365 MB / 451 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6533, allocations: 0 / 451 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.6561, allocations: 0.8493 MB / 451.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.6563, allocations: 131.7 kB / 452 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.6564, allocations: 7.188 kB / 452 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/0.6571, allocations: 58.72 kB / 452 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.6572, allocations: 27.83 kB / 452 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.6573, allocations: 8 kB / 452.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000509/0.6578, allocations: 292.3 kB / 452.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6578, allocations: 3.938 kB / 452.3 MB, free: 4.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009608/0.6588, allocations: 196.5 kB / 452.5 MB, free: 3.891 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00322/0.662, allocations: 1.406 MB / 453.9 MB, free: 2.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.6636, allocations: 0.5017 MB / 454.4 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6636, allocations: 0 / 454.4 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000915/0.6645, allocations: 349.8 kB / 454.8 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.6653, allocations: 78.62 kB / 454.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.6677, allocations: 0.7239 MB / 455.6 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.6683, allocations: 0.8754 MB / 456.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.6687, allocations: 48.55 kB / 456.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.6691, allocations: 191.4 kB / 456.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6691, allocations: 0 / 456.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05913/0.7282, allocations: 10.93 MB / 467.6 MB, free: 4.871 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/0.7286, allocations: 196.3 kB / 467.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.523, allocations: 0 / 467.8 MB, free: 4.648 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat does not exist to compare? outputFormat=mat