Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.99/2.99, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.989e-05, allocations: 2.375 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5876/0.7364, allocations: 71.02 MB / 365.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.7367, allocations: 62.33 kB / 365.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03206/0.7688, allocations: 4.439 MB / 369.8 MB, free: 22.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.7689, allocations: 0 / 369.8 MB, free: 22.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.881e-05/0.769, allocations: 7.875 kB / 369.8 MB, free: 22.3 MB / 314.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.001662/0.7707, allocations: 0.4959 MB / 370.3 MB, free: 21.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.758e-05/0.7708, allocations: 11.59 kB / 370.3 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.771, allocations: 54.66 kB / 370.4 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.7712, allocations: 27.31 kB / 370.4 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.7717, allocations: 241.4 kB / 370.6 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.7719, allocations: 8.312 kB / 370.6 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.772, allocations: 15.5 kB / 370.6 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/0.7731, allocations: 156.3 kB / 370.8 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.7741, allocations: 206.6 kB / 371 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.7742, allocations: 1.312 kB / 371 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.7743, allocations: 0 / 371 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.7744, allocations: 10.5 kB / 371 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.7772, allocations: 0.6944 MB / 371.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.7784, allocations: 255.9 kB / 371.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.779, allocations: 108.2 kB / 372.1 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-05/0.7791, allocations: 5.094 kB / 372.1 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.7792, allocations: 39.03 kB / 372.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 6.432e-06/0.7792, allocations: 3.938 kB / 372.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.006848/0.7861, allocations: 1.484 MB / 373.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.7862, allocations: 84.95 kB / 373.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.7866, allocations: 144.4 kB / 373.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/0.7867, allocations: 25.7 kB / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.7869, allocations: 145.8 kB / 374 MB, free: 19.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.7872, allocations: 164.2 kB / 374.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.7873, allocations: 0 / 374.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.7876, allocations: 344.4 kB / 374.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.788, allocations: 86.5 kB / 374.6 MB, free: 19.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.7886, allocations: 139.5 kB / 374.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.7892, allocations: 114.4 kB / 374.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.7892, allocations: 0 / 374.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0015/0.7908, allocations: 320.8 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.7908, allocations: 3.875 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.7909, allocations: 7.812 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.7909, allocations: 64 / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.7924, allocations: 107.6 kB / 375.2 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.7925, allocations: 0 / 375.2 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.793, allocations: 3.875 kB / 375.2 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.7931, allocations: 11 kB / 375.2 MB, free: 19.24 MB / 314.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.0002575/0.7933, allocations: 124.4 kB / 375.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.7936, allocations: 27.22 kB / 375.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.7938, allocations: 37.61 kB / 375.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.7939, allocations: 7.562 kB / 375.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.7939, allocations: 3.938 kB / 375.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.794, allocations: 6.812 kB / 375.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.7976, allocations: 0.8596 MB / 376.3 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.7976, allocations: 0 / 376.3 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/0.7994, allocations: 94.12 kB / 376.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/0.7995, allocations: 7.859 kB / 376.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/0.7996, allocations: 3.844 kB / 376.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.7996, allocations: 0 / 376.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.7997, allocations: 3.906 kB / 376.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.8018, allocations: 0.6258 MB / 377 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.8021, allocations: 100.5 kB / 377.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.8022, allocations: 10.33 kB / 377.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.8029, allocations: 4 kB / 377.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.8031, allocations: 27.44 kB / 377.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/0.8033, allocations: 15.72 kB / 377.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.8035, allocations: 115.2 kB / 377.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.8035, allocations: 0 / 377.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001525/0.8051, allocations: 61.59 kB / 377.4 MB, free: 18.18 MB / 314.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.002907/0.808, allocations: 1.381 MB / 378.8 MB, free: 17.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.8094, allocations: 269 kB / 379 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.8095, allocations: 0 / 379 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.8101, allocations: 140 kB / 379.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.8118, allocations: 44.45 kB / 379.2 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.8167, allocations: 0.9341 MB / 380.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008366/0.8176, allocations: 0.7885 MB / 380.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000498/0.8181, allocations: 30.25 kB / 380.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.8186, allocations: 97.08 kB / 381 MB, free: 15.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.974e-06/0.8186, allocations: 0 / 381 MB, free: 15.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07506/0.8937, allocations: 5.122 MB / 386.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002727/0.894, allocations: 159.1 kB / 386.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.777/4.671, allocations: 3.938 kB / 386.3 MB, free: 14.31 MB / 314.7 MB "" Variables in the reference:time,m1.s,m1.v,m3.s,m3.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel Variables in the result:der(der(m1.flange_b.s)),der(der(m2.flange_a.s)),der(der(m3.flange_b.s)),der(der(m4.flange_a.s)),der(m1.flange_b.s),der(m1.s),der(m1.v),der(m2.flange_a.s),der(m2.s),der(m2.v),der(m3.flange_b.s),der(m3.s),der(m3.v),der(m4.flange_a.s),der(m4.s),der(m4.v),der(sd1.s_rel),der(sd1.v_rel),der(sd2.s_rel),der(sd2.v_rel),fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.s0,m1.L,m1.a,m1.flange_a.f,m1.flange_a.s,m1.flange_b.f,m1.flange_b.s,m1.m,m1.s,m1.stateSelect,m1.v,m2.L,m2.a,m2.flange_a.f,m2.flange_a.s,m2.flange_b.f,m2.flange_b.s,m2.m,m2.s,m2.stateSelect,m2.v,m3.L,m3.a,m3.flange_a.f,m3.flange_a.s,m3.flange_b.f,m3.flange_b.s,m3.m,m3.s,m3.stateSelect,m3.v,m4.L,m4.a,m4.flange_a.f,m4.flange_a.s,m4.flange_b.f,m4.flange_b.s,m4.m,m4.s,m4.stateSelect,m4.v,s1.c,s1.f,s1.flange_a.f,s1.flange_a.s,s1.flange_b.f,s1.flange_b.s,s1.s_rel,s1.s_rel0,s2.c,s2.f,s2.flange_a.f,s2.flange_a.s,s2.flange_b.f,s2.flange_b.s,s2.s_rel,s2.s_rel0,sd1.c,sd1.d,sd1.f,sd1.f_c,sd1.f_d,sd1.flange_a.f,sd1.flange_a.s,sd1.flange_b.f,sd1.flange_b.s,sd1.lossPower,sd1.s_nominal,sd1.s_rel,sd1.s_rel0,sd1.stateSelect,sd1.useHeatPort,sd1.v_rel,sd2.c,sd2.d,sd2.f,sd2.f_c,sd2.f_d,sd2.flange_a.f,sd2.flange_a.s,sd2.flange_b.f,sd2.flange_b.s,sd2.lossPower,sd2.s_nominal,sd2.s_rel,sd2.s_rel0,sd2.stateSelect,sd2.useHeatPort,sd2.v_rel,time