Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.723e-05, allocations: 12 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09666, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5322, allocations: 79.16 MB / 396.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5326, allocations: 75.95 kB / 396.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02637/0.559, allocations: 5.43 MB / 401.7 MB, free: 3.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.559, allocations: 3.984 kB / 401.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.222e-05/0.5591, allocations: 11.98 kB / 401.7 MB, free: 3.824 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001418/0.5605, allocations: 0.5531 MB / 402.3 MB, free: 3.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5606, allocations: 11.97 kB / 402.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.355e-05/0.5607, allocations: 49.17 kB / 402.3 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.5608, allocations: 27.72 kB / 402.4 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.5612, allocations: 269.3 kB / 402.6 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.5613, allocations: 15.19 kB / 402.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.5614, allocations: 23.62 kB / 402.7 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.5619, allocations: 182.1 kB / 402.8 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5619, allocations: 0 / 402.8 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.5619, allocations: 7.125 kB / 402.8 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.562, allocations: 4 kB / 402.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.5624, allocations: 154.7 kB / 403 MB, free: 2.613 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.5648, allocations: 0.8869 MB / 403.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.5655, allocations: 144.1 kB / 404 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.5657, allocations: 55.05 kB / 404.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.5657, allocations: 0 / 404.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.5661, allocations: 144.8 kB / 404.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.5661, allocations: 0 / 404.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007534/0.5668, allocations: 184.5 kB / 404.4 MB, free: 1.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.5669, allocations: 83.36 kB / 404.5 MB, free: 1.258 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.5673, allocations: 217.2 kB / 404.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.5673, allocations: 29.69 kB / 404.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.5675, allocations: 157.9 kB / 404.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.5675, allocations: 46.08 kB / 404.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.5676, allocations: 3.375 kB / 404.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5677, allocations: 336.7 kB / 405.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.5679, allocations: 49.5 kB / 405.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.5681, allocations: 105.5 kB / 405.4 MB, free: 416 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.5683, allocations: 85.66 kB / 405.5 MB, free: 348 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5684, allocations: 0 / 405.5 MB, free: 348 kB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008864/0.5693, allocations: 292.3 kB / 405.8 MB, free: 88 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.5696, allocations: 0.6376 MB / 406.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5697, allocations: 4 kB / 406.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.5699, allocations: 36.09 kB / 406.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.5703, allocations: 47.95 kB / 406.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005568/0.5709, allocations: 0.5572 MB / 407.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.5714, allocations: 47.62 kB / 407.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.5715, allocations: 8 kB / 407.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5715, allocations: 7.938 kB / 407.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005479/0.5721, allocations: 204.7 kB / 407.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5721, allocations: 8.188 kB / 407.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.5722, allocations: 22.92 kB / 407.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.5726, allocations: 51.89 kB / 407.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.574, allocations: 1.377 MB / 408.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.5745, allocations: 39.31 kB / 408.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.5745, allocations: 12.09 kB / 408.8 MB, free: 12.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.5747, allocations: 115.7 kB / 408.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.5747, allocations: 27.67 kB / 409 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.5748, allocations: 24.2 kB / 409 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5748, allocations: 0 / 409 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5749, allocations: 0 / 409 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5749, allocations: 4 kB / 409 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.5753, allocations: 284.2 kB / 409.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5753, allocations: 3.938 kB / 409.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.5757, allocations: 39.97 kB / 409.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.5758, allocations: 35.61 kB / 409.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.5759, allocations: 0 / 409.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.5775, allocations: 1.369 MB / 410.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5775, allocations: 0 / 410.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.5784, allocations: 285.8 kB / 411 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5785, allocations: 96.91 kB / 411.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.5785, allocations: 11.81 kB / 411.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.579, allocations: 27.97 kB / 411.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5791, allocations: 23.47 kB / 411.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.5791, allocations: 7.938 kB / 411.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002482/0.5794, allocations: 167.9 kB / 411.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5794, allocations: 4 kB / 411.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006961/0.5801, allocations: 115.6 kB / 411.4 MB, free: 10.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.5814, allocations: 0.8294 MB / 412.3 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009725/0.5824, allocations: 441.3 kB / 412.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5824, allocations: 0.8125 kB / 412.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.5828, allocations: 180.4 kB / 412.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.5832, allocations: 32.23 kB / 412.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.5845, allocations: 388.2 kB / 413.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.5849, allocations: 0.7446 MB / 414 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000275/0.5852, allocations: 38.05 kB / 414.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.5854, allocations: 61.67 kB / 414.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5854, allocations: 0 / 414.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.6182, allocations: 5.306 MB / 419.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.6186, allocations: 193.2 kB / 419.6 MB, free: 2.305 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.31, allocations: 0 / 419.6 MB, free: 2.305 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat