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.943/1.943, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.291e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5413, allocations: 74.43 MB / 374.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004156/0.5418, allocations: 76.06 kB / 374.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02519/0.567, allocations: 4.906 MB / 379.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5671, allocations: 0 / 379.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.5671, allocations: 3.625 kB / 379.4 MB, free: 12.16 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.001166/0.5683, allocations: 0.5256 MB / 379.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5683, allocations: 9.406 kB / 379.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.5684, allocations: 53 kB / 380 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.5685, allocations: 26.06 kB / 380 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.5689, allocations: 257.2 kB / 380.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.5689, allocations: 15.97 kB / 380.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.569, allocations: 19.47 kB / 380.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.5695, allocations: 180.4 kB / 380.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5696, allocations: 1.5 kB / 380.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.5696, allocations: 12.69 kB / 380.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.5696, allocations: 4.312 kB / 380.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.57, allocations: 135.6 kB / 380.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.5721, allocations: 0.8398 MB / 381.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.5726, allocations: 134 kB / 381.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.5728, allocations: 55.5 kB / 381.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.5728, allocations: 1.375 kB / 381.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.5731, allocations: 120.1 kB / 381.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.5732, allocations: 8.906 kB / 381.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004163/0.5736, allocations: 133.4 kB / 381.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.5736, allocations: 85.48 kB / 382 MB, free: 10.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.5739, allocations: 202.8 kB / 382.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.574, allocations: 27.02 kB / 382.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5741, allocations: 167.2 kB / 382.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.5742, allocations: 39.33 kB / 382.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.5742, allocations: 4.688 kB / 382.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.5743, allocations: 331.3 kB / 382.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.5744, allocations: 46.25 kB / 382.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.5746, allocations: 103.9 kB / 382.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.5748, allocations: 80.25 kB / 383 MB, free: 9.992 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.5748, allocations: 1.312 kB / 383 MB, free: 9.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004955/0.5753, allocations: 225.6 kB / 383.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.5754, allocations: 33 kB / 383.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5754, allocations: 2.656 kB / 383.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5754, allocations: 6.781 kB / 383.2 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.5759, allocations: 59.11 kB / 383.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5759, allocations: 3.859 kB / 383.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.5764, allocations: 36.77 kB / 383.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.5764, allocations: 15.72 kB / 383.3 MB, free: 9.855 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 9.789e-05/0.5765, allocations: 120.9 kB / 383.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.5766, allocations: 25.08 kB / 383.5 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.111e-05/0.5767, allocations: 22.56 kB / 383.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5767, allocations: 6.188 kB / 383.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5767, allocations: 0 / 383.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5767, allocations: 1.641 kB / 383.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.5771, allocations: 274.2 kB / 383.8 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5771, allocations: 0 / 383.8 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.5775, allocations: 44.06 kB / 383.8 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5775, allocations: 0 / 383.8 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5775, allocations: 10.98 kB / 383.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5775, allocations: 0 / 383.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5775, allocations: 1.938 kB / 383.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.578, allocations: 212.3 kB / 384 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.5781, allocations: 106.5 kB / 384.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.5782, allocations: 10.67 kB / 384.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.5786, allocations: 28.42 kB / 384.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.5787, allocations: 17.8 kB / 384.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.5787, allocations: 5.844 kB / 384.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.5789, allocations: 170.4 kB / 384.4 MB, free: 9.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5789, allocations: 4 kB / 384.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.5793, allocations: 59.38 kB / 384.4 MB, free: 9.227 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.0007434/0.5801, allocations: 0.7539 MB / 385.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.5805, allocations: 177.8 kB / 385.4 MB, free: 8.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5805, allocations: 4.062 kB / 385.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5807, allocations: 55.25 kB / 385.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.5811, allocations: 35.12 kB / 385.4 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.5822, allocations: 351.1 kB / 385.8 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.5824, allocations: 0.7426 MB / 386.5 MB, free: 7.641 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.5826, allocations: 21.36 kB / 386.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.5828, allocations: 60.03 kB / 386.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5828, allocations: 0 / 386.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.6123, allocations: 4.195 MB / 390.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.6126, allocations: 167.8 kB / 391 MB, free: 6.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.28, allocations: 0 / 391 MB, free: 6.98 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