Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.613e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5042, allocations: 79.15 MB / 396.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.5046, allocations: 81.14 kB / 396.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0257/0.5303, allocations: 5.416 MB / 401.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5304, allocations: 0 / 401.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.5304, allocations: 4 kB / 401.7 MB, free: 3.797 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.00139/0.5318, allocations: 0.5564 MB / 402.2 MB, free: 3.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5319, allocations: 12.03 kB / 402.2 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.532, allocations: 54.23 kB / 402.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.5321, allocations: 27.72 kB / 402.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.5326, allocations: 273.6 kB / 402.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.5326, allocations: 12.31 kB / 402.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/0.5327, allocations: 27.73 kB / 402.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.5332, allocations: 182.2 kB / 402.8 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5332, allocations: 0 / 402.8 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.5333, allocations: 11.56 kB / 402.8 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.5333, allocations: 4 kB / 402.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.5337, allocations: 148.2 kB / 403 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.536, allocations: 0.8896 MB / 403.9 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.5366, allocations: 144.7 kB / 404 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.5368, allocations: 56.28 kB / 404.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.5369, allocations: 4 kB / 404.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.5372, allocations: 132 kB / 404.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.5372, allocations: 4 kB / 404.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004108/0.5376, allocations: 128.4 kB / 404.3 MB, free: 1.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.5377, allocations: 81.11 kB / 404.4 MB, free: 1.273 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.538, allocations: 215.2 kB / 404.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.5381, allocations: 33.69 kB / 404.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5382, allocations: 162.7 kB / 404.8 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.5383, allocations: 43.23 kB / 404.8 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.5383, allocations: 7.875 kB / 404.9 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5385, allocations: 330.3 kB / 405.2 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.5386, allocations: 47.19 kB / 405.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.5389, allocations: 106.2 kB / 405.3 MB, free: 432 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.539, allocations: 84.22 kB / 405.4 MB, free: 364 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5391, allocations: 0 / 405.4 MB, free: 364 kB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005501/0.5396, allocations: 236.7 kB / 405.6 MB, free: 160 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003722/0.54, allocations: 0.6484 MB / 406.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.54, allocations: 0 / 406.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5401, allocations: 4 kB / 406.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.5406, allocations: 63.89 kB / 406.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5406, allocations: 4 kB / 406.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.5411, allocations: 51.53 kB / 406.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.5412, allocations: 4 kB / 406.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.5412, allocations: 8 kB / 406.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004806/0.5417, allocations: 187 kB / 406.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.5417, allocations: 0 / 406.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.5417, allocations: 4 kB / 406.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.5421, allocations: 60.02 kB / 406.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.5422, allocations: 8 kB / 406.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.5426, allocations: 43.77 kB / 406.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.5426, allocations: 11.5 kB / 406.7 MB, free: 15.08 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 (22): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.5428, allocations: 112.8 kB / 406.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.5428, allocations: 23.72 kB / 406.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.5429, allocations: 29.52 kB / 406.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5429, allocations: 0 / 406.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.5429, allocations: 4 kB / 406.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5429, allocations: 0 / 406.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.5433, allocations: 279.8 kB / 407.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5433, allocations: 4 kB / 407.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.5438, allocations: 51.89 kB / 407.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5438, allocations: 4 kB / 407.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.5438, allocations: 3.688 kB / 407.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5438, allocations: 0 / 407.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5439, allocations: 3.984 kB / 407.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.5445, allocations: 232.3 kB / 407.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.5446, allocations: 100.2 kB / 407.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.5447, allocations: 4 kB / 407.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.5451, allocations: 42.95 kB / 407.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.5452, allocations: 14.91 kB / 407.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.5452, allocations: 4 kB / 407.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002298/0.5455, allocations: 172.1 kB / 407.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5455, allocations: 0 / 407.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000595/0.5461, allocations: 110.2 kB / 407.9 MB, free: 13.97 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 (13): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009618/0.5471, allocations: 0.7803 MB / 408.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00075/0.5478, allocations: 323 kB / 409 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5479, allocations: 0.8125 kB / 409 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.5481, allocations: 62.62 kB / 409.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.5485, allocations: 36.44 kB / 409.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.5497, allocations: 368.4 kB / 409.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5501, allocations: 0.7524 MB / 410.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.5504, allocations: 30.06 kB / 410.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.5506, allocations: 73.97 kB / 410.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5506, allocations: 0 / 410.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.5768, allocations: 4.73 MB / 415 MB, free: 7.031 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/0.5773, allocations: 171.4 kB / 415.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.01, allocations: 0 / 415.2 MB, free: 6.793 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat