Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.683e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5274, allocations: 81.14 MB / 423.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5277, allocations: 81.52 kB / 423.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.551, allocations: 5.587 MB / 429.4 MB, free: 7.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.551, allocations: 0 / 429.4 MB, free: 7.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.741e-05/0.5511, allocations: 8 kB / 429.5 MB, free: 7.875 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001173/0.5523, allocations: 0.5649 MB / 430 MB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5523, allocations: 8.031 kB / 430 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.5525, allocations: 70.72 kB / 430.1 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.5526, allocations: 35.61 kB / 430.1 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.5531, allocations: 300.5 kB / 430.4 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.5531, allocations: 26.91 kB / 430.5 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.5532, allocations: 29.38 kB / 430.5 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.554, allocations: 317.9 kB / 430.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.554, allocations: 3.953 kB / 430.8 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.5541, allocations: 13.88 kB / 430.8 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5541, allocations: 11.94 kB / 430.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.5547, allocations: 215.9 kB / 431 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.5579, allocations: 1.292 MB / 432.3 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.5584, allocations: 234.1 kB / 432.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.5586, allocations: 84.47 kB / 432.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.5586, allocations: 0 / 432.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.5587, allocations: 34.56 kB / 432.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.5587, allocations: 0 / 432.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001059/0.5598, allocations: 258.1 kB / 432.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5598, allocations: 59.39 kB / 433 MB, free: 4.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.5602, allocations: 254.8 kB / 433.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.5603, allocations: 28.64 kB / 433.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5605, allocations: 275.1 kB / 433.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.5605, allocations: 56.77 kB / 433.6 MB, free: 4.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.5606, allocations: 3.438 kB / 433.6 MB, free: 4.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5607, allocations: 326.6 kB / 433.9 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.5609, allocations: 53.31 kB / 434 MB, free: 3.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.5611, allocations: 143.5 kB / 434.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.5613, allocations: 73.47 kB / 434.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5613, allocations: 0 / 434.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00117/0.5625, allocations: 334.6 kB / 434.5 MB, free: 3.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5626, allocations: 8 kB / 434.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5626, allocations: 0 / 434.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.563, allocations: 82.31 kB / 434.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.5633, allocations: 35.98 kB / 434.6 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.5662, allocations: 1.812 MB / 436.4 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.5666, allocations: 39.12 kB / 436.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.5667, allocations: 10 kB / 436.5 MB, free: 1.57 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.5668, allocations: 125.4 kB / 436.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.5669, allocations: 27.72 kB / 436.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.567, allocations: 25.09 kB / 436.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.567, allocations: 4 kB / 436.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.567, allocations: 3.938 kB / 436.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.567, allocations: 0 / 436.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.5686, allocations: 0.6808 MB / 437.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5686, allocations: 0 / 437.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.5688, allocations: 15.98 kB / 437.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002898/0.5691, allocations: 68.77 kB / 437.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.5691, allocations: 7.312 kB / 437.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.5718, allocations: 1.8 MB / 439.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5719, allocations: 0 / 439.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.5729, allocations: 364.7 kB / 439.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.573, allocations: 100.6 kB / 439.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.5731, allocations: 11 kB / 439.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.5735, allocations: 23.98 kB / 439.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.5736, allocations: 19.66 kB / 439.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.5736, allocations: 3.938 kB / 439.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.5739, allocations: 212.7 kB / 439.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5739, allocations: 0 / 439.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006499/0.5746, allocations: 88.88 kB / 440 MB, free: 14.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/0.5759, allocations: 0.9015 MB / 440.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007037/0.5767, allocations: 278.5 kB / 441.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5767, allocations: 0 / 441.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.5771, allocations: 187.3 kB / 441.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.5775, allocations: 46.7 kB / 441.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.5791, allocations: 465.2 kB / 441.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.5795, allocations: 0.7718 MB / 442.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.5797, allocations: 93.58 kB / 442.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5797, allocations: 4 kB / 442.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.49/3.069, allocations: 6.049 MB / 448.8 MB, free: 5.68 MB / 362.7 MB