Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.301e-05, allocations: 4 kB / 292.3 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 50.41 MB / 342.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4963/0.613, allocations: 81.67 MB / 424.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6133, allocations: 83.17 kB / 424.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02954/0.6429, allocations: 6.248 MB / 430.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6429, allocations: 0 / 430.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.643, allocations: 4 kB / 430.7 MB, free: 6.785 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001582/0.6446, allocations: 0.5785 MB / 431.2 MB, free: 6.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.6446, allocations: 8.031 kB / 431.3 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.6448, allocations: 68.84 kB / 431.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.6449, allocations: 31.62 kB / 431.3 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.6454, allocations: 288.6 kB / 431.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.6455, allocations: 19.31 kB / 431.6 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.6456, allocations: 22.25 kB / 431.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.6462, allocations: 264.8 kB / 431.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.6463, allocations: 7.875 kB / 431.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.6463, allocations: 10.81 kB / 431.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.6463, allocations: 4 kB / 432 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.6469, allocations: 182 kB / 432.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.6499, allocations: 1.148 MB / 433.3 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.6505, allocations: 132 kB / 433.4 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.6507, allocations: 64.55 kB / 433.5 MB, free: 4.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.479e-05/0.6507, allocations: 4.219 kB / 433.5 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.6511, allocations: 125.5 kB / 433.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.845e-06/0.6511, allocations: 4 kB / 433.6 MB, free: 4.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004817/0.6516, allocations: 138.5 kB / 433.7 MB, free: 4.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.6517, allocations: 81.11 kB / 433.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.6521, allocations: 229.3 kB / 434 MB, free: 3.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.6521, allocations: 29.02 kB / 434.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.6523, allocations: 202.8 kB / 434.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.6524, allocations: 42.7 kB / 434.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.6524, allocations: 6.625 kB / 434.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6526, allocations: 337.4 kB / 434.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.6528, allocations: 57.8 kB / 434.7 MB, free: 3.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.653, allocations: 144.4 kB / 434.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.6533, allocations: 95.86 kB / 434.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.6533, allocations: 4 kB / 434.9 MB, free: 2.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006806/0.654, allocations: 258.5 kB / 435.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.6541, allocations: 37.73 kB / 435.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.6541, allocations: 4 kB / 435.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.6541, allocations: 4 kB / 435.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.6547, allocations: 75.69 kB / 435.3 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.6547, allocations: 7.984 kB / 435.3 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.6553, allocations: 55.72 kB / 435.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.6554, allocations: 15.05 kB / 435.4 MB, free: 2.531 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: 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 (26): * Single equations (assignments): 25 * 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.0001471/0.6556, allocations: 131.6 kB / 435.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.6556, allocations: 19.72 kB / 435.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.6557, allocations: 27.77 kB / 435.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6557, allocations: 4 kB / 435.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6557, allocations: 0 / 435.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.6558, allocations: 0 / 435.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.6562, allocations: 308 kB / 435.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6562, allocations: 3.953 kB / 435.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.6567, allocations: 55.89 kB / 435.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6567, allocations: 0 / 435.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.6568, allocations: 7.438 kB / 435.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6568, allocations: 3.938 kB / 435.9 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6568, allocations: 4 kB / 435.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.6574, allocations: 233.4 kB / 436.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.6576, allocations: 104.6 kB / 436.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.6576, allocations: 7.859 kB / 436.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.6581, allocations: 36.03 kB / 436.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.6582, allocations: 19.22 kB / 436.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.6582, allocations: 7.625 kB / 436.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002696/0.6585, allocations: 183.7 kB / 436.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6585, allocations: 0 / 436.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004563/0.659, allocations: 70.97 kB / 436.6 MB, free: 1.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * 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.0009988/0.66, allocations: 0.7874 MB / 437.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.6605, allocations: 195.7 kB / 437.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6605, allocations: 4 kB / 437.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.6607, allocations: 61.44 kB / 437.6 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.6612, allocations: 42.91 kB / 437.7 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.6626, allocations: 387.4 kB / 438 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.663, allocations: 0.756 MB / 438.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.6633, allocations: 30.06 kB / 438.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.6635, allocations: 81.33 kB / 438.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6635, allocations: 0 / 438.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.6927, allocations: 4.838 MB / 443.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/0.6931, allocations: 163.8 kB / 443.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.18, allocations: 0 / 443.9 MB, free: 10.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat