Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.816e-05, allocations: 6.812 kB / 292.2 MB, free: 8.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 50.41 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5514, allocations: 78.8 MB / 421.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5517, allocations: 74.33 kB / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01153/0.5633, allocations: 2.753 MB / 424.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5633, allocations: 0 / 424.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.5633, allocations: 8 kB / 424.3 MB, free: 12.93 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006321/0.564, allocations: 405.2 kB / 424.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.564, allocations: 12.03 kB / 424.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.5641, allocations: 41.11 kB / 424.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.5642, allocations: 15.91 kB / 424.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.5645, allocations: 211.1 kB / 424.9 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5646, allocations: 7.734 kB / 424.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.5646, allocations: 15.44 kB / 425 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.5649, allocations: 105.6 kB / 425.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5649, allocations: 3.953 kB / 425.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.565, allocations: 3.625 kB / 425.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.565, allocations: 4 kB / 425.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.5652, allocations: 67.97 kB / 425.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.5664, allocations: 0.598 MB / 425.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.5668, allocations: 75.33 kB / 425.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.5669, allocations: 33.92 kB / 425.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.5669, allocations: 3.953 kB / 425.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.567, allocations: 37.75 kB / 425.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.567, allocations: 0 / 425.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004472/0.5675, allocations: 114.3 kB / 426 MB, free: 11.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5675, allocations: 55.34 kB / 426 MB, free: 11.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.5677, allocations: 131.1 kB / 426.2 MB, free: 11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5677, allocations: 33.64 kB / 426.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.5678, allocations: 188.3 kB / 426.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.5679, allocations: 19.22 kB / 426.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.5679, allocations: 3.938 kB / 426.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.568, allocations: 322.7 kB / 426.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.5681, allocations: 18.56 kB / 426.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.5682, allocations: 45.44 kB / 426.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.5683, allocations: 22.42 kB / 426.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5683, allocations: 0 / 426.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003607/0.5687, allocations: 117.9 kB / 426.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5687, allocations: 7.953 kB / 426.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5687, allocations: 4 kB / 426.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.569, allocations: 39.33 kB / 427 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5691, allocations: 8 kB / 427 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.5711, allocations: 1.509 MB / 428.5 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.5713, allocations: 11.92 kB / 428.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5713, allocations: 3.953 kB / 428.5 MB, free: 8.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5715, allocations: 113 kB / 428.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.5715, allocations: 11.81 kB / 428.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.5716, allocations: 15.44 kB / 428.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5716, allocations: 0 / 428.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5716, allocations: 0 / 428.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5716, allocations: 3.984 kB / 428.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.5719, allocations: 212.4 kB / 428.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.5719, allocations: 8 kB / 428.9 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.572, allocations: 0 / 428.9 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.5722, allocations: 38.97 kB / 428.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.5723, allocations: 3.984 kB / 428.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.574, allocations: 1.497 MB / 430.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.574, allocations: 0 / 430.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.5744, allocations: 213.7 kB / 430.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.5745, allocations: 84.39 kB / 430.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.5745, allocations: 3.938 kB / 430.7 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.5747, allocations: 16.2 kB / 430.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.5748, allocations: 7.984 kB / 430.7 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5748, allocations: 7.188 kB / 430.7 MB, free: 6.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.5749, allocations: 109.3 kB / 430.8 MB, free: 6.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5749, allocations: 0 / 430.8 MB, free: 6.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004879/0.5754, allocations: 32 kB / 430.9 MB, free: 6.242 MB / 346.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 (2): * Single equations (assignments): 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007085/0.5762, allocations: 0.7522 MB / 431.6 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.5766, allocations: 168.2 kB / 431.8 MB, free: 5.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5766, allocations: 0 / 431.8 MB, free: 5.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.5769, allocations: 142.8 kB / 431.9 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.5772, allocations: 14.94 kB / 431.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.5779, allocations: 209.8 kB / 432.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.5783, allocations: 0.7199 MB / 432.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.5783, allocations: 32.3 kB / 432.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5784, allocations: 0 / 432.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.548/3.126, allocations: 2.431 MB / 435.3 MB, free: 1.793 MB / 346.7 MB