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 2.009/2.009, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.566e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2979, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.5059, allocations: 73.78 MB / 368 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/0.5063, allocations: 83.95 kB / 368.1 MB, free: 8.035 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.5375, allocations: 4.842 MB / 372.9 MB, free: 3.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5376, allocations: 0 / 372.9 MB, free: 3.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.212e-05/0.5376, allocations: 8 kB / 372.9 MB, free: 3.172 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.001723/0.5394, allocations: 0.5244 MB / 373.5 MB, free: 2.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.5395, allocations: 8.031 kB / 373.5 MB, free: 2.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.5396, allocations: 31.72 kB / 373.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.5403, allocations: 250.6 kB / 373.7 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.5403, allocations: 8 kB / 373.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.5404, allocations: 8 kB / 373.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005723/0.541, allocations: 124.7 kB / 373.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.5417, allocations: 159.9 kB / 374 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5417, allocations: 3.938 kB / 374 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.5417, allocations: 0 / 374 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5418, allocations: 4 kB / 374 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.5447, allocations: 0.8101 MB / 374.8 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.5454, allocations: 114.8 kB / 375 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.5456, allocations: 52.84 kB / 375 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.5457, allocations: 4 kB / 375 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.5461, allocations: 117 kB / 375.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.076e-06/0.5461, allocations: 0 / 375.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005471/0.5466, allocations: 125.6 kB / 375.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.5467, allocations: 77.11 kB / 375.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.5471, allocations: 202 kB / 375.5 MB, free: 360 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.5472, allocations: 25.7 kB / 375.5 MB, free: 328 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.5475, allocations: 218.4 kB / 375.8 MB, free: 108 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.5476, allocations: 39.45 kB / 375.8 MB, free: 68 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.5476, allocations: 4 kB / 375.8 MB, free: 64 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.5478, allocations: 318.8 kB / 376.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.548, allocations: 44.38 kB / 376.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.5483, allocations: 103.3 kB / 376.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5486, allocations: 49 kB / 376.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5486, allocations: 0 / 376.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006733/0.5493, allocations: 171.6 kB / 376.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.5494, allocations: 33.7 kB / 376.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.5494, allocations: 192 / 376.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.5494, allocations: 11.95 kB / 376.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.5501, allocations: 59.89 kB / 376.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5501, allocations: 4 kB / 376.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.5507, allocations: 35.81 kB / 376.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.5508, allocations: 15.94 kB / 376.6 MB, free: 15.19 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.00016/0.551, allocations: 112.7 kB / 376.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003257/0.5513, allocations: 125.4 kB / 376.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.5514, allocations: 19.77 kB / 376.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.18e-05/0.5515, allocations: 21.83 kB / 376.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5515, allocations: 0 / 376.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5515, allocations: 0 / 376.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5515, allocations: 0 / 376.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.5519, allocations: 242 kB / 377.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5519, allocations: 11.98 kB / 377.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.5523, allocations: 39.97 kB / 377.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5523, allocations: 0 / 377.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5523, allocations: 0 / 377.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.5523, allocations: 3.953 kB / 377.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.5523, allocations: 0 / 377.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.5528, allocations: 217 kB / 377.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.5529, allocations: 96.88 kB / 377.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.553, allocations: 0 / 377.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.5534, allocations: 31.97 kB / 377.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.5535, allocations: 23.92 kB / 377.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5535, allocations: 0 / 377.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.5537, allocations: 156.8 kB / 377.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5537, allocations: 0 / 377.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.5541, allocations: 47.84 kB / 377.8 MB, free: 13.98 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.0008263/0.555, allocations: 0.745 MB / 378.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.5554, allocations: 171.5 kB / 378.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5554, allocations: 0 / 378.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.5556, allocations: 47.94 kB / 378.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5559, allocations: 31.94 kB / 378.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5571, allocations: 376.8 kB / 379.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5575, allocations: 0.7438 MB / 379.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.5577, allocations: 67.42 kB / 379.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5577, allocations: 0 / 379.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.295/2.853, allocations: 3.614 MB / 383.5 MB, free: 8.09 MB / 330.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