Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.228/2.228, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.851e-05, allocations: 5.5 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09879/0.09886, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5205/0.6194, allocations: 73.78 MB / 368.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6198, allocations: 80.02 kB / 368.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02436/0.6442, allocations: 4.837 MB / 373 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6442, allocations: 0 / 373 MB, free: 22.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.6442, allocations: 3.969 kB / 373 MB, free: 22.58 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.00121/0.6455, allocations: 0.5419 MB / 373.5 MB, free: 22.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6455, allocations: 7.688 kB / 373.6 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.46e-05/0.6456, allocations: 29.33 kB / 373.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.646, allocations: 245.5 kB / 373.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.6461, allocations: 10.42 kB / 373.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.6461, allocations: 11.62 kB / 373.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003913/0.6465, allocations: 118.9 kB / 374 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.647, allocations: 153.1 kB / 374.1 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.647, allocations: 0 / 374.1 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.647, allocations: 0 / 374.1 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.6471, allocations: 7.75 kB / 374.1 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.6491, allocations: 0.8091 MB / 374.9 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.6495, allocations: 120.4 kB / 375 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6497, allocations: 49.14 kB / 375.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.6497, allocations: 3.875 kB / 375.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.65, allocations: 124.6 kB / 375.2 MB, free: 21.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.741e-05/0.65, allocations: 0 / 375.2 MB, free: 21.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003831/0.6504, allocations: 119.6 kB / 375.3 MB, free: 21.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.6505, allocations: 83.06 kB / 375.4 MB, free: 21.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.6508, allocations: 197.9 kB / 375.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.6508, allocations: 25.7 kB / 375.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6509, allocations: 166 kB / 375.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.651, allocations: 37.83 kB / 375.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.651, allocations: 0 / 375.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6511, allocations: 331.5 kB / 376.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.6513, allocations: 41.94 kB / 376.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.6514, allocations: 98.41 kB / 376.3 MB, free: 20.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.6516, allocations: 57.56 kB / 376.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6516, allocations: 0 / 376.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004673/0.6521, allocations: 178.6 kB / 376.5 MB, free: 20.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.6522, allocations: 38.39 kB / 376.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6522, allocations: 0 / 376.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.6522, allocations: 8.078 kB / 376.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.6527, allocations: 56.69 kB / 376.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.6527, allocations: 3.875 kB / 376.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.6532, allocations: 39.48 kB / 376.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.6533, allocations: 11.06 kB / 376.7 MB, free: 20.41 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 0.0001363/0.6534, allocations: 112.7 kB / 376.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003187/0.6537, allocations: 128.7 kB / 376.9 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.6538, allocations: 23.45 kB / 376.9 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.6539, allocations: 19.89 kB / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6539, allocations: 3.906 kB / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6539, allocations: 0 / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6539, allocations: 0 / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.6543, allocations: 241 kB / 377.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6543, allocations: 0 / 377.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.6547, allocations: 43.97 kB / 377.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6548, allocations: 3.984 kB / 377.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.6548, allocations: 3.141 kB / 377.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6548, allocations: 11.83 kB / 377.3 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6548, allocations: 0 / 377.3 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.6554, allocations: 204.7 kB / 377.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.6555, allocations: 99.8 kB / 377.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.6556, allocations: 6.906 kB / 377.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.656, allocations: 21.72 kB / 377.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6561, allocations: 24.86 kB / 377.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.6561, allocations: 6.906 kB / 377.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.6563, allocations: 154.2 kB / 377.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6564, allocations: 0 / 377.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.6568, allocations: 61.22 kB / 377.8 MB, free: 19.77 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.0008919/0.6577, allocations: 0.7404 MB / 378.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.6582, allocations: 170.5 kB / 378.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6582, allocations: 4.062 kB / 378.7 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.6584, allocations: 53.81 kB / 378.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.6588, allocations: 28.94 kB / 378.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6601, allocations: 337.4 kB / 379.1 MB, free: 18.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.6605, allocations: 0.7387 MB / 379.9 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.6607, allocations: 23.42 kB / 379.9 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.6609, allocations: 60.83 kB / 380 MB, free: 18.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6609, allocations: 3.844 kB / 380 MB, free: 18.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05013/0.7111, allocations: 3.613 MB / 383.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002963/0.7114, allocations: 159.2 kB / 383.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.997/3.708, allocations: 3.844 kB / 383.7 MB, free: 16.75 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat