Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.133e-05, allocations: 1.406 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 50.42 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5538, allocations: 77.75 MB / 420.4 MB, free: 400 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5541, allocations: 71.06 kB / 420.4 MB, free: 364 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009342/0.5634, allocations: 2.165 MB / 422.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5635, allocations: 3.062 kB / 422.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.5635, allocations: 4 kB / 422.6 MB, free: 14.51 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006174/0.5641, allocations: 386.1 kB / 423 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5642, allocations: 8.031 kB / 423 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.5643, allocations: 42.44 kB / 423 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.5643, allocations: 11.86 kB / 423.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.5646, allocations: 194.3 kB / 423.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5646, allocations: 4.125 kB / 423.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.5646, allocations: 11.88 kB / 423.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.5649, allocations: 103 kB / 423.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5649, allocations: 0 / 423.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.565, allocations: 11.83 kB / 423.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.565, allocations: 0 / 423.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.5651, allocations: 51.36 kB / 423.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.5662, allocations: 0.546 MB / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5664, allocations: 66.06 kB / 424 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.055e-05/0.5665, allocations: 24.42 kB / 424.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.5665, allocations: 0 / 424.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.5665, allocations: 34.56 kB / 424.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.5665, allocations: 4 kB / 424.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002653/0.5668, allocations: 69.44 kB / 424.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.5669, allocations: 55.34 kB / 424.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.567, allocations: 120.6 kB / 424.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.567, allocations: 25.7 kB / 424.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.5671, allocations: 181.8 kB / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.5672, allocations: 31.48 kB / 424.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.5672, allocations: 0 / 424.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5673, allocations: 318.7 kB / 424.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.5674, allocations: 23.62 kB / 424.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.5675, allocations: 47.98 kB / 425 MB, free: 12.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.5676, allocations: 31.73 kB / 425 MB, free: 12.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5676, allocations: 0 / 425 MB, free: 12.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002424/0.5679, allocations: 104.6 kB / 425.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5679, allocations: 8 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5679, allocations: 0 / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5679, allocations: 0 / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.5683, allocations: 39.91 kB / 425.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.5683, allocations: 7.953 kB / 425.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5684, allocations: 23.95 kB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.5685, allocations: 7.75 kB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/0.5686, allocations: 104.9 kB / 425.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.5686, allocations: 7.906 kB / 425.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.5687, allocations: 12.5 kB / 425.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5687, allocations: 0 / 425.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5687, allocations: 0 / 425.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5687, allocations: 3.953 kB / 425.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.569, allocations: 192.9 kB / 425.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.569, allocations: 7.938 kB / 425.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.5693, allocations: 23.98 kB / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5693, allocations: 0 / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5693, allocations: 0 / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.5693, allocations: 4 kB / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5694, allocations: 0 / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.5697, allocations: 203 kB / 425.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.5697, allocations: 89.02 kB / 425.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.5698, allocations: 0 / 425.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.57, allocations: 15.84 kB / 425.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.57, allocations: 96 / 425.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.57, allocations: 7.938 kB / 425.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.086e-05/0.5701, allocations: 111.9 kB / 425.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5701, allocations: 0 / 425.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.5705, allocations: 23.91 kB / 426 MB, free: 11.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006035/0.5711, allocations: 0.7314 MB / 426.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.5713, allocations: 58.88 kB / 426.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5714, allocations: 0 / 426.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.5714, allocations: 23.88 kB / 426.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5718, allocations: 20.22 kB / 426.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5728, allocations: 338.4 kB / 427.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.5731, allocations: 0.7082 MB / 427.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.5732, allocations: 22.88 kB / 427.9 MB, free: 9.168 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5732, allocations: 4 kB / 427.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.516/3.089, allocations: 1.723 MB / 429.6 MB, free: 7.461 MB / 346.7 MB