Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.66e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 50.42 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.6045, allocations: 77.48 MB / 420.1 MB, free: 280 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.6049, allocations: 63.16 kB / 420.2 MB, free: 248 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02029/0.6252, allocations: 4.713 MB / 424.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6252, allocations: 0 / 424.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.6253, allocations: 4 kB / 424.9 MB, free: 12.27 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00094/0.6262, allocations: 0.4972 MB / 425.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6263, allocations: 20.02 kB / 425.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/0.6264, allocations: 58.98 kB / 425.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.6265, allocations: 27.72 kB / 425.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.6268, allocations: 235.4 kB / 425.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.6268, allocations: 22.5 kB / 425.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.6269, allocations: 23.38 kB / 425.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.6275, allocations: 242.6 kB / 426 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.6275, allocations: 3.953 kB / 426 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.6276, allocations: 18.5 kB / 426 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.6276, allocations: 4 kB / 426 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.6281, allocations: 164.1 kB / 426.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.6296, allocations: 0.7588 MB / 427 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.6302, allocations: 261.8 kB / 427.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.6305, allocations: 119.4 kB / 427.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.6305, allocations: 4 kB / 427.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.6306, allocations: 42.06 kB / 427.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.316e-06/0.6306, allocations: 0 / 427.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.003762/0.6343, allocations: 1.622 MB / 429 MB, free: 8.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.6344, allocations: 81.11 kB / 429.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.6347, allocations: 156.2 kB / 429.2 MB, free: 8.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.6347, allocations: 35.64 kB / 429.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6349, allocations: 202.7 kB / 429.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.635, allocations: 171.6 kB / 429.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.6351, allocations: 14.88 kB / 429.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6352, allocations: 325.6 kB / 430 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.6355, allocations: 99.25 kB / 430.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.6358, allocations: 149.2 kB / 430.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.6362, allocations: 126.5 kB / 430.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6362, allocations: 4 kB / 430.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000781/0.637, allocations: 340.9 kB / 430.7 MB, free: 7.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.637, allocations: 4 kB / 430.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.637, allocations: 0 / 430.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6371, allocations: 7.953 kB / 430.7 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.6378, allocations: 103.5 kB / 430.8 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.6379, allocations: 0 / 430.8 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.6381, allocations: 11.38 kB / 430.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.6381, allocations: 15.75 kB / 430.8 MB, free: 6.926 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0001321/0.6383, allocations: 136 kB / 430.9 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.6384, allocations: 23.72 kB / 431 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.6385, allocations: 40.16 kB / 431 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.6385, allocations: 7.953 kB / 431 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6385, allocations: 0 / 431 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.6386, allocations: 3.984 kB / 431 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.6405, allocations: 0.9418 MB / 431.9 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6405, allocations: 4 kB / 431.9 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/0.6414, allocations: 95.64 kB / 432 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.6414, allocations: 4.062 kB / 432 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.6415, allocations: 11.75 kB / 432.1 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.6415, allocations: 7.984 kB / 432.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6415, allocations: 3.938 kB / 432.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.6427, allocations: 0.6555 MB / 432.7 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.6428, allocations: 108.1 kB / 432.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.6429, allocations: 10.19 kB / 432.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.6432, allocations: 10.19 kB / 432.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.6432, allocations: 23.09 kB / 432.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.6433, allocations: 19.38 kB / 432.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.6435, allocations: 135.2 kB / 433 MB, free: 4.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6435, allocations: 4 kB / 433 MB, free: 4.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005682/0.644, allocations: 77.25 kB / 433.1 MB, free: 4.902 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.001541/0.6456, allocations: 1.416 MB / 434.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007059/0.6463, allocations: 280.3 kB / 434.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6464, allocations: 0 / 434.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.6467, allocations: 145.9 kB / 434.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.6474, allocations: 61.78 kB / 435 MB, free: 3.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.6499, allocations: 1.003 MB / 436 MB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.6503, allocations: 0.7767 MB / 436.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.6506, allocations: 102.2 kB / 436.9 MB, free: 1.402 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6506, allocations: 0 / 436.9 MB, free: 1.402 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.505/3.155, allocations: 4.845 MB / 441.7 MB, free: 12.62 MB / 362.7 MB