Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.222/2.222, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.597e-05, allocations: 4 kB / 292.8 MB, free: 11.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.4 MB / 343.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.5946, allocations: 81.41 MB / 424.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.5949, allocations: 80.98 kB / 424.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02739/0.6224, allocations: 6.261 MB / 430.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6224, allocations: 3.5 kB / 430.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.6224, allocations: 7.516 kB / 430.9 MB, free: 6.051 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001418/0.6239, allocations: 0.5802 MB / 431.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.6239, allocations: 11.38 kB / 431.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.565e-05/0.624, allocations: 55.73 kB / 431.6 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.6242, allocations: 30.91 kB / 431.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.6246, allocations: 297.1 kB / 431.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.6247, allocations: 22.5 kB / 431.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.6247, allocations: 22.56 kB / 431.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.6254, allocations: 260 kB / 432.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.6254, allocations: 0 / 432.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.6255, allocations: 11.34 kB / 432.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.6255, allocations: 3.844 kB / 432.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.626, allocations: 181.1 kB / 432.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.6287, allocations: 1.145 MB / 433.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.6293, allocations: 136.3 kB / 433.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.6294, allocations: 64.62 kB / 433.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.6295, allocations: 3.812 kB / 433.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.6298, allocations: 128.9 kB / 433.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.555e-06/0.6298, allocations: 0 / 433.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004236/0.6302, allocations: 137.1 kB / 434 MB, free: 4.223 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.6303, allocations: 80.95 kB / 434.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.6306, allocations: 233.9 kB / 434.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.6307, allocations: 36.52 kB / 434.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.6308, allocations: 186.5 kB / 434.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.6309, allocations: 45.27 kB / 434.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.6309, allocations: 7.25 kB / 434.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.631, allocations: 332.9 kB / 434.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.6312, allocations: 56.2 kB / 434.9 MB, free: 3.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.6314, allocations: 149.9 kB / 435.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.6316, allocations: 98.72 kB / 435.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.6316, allocations: 0 / 435.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005906/0.6322, allocations: 260.3 kB / 435.4 MB, free: 3.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.6323, allocations: 37.38 kB / 435.5 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6323, allocations: 352 / 435.5 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.6323, allocations: 11.78 kB / 435.5 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.6329, allocations: 75.33 kB / 435.6 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.6329, allocations: 3.812 kB / 435.6 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.6335, allocations: 60.8 kB / 435.6 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.6336, allocations: 11.22 kB / 435.6 MB, free: 3.133 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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.0001461/0.6337, allocations: 123.9 kB / 435.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.6338, allocations: 23.12 kB / 435.8 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.654e-05/0.6339, allocations: 23.08 kB / 435.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6339, allocations: 3.719 kB / 435.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6339, allocations: 4 kB / 435.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6339, allocations: 7.984 kB / 435.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.6343, allocations: 310.3 kB / 436.1 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6343, allocations: 3.953 kB / 436.1 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.6348, allocations: 42.28 kB / 436.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.6348, allocations: 7.828 kB / 436.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.6348, allocations: 3.5 kB / 436.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.6348, allocations: 0 / 436.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6349, allocations: 4 kB / 436.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.6354, allocations: 232.4 kB / 436.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.6355, allocations: 107.8 kB / 436.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.6356, allocations: 3.562 kB / 436.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.6361, allocations: 38.94 kB / 436.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.6362, allocations: 21.16 kB / 436.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.6362, allocations: 0 / 436.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.6366, allocations: 185.8 kB / 436.8 MB, free: 18.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6366, allocations: 0 / 436.8 MB, free: 18.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004996/0.6371, allocations: 75.16 kB / 436.8 MB, free: 18.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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.001004/0.6381, allocations: 0.7816 MB / 437.6 MB, free: 17.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.6387, allocations: 201.5 kB / 437.8 MB, free: 17.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6387, allocations: 3.938 kB / 437.8 MB, free: 17.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.6389, allocations: 65.45 kB / 437.9 MB, free: 17.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.6393, allocations: 43.23 kB / 437.9 MB, free: 17.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.6407, allocations: 395.3 kB / 438.3 MB, free: 17.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.6412, allocations: 0.7612 MB / 439.1 MB, free: 16.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.6414, allocations: 25.44 kB / 439.1 MB, free: 16.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.6416, allocations: 81.41 kB / 439.2 MB, free: 16.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6416, allocations: 0 / 439.2 MB, free: 16.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.6734, allocations: 4.831 MB / 444 MB, free: 14.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/0.6738, allocations: 166.3 kB / 444.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.21, allocations: 0 / 444.2 MB, free: 14.1 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat