Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.574e-05, allocations: 8 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09251, allocations: 44.51 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.4969, allocations: 74.44 MB / 374.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.4973, allocations: 77.61 kB / 374.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.5215, allocations: 4.904 MB / 379.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5215, allocations: 0 / 379.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.5216, allocations: 4.281 kB / 379.4 MB, free: 11.73 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00119/0.5228, allocations: 0.5291 MB / 380 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5228, allocations: 9.531 kB / 380 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.156e-05/0.5229, allocations: 52.66 kB / 380 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.5231, allocations: 25.31 kB / 380 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.5235, allocations: 256.2 kB / 380.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.5235, allocations: 11.84 kB / 380.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.5236, allocations: 20.09 kB / 380.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.5241, allocations: 178.5 kB / 380.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5241, allocations: 0 / 380.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.5242, allocations: 15.38 kB / 380.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5242, allocations: 8.688 kB / 380.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.5246, allocations: 126.8 kB / 380.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.5269, allocations: 0.8514 MB / 381.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.5274, allocations: 129 kB / 381.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.5276, allocations: 61.53 kB / 381.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.5277, allocations: 1.375 kB / 381.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.528, allocations: 114.9 kB / 381.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.655e-06/0.528, allocations: 1.344 kB / 381.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004534/0.5285, allocations: 132.6 kB / 381.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.5285, allocations: 82.64 kB / 382 MB, free: 10.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.5288, allocations: 204.3 kB / 382.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.5289, allocations: 30.42 kB / 382.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.529, allocations: 164.4 kB / 382.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.5291, allocations: 39.28 kB / 382.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.5291, allocations: 3.25 kB / 382.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.5292, allocations: 333.1 kB / 382.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.5294, allocations: 47.28 kB / 382.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.5296, allocations: 100.2 kB / 382.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.5298, allocations: 80 kB / 383 MB, free: 9.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5298, allocations: 0 / 383 MB, free: 9.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005476/0.5303, allocations: 223.8 kB / 383.2 MB, free: 9.488 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.5304, allocations: 33.83 kB / 383.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5304, allocations: 2.062 kB / 383.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5305, allocations: 7.375 kB / 383.2 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.5309, allocations: 56.19 kB / 383.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.531, allocations: 2.781 kB / 383.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.5315, allocations: 45.33 kB / 383.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.5315, allocations: 10.69 kB / 383.4 MB, free: 9.438 MB / 314.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 (21): * Single equations (assignments): 20 * 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.000109/0.5316, allocations: 115.5 kB / 383.5 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.5317, allocations: 25.98 kB / 383.5 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/0.5318, allocations: 23.42 kB / 383.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5318, allocations: 1.531 kB / 383.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5318, allocations: 1.5 kB / 383.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5318, allocations: 3.938 kB / 383.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.5322, allocations: 271.2 kB / 383.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5322, allocations: 1.594 kB / 383.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.5326, allocations: 48.03 kB / 383.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.5327, allocations: 0 / 383.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.5327, allocations: 5.703 kB / 383.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5327, allocations: 0 / 383.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5327, allocations: 5.391 kB / 383.8 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.5333, allocations: 219.3 kB / 384.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.5333, allocations: 103.2 kB / 384.2 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.5334, allocations: 5.344 kB / 384.2 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.5338, allocations: 34.33 kB / 384.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.5339, allocations: 19.36 kB / 384.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.5339, allocations: 2.75 kB / 384.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.5342, allocations: 170.5 kB / 384.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5342, allocations: 0 / 384.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.5346, allocations: 54.34 kB / 384.4 MB, free: 8.816 MB / 314.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 (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.0007931/0.5354, allocations: 0.7594 MB / 385.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.5359, allocations: 181.1 kB / 385.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5359, allocations: 0 / 385.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.5361, allocations: 52.77 kB / 385.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.5365, allocations: 35.03 kB / 385.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.5378, allocations: 354.1 kB / 385.8 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.5381, allocations: 0.7388 MB / 386.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.5383, allocations: 22.81 kB / 386.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.5385, allocations: 66.23 kB / 386.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of SimCode: time 1.963e-06/0.5385, allocations: 0 / 386.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.5627, allocations: 4.17 MB / 390.8 MB, free: 6.797 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/0.5631, allocations: 167.5 kB / 391 MB, free: 6.566 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.006, allocations: 0 / 391 MB, free: 6.566 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat