Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.154/1.154, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.203e-05, allocations: 4 kB / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 25.16 MB / 176.6 MB, free: 15.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08438/0.3275, allocations: 33.63 MB / 210.3 MB, free: 15.73 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.3279, allocations: 55.97 kB / 210.3 MB, free: 15.68 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02641/0.3543, allocations: 4.258 MB / 214.6 MB, free: 11.39 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3544, allocations: 0 / 214.6 MB, free: 11.39 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.3545, allocations: 4 kB / 214.6 MB, free: 11.39 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001301/0.3558, allocations: 490.4 kB / 215.1 MB, free: 10.87 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.3559, allocations: 8.031 kB / 215.1 MB, free: 10.86 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.356, allocations: 66.66 kB / 215.1 MB, free: 10.79 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.3561, allocations: 31.72 kB / 215.2 MB, free: 10.75 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3564, allocations: 195.3 kB / 215.4 MB, free: 10.52 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.3565, allocations: 20.56 kB / 215.4 MB, free: 10.5 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3566, allocations: 24 kB / 215.4 MB, free: 10.48 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.3574, allocations: 230.5 kB / 215.6 MB, free: 10.24 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.3575, allocations: 3.938 kB / 215.6 MB, free: 10.23 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.3576, allocations: 8 kB / 215.6 MB, free: 10.23 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3576, allocations: 8 kB / 215.7 MB, free: 10.22 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.3582, allocations: 144.5 kB / 215.8 MB, free: 10.08 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.3604, allocations: 0.7225 MB / 216.5 MB, free: 9.301 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.3612, allocations: 221.3 kB / 216.7 MB, free: 9.066 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.3616, allocations: 101.9 kB / 216.8 MB, free: 8.961 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3617, allocations: 4 kB / 216.8 MB, free: 8.957 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.3617, allocations: 38.56 kB / 216.9 MB, free: 8.91 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 5.25e-06/0.3618, allocations: 0 / 216.9 MB, free: 8.91 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.005518/0.3673, allocations: 1.53 MB / 218.4 MB, free: 7.207 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.3674, allocations: 85.11 kB / 218.5 MB, free: 7.105 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.3678, allocations: 155.2 kB / 218.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.3679, allocations: 29.7 kB / 218.7 MB, free: 6.91 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.368, allocations: 207 kB / 218.9 MB, free: 6.707 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.3683, allocations: 157.7 kB / 219 MB, free: 6.551 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.3683, allocations: 8 kB / 219 MB, free: 6.543 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3685, allocations: 326.8 kB / 219.3 MB, free: 6.215 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.3689, allocations: 88.88 kB / 219.4 MB, free: 6.129 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.3694, allocations: 135.3 kB / 219.6 MB, free: 5.988 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.3699, allocations: 115.9 kB / 219.7 MB, free: 5.875 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3699, allocations: 0 / 219.7 MB, free: 5.875 MB / 186.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001116/0.371, allocations: 305.3 kB / 220 MB, free: 5.57 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.3711, allocations: 9.406 kB / 220 MB, free: 5.562 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3711, allocations: 0 / 220 MB, free: 5.562 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.3711, allocations: 8.062 kB / 220 MB, free: 5.555 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.3721, allocations: 99.78 kB / 220.1 MB, free: 5.457 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.3722, allocations: 4 kB / 220.1 MB, free: 5.453 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.3725, allocations: 8 kB / 220.1 MB, free: 5.445 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.3726, allocations: 19.94 kB / 220.1 MB, free: 5.426 MB / 186.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 (52): * Single equations (assignments): 52 * 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.0001831/0.3728, allocations: 120.9 kB / 220.2 MB, free: 5.301 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.3729, allocations: 23.72 kB / 220.3 MB, free: 5.277 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.3731, allocations: 37.64 kB / 220.3 MB, free: 5.238 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.3732, allocations: 8 kB / 220.3 MB, free: 5.23 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.3732, allocations: 7.953 kB / 220.3 MB, free: 5.223 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3732, allocations: 0 / 220.3 MB, free: 5.223 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.3759, allocations: 0.8921 MB / 221.2 MB, free: 4.27 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.376, allocations: 7.953 kB / 221.2 MB, free: 4.262 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.3772, allocations: 83.91 kB / 221.3 MB, free: 4.18 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/0.3772, allocations: 4 kB / 221.3 MB, free: 4.176 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.3773, allocations: 11.98 kB / 221.3 MB, free: 4.164 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.3773, allocations: 0 / 221.3 MB, free: 4.164 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3773, allocations: 3.938 kB / 221.3 MB, free: 4.16 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.379, allocations: 0.6199 MB / 221.9 MB, free: 3.492 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3792, allocations: 92.83 kB / 222 MB, free: 3.383 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.3793, allocations: 12 kB / 222 MB, free: 3.371 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.3798, allocations: 12 kB / 222.1 MB, free: 3.359 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.3799, allocations: 31.91 kB / 222.1 MB, free: 3.328 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.3799, allocations: 12 kB / 222.1 MB, free: 3.316 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.3802, allocations: 124.3 kB / 222.2 MB, free: 3.195 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.3802, allocations: 0 / 222.2 MB, free: 3.195 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008912/0.3811, allocations: 76 kB / 222.3 MB, free: 3.121 MB / 186.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 (42): * Single equations (assignments): 42 * 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.002124/0.3833, allocations: 1.371 MB / 223.7 MB, free: 1.703 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.3843, allocations: 257.3 kB / 223.9 MB, free: 1.453 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3843, allocations: 0 / 223.9 MB, free: 1.453 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.3848, allocations: 129.2 kB / 224 MB, free: 1.328 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3858, allocations: 48.89 kB / 224.1 MB, free: 1.281 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.3894, allocations: 0.9584 MB / 225 MB, free: 276 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.3901, allocations: 0.7761 MB / 225.8 MB, free: 15.47 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.3905, allocations: 95.34 kB / 225.9 MB, free: 15.38 MB / 202.7 MB Notification: Performance of SimCode: time 1.243e-06/0.3905, allocations: 0 / 225.9 MB, free: 15.38 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/3, allocations: 4.518 MB / 230.4 MB, free: 10.85 MB / 202.7 MB