Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.166e-05, allocations: 4 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 50.4 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6282, allocations: 83 MB / 426.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/0.6287, allocations: 77.08 kB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04969/0.6784, allocations: 9.798 MB / 436 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6784, allocations: 0 / 436 MB, free: 2.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.895e-05/0.6785, allocations: 12 kB / 436.1 MB, free: 2.422 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.001997/0.6805, allocations: 0.7838 MB / 436.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.6806, allocations: 8.031 kB / 436.8 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.6807, allocations: 96.58 kB / 436.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.6809, allocations: 71.16 kB / 437 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.6817, allocations: 398.7 kB / 437.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.6818, allocations: 46.88 kB / 437.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.6819, allocations: 56.52 kB / 437.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.6832, allocations: 0.499 MB / 438 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.6833, allocations: 3.938 kB / 438 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.6833, allocations: 24.69 kB / 438 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.6834, allocations: 12 kB / 438 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.6844, allocations: 350.6 kB / 438.4 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.6891, allocations: 1.858 MB / 440.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.6902, allocations: 0.491 MB / 440.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.6915, allocations: 386.4 kB / 441.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.6916, allocations: 8.312 kB / 441.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006078/0.6922, allocations: 273.7 kB / 441.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.765e-06/0.6922, allocations: 0 / 441.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002282/0.6945, allocations: 0.5875 MB / 442 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.6947, allocations: 235.3 kB / 442.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.6954, allocations: 384.5 kB / 442.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.6954, allocations: 32.58 kB / 442.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.6957, allocations: 309.2 kB / 442.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.6959, allocations: 135 kB / 443 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.6959, allocations: 9.562 kB / 443 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.6961, allocations: 359.2 kB / 443.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.6965, allocations: 123.6 kB / 443.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.697, allocations: 287.8 kB / 443.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.6975, allocations: 161.7 kB / 444 MB, free: 11.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6975, allocations: 0 / 444 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0025/0.7, allocations: 0.7031 MB / 444.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.7, allocations: 8 kB / 444.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.7001, allocations: 4 kB / 444.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.7009, allocations: 172.3 kB / 444.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.7015, allocations: 86.89 kB / 444.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/0.7064, allocations: 2.423 MB / 447.3 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.7072, allocations: 91.16 kB / 447.4 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.7073, allocations: 19.5 kB / 447.5 MB, free: 8.648 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.0001818/0.7075, allocations: 134.4 kB / 447.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.7076, allocations: 47.44 kB / 447.6 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.7078, allocations: 56.14 kB / 447.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.7078, allocations: 4 kB / 447.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7078, allocations: 4 kB / 447.7 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.7078, allocations: 3.984 kB / 447.7 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.711, allocations: 1.202 MB / 448.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7111, allocations: 0 / 448.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.7115, allocations: 58.84 kB / 449 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007119/0.7122, allocations: 160.7 kB / 449.1 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.7123, allocations: 10.94 kB / 449.1 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004489/0.7168, allocations: 2.365 MB / 451.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7168, allocations: 4 kB / 451.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.7195, allocations: 0.8448 MB / 452.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.7196, allocations: 130.8 kB / 452.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.7198, allocations: 11 kB / 452.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.7205, allocations: 47.78 kB / 452.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.7206, allocations: 33.89 kB / 452.6 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.7206, allocations: 11.8 kB / 452.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004959/0.7211, allocations: 298.8 kB / 452.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7212, allocations: 0 / 452.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009971/0.7222, allocations: 189.5 kB / 453.1 MB, free: 3.875 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.003113/0.7253, allocations: 1.411 MB / 454.5 MB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.7267, allocations: 0.5015 MB / 455 MB, free: 2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7267, allocations: 0 / 455 MB, free: 2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.7276, allocations: 349.6 kB / 455.3 MB, free: 1.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.7283, allocations: 70.05 kB / 455.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.7306, allocations: 0.72 MB / 456.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.7312, allocations: 0.8793 MB / 457 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.7316, allocations: 48.45 kB / 457 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.732, allocations: 191.4 kB / 457.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.732, allocations: 4 kB / 457.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.7756, allocations: 10.93 MB / 468.1 MB, free: 4.906 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.7759, allocations: 192.2 kB / 468.3 MB, free: 4.688 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/3.707, allocations: 0 / 468.3 MB, free: 4.688 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat does not exist to compare? outputFormat=mat