Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.268e-05, allocations: 4 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 50.42 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5633, allocations: 85.04 MB / 427.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5636, allocations: 70.33 kB / 427.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07322/0.6368, allocations: 18.87 MB / 446.6 MB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6368, allocations: 3.938 kB / 446.6 MB, free: 8.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.676e-05/0.6369, allocations: 35.98 kB / 446.6 MB, free: 8.738 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002855/0.6398, allocations: 1.149 MB / 447.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6399, allocations: 8.031 kB / 447.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003036/0.6402, allocations: 187.3 kB / 448 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.6405, allocations: 146.2 kB / 448.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.642, allocations: 0.6304 MB / 448.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.6421, allocations: 92.91 kB / 448.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.6423, allocations: 113.6 kB / 449 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.6451, allocations: 1.204 MB / 450.2 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.6451, allocations: 11.94 kB / 450.2 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.6453, allocations: 51 kB / 450.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.6453, allocations: 32 kB / 450.3 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.6472, allocations: 0.6081 MB / 450.9 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009294/0.6565, allocations: 6.858 MB / 457.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.6575, allocations: 251.4 kB / 458 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.6579, allocations: 168.6 kB / 458.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.6581, allocations: 85.09 kB / 458.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.6582, allocations: 40.5 kB / 458.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.595e-06/0.6582, allocations: 0 / 458.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002928/0.6611, allocations: 1.265 MB / 459.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.6612, allocations: 85.05 kB / 459.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.6622, allocations: 0.5603 MB / 460.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.6623, allocations: 33.69 kB / 460.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/0.6629, allocations: 0.6979 MB / 460.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.663, allocations: 122.4 kB / 461 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.6631, allocations: 16 kB / 461 MB, free: 11.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6632, allocations: 346.8 kB / 461.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.6636, allocations: 133.7 kB / 461.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.6643, allocations: 0.5202 MB / 462 MB, free: 10.3 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.6652, allocations: 422.5 kB / 462.4 MB, free: 9.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.6653, allocations: 12 kB / 462.4 MB, free: 9.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001732/0.667, allocations: 0.6787 MB / 463.1 MB, free: 9.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6671, allocations: 12 kB / 463.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.6671, allocations: 20.41 kB / 463.2 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.6675, allocations: 77.69 kB / 463.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.6685, allocations: 191.7 kB / 463.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.6717, allocations: 2.951 MB / 466.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/0.6725, allocations: 31.98 kB / 466.4 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.6726, allocations: 47.94 kB / 466.4 MB, free: 5.551 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.6728, allocations: 164.7 kB / 466.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.673, allocations: 75.25 kB / 466.7 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.6732, allocations: 70.53 kB / 466.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6732, allocations: 7.953 kB / 466.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.6732, allocations: 4.125 kB / 466.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.6733, allocations: 7.984 kB / 466.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.6759, allocations: 1.209 MB / 468 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.6759, allocations: 4 kB / 468 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.6766, allocations: 67.89 kB / 468 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.6768, allocations: 53.78 kB / 468.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.6769, allocations: 12 kB / 468.1 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.6795, allocations: 2.749 MB / 470.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6795, allocations: 4.031 kB / 470.9 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6808, allocations: 0.6501 MB / 471.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.681, allocations: 144.2 kB / 471.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/0.6811, allocations: 8.125 kB / 471.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.6815, allocations: 20 kB / 471.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.6816, allocations: 23.89 kB / 471.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.6817, allocations: 15.95 kB / 471.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007856/0.6825, allocations: 427.2 kB / 472.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6825, allocations: 0 / 472.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001274/0.6837, allocations: 160 kB / 472.3 MB, free: 15.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.6855, allocations: 1.481 MB / 473.8 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.6869, allocations: 0.577 MB / 474.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6869, allocations: 4.062 kB / 474.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.6876, allocations: 343.4 kB / 474.7 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.6882, allocations: 75.52 kB / 474.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.6927, allocations: 1.556 MB / 476.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/0.6935, allocations: 1.062 MB / 477.4 MB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.6943, allocations: 423.3 kB / 477.8 MB, free: 9.582 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6943, allocations: 0 / 477.8 MB, free: 9.582 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.418, allocations: 23.12 MB / 0.4892 GB, free: 2.438 MB / 410.7 MB