Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.525e-05, allocations: 7.984 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 50.41 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.505/0.6115, allocations: 81.92 MB / 424.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.6119, allocations: 78.08 kB / 424.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04095/0.6529, allocations: 6.934 MB / 431.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6529, allocations: 0 / 431.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.324e-05/0.653, allocations: 12 kB / 431.6 MB, free: 5.891 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002206/0.6552, allocations: 0.6168 MB / 432.2 MB, free: 5.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.6553, allocations: 12.03 kB / 432.2 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.6555, allocations: 65.66 kB / 432.3 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.6557, allocations: 35.62 kB / 432.3 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.6567, allocations: 308.2 kB / 432.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.6567, allocations: 16.19 kB / 432.6 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.6569, allocations: 31.5 kB / 432.7 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.658, allocations: 294.6 kB / 432.9 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.6581, allocations: 3.984 kB / 432.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.6582, allocations: 15.88 kB / 433 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6582, allocations: 8 kB / 433 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.6591, allocations: 208.9 kB / 433.2 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.6642, allocations: 1.318 MB / 434.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.665, allocations: 241.8 kB / 434.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.6655, allocations: 96.28 kB / 434.8 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.6656, allocations: 4 kB / 434.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.6661, allocations: 158 kB / 435 MB, free: 2.922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.696e-06/0.6661, allocations: 0 / 435 MB, free: 2.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001416/0.6675, allocations: 243.7 kB / 435.2 MB, free: 2.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6677, allocations: 110.1 kB / 435.3 MB, free: 2.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.6683, allocations: 261 kB / 435.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.027e-05/0.6684, allocations: 28.95 kB / 435.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.6687, allocations: 260.9 kB / 435.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.6689, allocations: 60 kB / 435.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.6689, allocations: 3.312 kB / 435.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.6691, allocations: 330.2 kB / 436.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.6694, allocations: 72.97 kB / 436.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.6699, allocations: 167.9 kB / 436.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.6703, allocations: 110.5 kB / 436.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.6703, allocations: 4 kB / 436.6 MB, free: 1.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001658/0.672, allocations: 369 kB / 437 MB, free: 1.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.6721, allocations: 36.36 kB / 437 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.6721, allocations: 4 kB / 437 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.6724, allocations: 36.14 kB / 437 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.6732, allocations: 79.77 kB / 437.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.6771, allocations: 1.57 MB / 438.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/0.6781, allocations: 74.8 kB / 438.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.6782, allocations: 8 kB / 438.8 MB, free: 15.28 MB / 362.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 (31): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.6784, allocations: 122.5 kB / 438.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6785, allocations: 31.61 kB / 438.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.6787, allocations: 28.8 kB / 438.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6787, allocations: 0 / 438.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6787, allocations: 0 / 438.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.6787, allocations: 4 kB / 438.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.6811, allocations: 0.7106 MB / 439.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6812, allocations: 8.031 kB / 439.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.6818, allocations: 43.97 kB / 439.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.682, allocations: 41.95 kB / 439.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.682, allocations: 0 / 439.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.6844, allocations: 1.369 MB / 441.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6845, allocations: 32 / 441.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.6862, allocations: 443.7 kB / 441.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.6864, allocations: 100.2 kB / 441.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6865, allocations: 7.438 kB / 441.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.6873, allocations: 44.02 kB / 441.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6874, allocations: 30.8 kB / 441.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.6875, allocations: 4 kB / 441.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004455/0.688, allocations: 204.4 kB / 441.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.688, allocations: 0 / 441.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001044/0.689, allocations: 98.67 kB / 442 MB, free: 12.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002255/0.6913, allocations: 1.052 MB / 443.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.6932, allocations: 410.2 kB / 443.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.6933, allocations: 8.188 kB / 443.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.6938, allocations: 188.1 kB / 443.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.6946, allocations: 51.78 kB / 443.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.6988, allocations: 0.6605 MB / 444.4 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.6994, allocations: 0.7719 MB / 445.2 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.6998, allocations: 93.22 kB / 445.2 MB, free: 9.086 MB / 362.7 MB Notification: Performance of SimCode: time 4.549e-06/0.6998, allocations: 0 / 445.2 MB, free: 9.086 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.612/3.312, allocations: 6.444 MB / 451.7 MB, free: 2.715 MB / 362.7 MB