Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.372e-05, allocations: 8 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5295, allocations: 81.73 MB / 424.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5298, allocations: 85.19 kB / 424.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02721/0.557, allocations: 6.241 MB / 430.7 MB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5571, allocations: 0 / 430.7 MB, free: 6.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.5571, allocations: 15.17 kB / 430.7 MB, free: 6.676 MB / 346.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.001423/0.5585, allocations: 0.5797 MB / 431.3 MB, free: 6.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5586, allocations: 8.031 kB / 431.3 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.429e-05/0.5587, allocations: 60.66 kB / 431.4 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.5588, allocations: 34.56 kB / 431.4 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.5593, allocations: 291.7 kB / 431.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.5593, allocations: 16 kB / 431.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.5594, allocations: 23.19 kB / 431.7 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.56, allocations: 265.3 kB / 432 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5601, allocations: 3.938 kB / 432 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.5601, allocations: 18.84 kB / 432 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.5601, allocations: 4 kB / 432 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.5606, allocations: 175.9 kB / 432.2 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.5634, allocations: 1.142 MB / 433.3 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.5639, allocations: 146.2 kB / 433.5 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.5641, allocations: 60.02 kB / 433.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.5641, allocations: 7.938 kB / 433.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.5644, allocations: 122.1 kB / 433.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.084e-06/0.5644, allocations: 0 / 433.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004143/0.5649, allocations: 138.3 kB / 433.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.5649, allocations: 84.36 kB / 433.9 MB, free: 3.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.5653, allocations: 231.7 kB / 434.1 MB, free: 3.672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.5653, allocations: 29.2 kB / 434.1 MB, free: 3.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.5655, allocations: 255.1 kB / 434.4 MB, free: 3.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.5656, allocations: 45.08 kB / 434.4 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.5656, allocations: 7.25 kB / 434.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5657, allocations: 322.2 kB / 434.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.5659, allocations: 55.73 kB / 434.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.5662, allocations: 143.6 kB / 434.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.5664, allocations: 101.5 kB / 435 MB, free: 2.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5664, allocations: 0 / 435 MB, free: 2.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006022/0.567, allocations: 251.3 kB / 435.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.5671, allocations: 33.7 kB / 435.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5671, allocations: 0 / 435.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5671, allocations: 8 kB / 435.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.5677, allocations: 80.09 kB / 435.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5677, allocations: 4 kB / 435.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.5683, allocations: 50.69 kB / 435.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.5683, allocations: 11.88 kB / 435.5 MB, free: 2.395 MB / 346.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.0001214/0.5684, allocations: 124.7 kB / 435.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.5685, allocations: 27.7 kB / 435.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.5686, allocations: 20.91 kB / 435.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.5686, allocations: 4 kB / 435.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5686, allocations: 0 / 435.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5686, allocations: 3.984 kB / 435.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.569, allocations: 307.3 kB / 435.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.569, allocations: 3.953 kB / 435.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.5695, allocations: 59.89 kB / 436 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5695, allocations: 4 kB / 436 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.5695, allocations: 3.688 kB / 436 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5695, allocations: 3.984 kB / 436 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5696, allocations: 0 / 436 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.5701, allocations: 234.2 kB / 436.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.5702, allocations: 100.1 kB / 436.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.5703, allocations: 11.94 kB / 436.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.5708, allocations: 39.89 kB / 436.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.5709, allocations: 19.22 kB / 436.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.5709, allocations: 3.984 kB / 436.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002513/0.5712, allocations: 189.8 kB / 436.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5712, allocations: 4 kB / 436.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004286/0.5716, allocations: 74.78 kB / 436.7 MB, free: 1.277 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.0008898/0.5725, allocations: 0.7792 MB / 437.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.573, allocations: 206.9 kB / 437.6 MB, free: 376 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.573, allocations: 0 / 437.6 MB, free: 376 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.5732, allocations: 64.44 kB / 437.7 MB, free: 332 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.5736, allocations: 34.09 kB / 437.7 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.5749, allocations: 427.4 kB / 438.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5753, allocations: 0.756 MB / 438.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5755, allocations: 80.59 kB / 439 MB, free: 15.07 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5755, allocations: 0 / 439 MB, free: 15.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.35/2.926, allocations: 4.422 MB / 443.4 MB, free: 10.71 MB / 362.7 MB