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 2.051/2.051, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.348e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 44.49 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.4394, allocations: 73.78 MB / 368 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.4397, allocations: 75.95 kB / 368.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.4617, allocations: 4.85 MB / 372.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4617, allocations: 0 / 372.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4618, allocations: 8 kB / 372.9 MB, free: 3.215 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.001192/0.463, allocations: 0.5282 MB / 373.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.463, allocations: 12.03 kB / 373.5 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.765e-05/0.4631, allocations: 31.7 kB / 373.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.4636, allocations: 246.6 kB / 373.8 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4636, allocations: 4 kB / 373.8 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.4637, allocations: 15.98 kB / 373.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000385/0.4641, allocations: 120.8 kB / 373.9 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.4645, allocations: 155.9 kB / 374.1 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4645, allocations: 3.938 kB / 374.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.4646, allocations: 0 / 374.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4646, allocations: 8 kB / 374.1 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.4667, allocations: 0.8101 MB / 374.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.4671, allocations: 118.8 kB / 375 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.4673, allocations: 44.86 kB / 375 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.4673, allocations: 0 / 375 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.4676, allocations: 125 kB / 375.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.953e-06/0.4677, allocations: 0 / 375.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003872/0.4681, allocations: 121.6 kB / 375.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.4681, allocations: 81.11 kB / 375.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.4684, allocations: 194 kB / 375.5 MB, free: 408 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.4685, allocations: 29.7 kB / 375.6 MB, free: 372 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4686, allocations: 167.9 kB / 375.7 MB, free: 200 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.4687, allocations: 39.45 kB / 375.8 MB, free: 160 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.4687, allocations: 0 / 375.8 MB, free: 160 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4689, allocations: 330.8 kB / 376.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.469, allocations: 44.38 kB / 376.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.4692, allocations: 95.31 kB / 376.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4694, allocations: 56 kB / 376.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4694, allocations: 0 / 376.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004657/0.4699, allocations: 179.1 kB / 376.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.4699, allocations: 33.88 kB / 376.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.47, allocations: 8 kB / 376.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.47, allocations: 3.953 kB / 376.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.4704, allocations: 55.91 kB / 376.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4705, allocations: 0 / 376.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.4709, allocations: 43.81 kB / 376.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.471, allocations: 8 kB / 376.6 MB, free: 15.27 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 (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.0001206/0.4711, allocations: 116.7 kB / 376.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003018/0.4714, allocations: 121.4 kB / 376.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.4715, allocations: 23.67 kB / 376.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.4716, allocations: 25.83 kB / 376.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4716, allocations: 3.938 kB / 376.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4716, allocations: 4 kB / 376.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4716, allocations: 0 / 376.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.472, allocations: 242.1 kB / 377.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.472, allocations: 0 / 377.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.4724, allocations: 39.97 kB / 377.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4724, allocations: 3.938 kB / 377.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.4724, allocations: 3.984 kB / 377.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4724, allocations: 3.953 kB / 377.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4725, allocations: 4 kB / 377.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.473, allocations: 209 kB / 377.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.4731, allocations: 96.8 kB / 377.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.4731, allocations: 7.984 kB / 377.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4735, allocations: 23.97 kB / 377.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.4736, allocations: 19.94 kB / 377.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4736, allocations: 8.062 kB / 377.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002125/0.4739, allocations: 152.7 kB / 377.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4739, allocations: 0 / 377.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004253/0.4743, allocations: 51.84 kB / 377.7 MB, free: 14.05 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 (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.0009277/0.4753, allocations: 0.7451 MB / 378.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.4757, allocations: 171.3 kB / 378.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4757, allocations: 0 / 378.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4759, allocations: 51.94 kB / 378.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.4762, allocations: 27.94 kB / 378.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4774, allocations: 343.8 kB / 379.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4778, allocations: 0.7438 MB / 379.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.4779, allocations: 22.06 kB / 379.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.4781, allocations: 59.42 kB / 379.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.4781, allocations: 0 / 379.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.5219, allocations: 3.616 MB / 383.5 MB, free: 8.191 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.5222, allocations: 150.6 kB / 383.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.978, allocations: 0 / 383.7 MB, free: 7.996 MB / 330.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