Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.64e-05/4.663e-05, allocations: 4 kB / 292.8 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1798, allocations: 50.41 MB / 343.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.6141, allocations: 81.06 MB / 424.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.6144, allocations: 82.05 kB / 424.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02419/0.6387, allocations: 5.593 MB / 429.9 MB, free: 7.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6387, allocations: 4 kB / 429.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.6388, allocations: 4 kB / 429.9 MB, free: 7.969 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001316/0.6401, allocations: 0.569 MB / 430.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6402, allocations: 8.031 kB / 430.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.6403, allocations: 78.47 kB / 430.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.6404, allocations: 35.62 kB / 430.6 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.641, allocations: 293.3 kB / 430.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.641, allocations: 21.97 kB / 430.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.6411, allocations: 29.44 kB / 430.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.6419, allocations: 317.1 kB / 431.3 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.6419, allocations: 3.953 kB / 431.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.642, allocations: 17.94 kB / 431.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.642, allocations: 8 kB / 431.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.6426, allocations: 222.5 kB / 431.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.6459, allocations: 1.285 MB / 432.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.6465, allocations: 235 kB / 433 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.6467, allocations: 79.61 kB / 433.1 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.6468, allocations: 7.938 kB / 433.1 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.6468, allocations: 34.55 kB / 433.1 MB, free: 5.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/0.6468, allocations: 0 / 433.1 MB, free: 5.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001114/0.648, allocations: 262.6 kB / 433.4 MB, free: 4.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.648, allocations: 51.41 kB / 433.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.6485, allocations: 262.5 kB / 433.7 MB, free: 4.684 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.6485, allocations: 33.52 kB / 433.7 MB, free: 4.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.6487, allocations: 224 kB / 434 MB, free: 4.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.6488, allocations: 45.95 kB / 434 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.6488, allocations: 7.188 kB / 434 MB, free: 4.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.649, allocations: 337 kB / 434.3 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.6492, allocations: 57.06 kB / 434.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.6494, allocations: 138.6 kB / 434.5 MB, free: 3.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.6496, allocations: 73.59 kB / 434.6 MB, free: 3.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6497, allocations: 4 kB / 434.6 MB, free: 3.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001254/0.6509, allocations: 340.9 kB / 434.9 MB, free: 3.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.651, allocations: 8 kB / 434.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.651, allocations: 8.062 kB / 434.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.6514, allocations: 65.95 kB / 435 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.6517, allocations: 39.92 kB / 435.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.6548, allocations: 1.812 MB / 436.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.6553, allocations: 38.88 kB / 436.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.6553, allocations: 19.25 kB / 436.9 MB, free: 1.699 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.6555, allocations: 119.7 kB / 437 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.6556, allocations: 31.62 kB / 437.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.792e-05/0.6557, allocations: 28.22 kB / 437.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.6557, allocations: 0 / 437.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6557, allocations: 7.875 kB / 437.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6557, allocations: 0 / 437.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.6574, allocations: 0.6807 MB / 437.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6575, allocations: 0 / 437.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.6576, allocations: 19.98 kB / 437.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.658, allocations: 67.12 kB / 437.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.658, allocations: 4 kB / 437.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.6609, allocations: 1.8 MB / 439.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6609, allocations: 0 / 439.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.662, allocations: 359.8 kB / 440 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6622, allocations: 104.1 kB / 440.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.6622, allocations: 0 / 440.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.6626, allocations: 27.8 kB / 440.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.6627, allocations: 19.95 kB / 440.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.6627, allocations: 7.625 kB / 440.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003401/0.6631, allocations: 208.5 kB / 440.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6631, allocations: 0 / 440.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007052/0.6638, allocations: 90.94 kB / 440.5 MB, free: 14.39 MB / 362.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 (8): * Single equations (assignments): 7 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/0.6653, allocations: 0.9078 MB / 441.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.6661, allocations: 274.9 kB / 441.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6661, allocations: 0.6875 kB / 441.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.6665, allocations: 194.1 kB / 441.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.667, allocations: 38.58 kB / 441.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.6686, allocations: 438.8 kB / 442.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.6691, allocations: 0.7757 MB / 443.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.6693, allocations: 26.06 kB / 443.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.6695, allocations: 86.66 kB / 443.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6695, allocations: 0 / 443.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.7067, allocations: 5.842 MB / 449 MB, free: 6.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/0.7071, allocations: 183 kB / 449.2 MB, free: 5.848 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.184, allocations: 0 / 449.2 MB, free: 5.848 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat does not exist to compare? outputFormat=mat