Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.302e-05, allocations: 8 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.4919, allocations: 74.45 MB / 374.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4922, allocations: 78.83 kB / 374.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02186/0.5141, allocations: 4.9 MB / 379.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5141, allocations: 0 / 379.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.5142, allocations: 8 kB / 379.4 MB, free: 21.75 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.001073/0.5153, allocations: 0.5241 MB / 379.9 MB, free: 21.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5153, allocations: 12.69 kB / 379.9 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.5154, allocations: 58.02 kB / 380 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.5155, allocations: 24.47 kB / 380 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.5158, allocations: 251 kB / 380.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.5159, allocations: 12.34 kB / 380.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.5159, allocations: 21.72 kB / 380.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.5164, allocations: 179.8 kB / 380.5 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5164, allocations: 0 / 380.5 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.5165, allocations: 8.906 kB / 380.5 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.5165, allocations: 7.172 kB / 380.5 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.5169, allocations: 132.4 kB / 380.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.5188, allocations: 0.8488 MB / 381.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.5192, allocations: 126.4 kB / 381.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.5194, allocations: 55.89 kB / 381.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.5194, allocations: 1.219 kB / 381.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.5197, allocations: 128 kB / 381.8 MB, free: 20.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.5197, allocations: 0 / 381.8 MB, free: 20.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003771/0.5201, allocations: 136.3 kB / 381.9 MB, free: 20.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5202, allocations: 79.48 kB / 382 MB, free: 20.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.5205, allocations: 201.1 kB / 382.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5205, allocations: 31.8 kB / 382.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.5206, allocations: 224.3 kB / 382.4 MB, free: 19.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.5207, allocations: 43.7 kB / 382.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.5207, allocations: 2.562 kB / 382.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.5208, allocations: 322 kB / 382.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5209, allocations: 52.59 kB / 382.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5211, allocations: 105 kB / 382.9 MB, free: 19.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5213, allocations: 74.31 kB / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5213, allocations: 0 / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004518/0.5218, allocations: 218.1 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.5218, allocations: 35.38 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5219, allocations: 2.875 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5219, allocations: 1.719 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.5223, allocations: 55.16 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5223, allocations: 3 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.5228, allocations: 47.16 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.5228, allocations: 9.031 kB / 383.4 MB, free: 19.39 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 8.608e-05/0.5229, allocations: 113.5 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.523, allocations: 21.7 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.5231, allocations: 25.94 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5231, allocations: 1.656 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5231, allocations: 4 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5231, allocations: 3.938 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.5234, allocations: 275.7 kB / 383.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5234, allocations: 0 / 383.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.5238, allocations: 39.48 kB / 383.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5238, allocations: 0 / 383.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.5238, allocations: 7.734 kB / 383.9 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5238, allocations: 0 / 383.9 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5239, allocations: 5.781 kB / 383.9 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.5244, allocations: 211 kB / 384.1 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.5244, allocations: 100.8 kB / 384.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.5245, allocations: 7.406 kB / 384.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.5249, allocations: 35.08 kB / 384.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.525, allocations: 18.08 kB / 384.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.525, allocations: 2.969 kB / 384.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.5252, allocations: 168.4 kB / 384.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5252, allocations: 0 / 384.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.5256, allocations: 55.88 kB / 384.4 MB, free: 18.78 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.0006974/0.5263, allocations: 0.7549 MB / 385.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.5267, allocations: 175.5 kB / 385.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5267, allocations: 3.562 kB / 385.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5269, allocations: 51.33 kB / 385.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.5272, allocations: 38.34 kB / 385.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.5284, allocations: 383.1 kB / 385.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.5286, allocations: 0.7441 MB / 386.6 MB, free: 17.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.5287, allocations: 60.75 kB / 386.6 MB, free: 17.14 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5287, allocations: 1.469 kB / 386.6 MB, free: 17.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.494/3.022, allocations: 3.674 MB / 390.3 MB, free: 16.87 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat