Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.089/3.089, allocations: 195 MB / 202.9 MB, free: 6.629 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.743e-05, allocations: 2.406 kB / 249.7 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.6035, allocations: 70.53 MB / 364.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6038, allocations: 62.39 kB / 364.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.6189, allocations: 2.839 MB / 367.7 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.619, allocations: 0 / 367.7 MB, free: 22.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.619, allocations: 4.062 kB / 367.7 MB, free: 22.71 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007235/0.6197, allocations: 428.1 kB / 368.1 MB, free: 22.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.6198, allocations: 7.75 kB / 368.1 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.6199, allocations: 46.75 kB / 368.2 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.62, allocations: 23.31 kB / 368.2 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.6203, allocations: 202.4 kB / 368.4 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6203, allocations: 10.08 kB / 368.4 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.6204, allocations: 18.97 kB / 368.4 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003427/0.6207, allocations: 86.27 kB / 368.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.6211, allocations: 156.5 kB / 368.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.6212, allocations: 0 / 368.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.6212, allocations: 0 / 368.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.6212, allocations: 11.5 kB / 368.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.623, allocations: 0.7223 MB / 369.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.6233, allocations: 102.8 kB / 369.5 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.6235, allocations: 47.81 kB / 369.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.6235, allocations: 0 / 369.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.6235, allocations: 34.06 kB / 369.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.955e-06/0.6235, allocations: 3.969 kB / 369.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004184/0.624, allocations: 102.6 kB / 369.7 MB, free: 21.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.624, allocations: 106.8 kB / 369.8 MB, free: 21.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.6242, allocations: 140.7 kB / 369.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.6242, allocations: 25.7 kB / 369.9 MB, free: 21.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.6243, allocations: 152.6 kB / 370.1 MB, free: 20.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.6244, allocations: 46.89 kB / 370.1 MB, free: 20.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.6244, allocations: 0 / 370.1 MB, free: 20.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6246, allocations: 324.2 kB / 370.4 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.6247, allocations: 32.75 kB / 370.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.6249, allocations: 127.3 kB / 370.6 MB, free: 20.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.6251, allocations: 53.38 kB / 370.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.6251, allocations: 3.812 kB / 370.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005106/0.6256, allocations: 173.1 kB / 370.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6257, allocations: 7.812 kB / 370.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6257, allocations: 3.875 kB / 370.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.6257, allocations: 3.812 kB / 370.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.6261, allocations: 48.69 kB / 370.9 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6262, allocations: 7.078 kB / 370.9 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.6264, allocations: 15.56 kB / 370.9 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.6264, allocations: 15.67 kB / 370.9 MB, free: 20.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.000126/0.6266, allocations: 121.3 kB / 371 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6267, allocations: 11.41 kB / 371.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.6268, allocations: 18.3 kB / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/0.6268, allocations: 3.75 kB / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6269, allocations: 0 / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.6269, allocations: 0 / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.6277, allocations: 214.4 kB / 371.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6277, allocations: 0 / 371.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.6281, allocations: 31.94 kB / 371.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.6282, allocations: 4 kB / 371.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.6282, allocations: 3.375 kB / 371.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6282, allocations: 7.812 kB / 371.3 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6282, allocations: 0 / 371.3 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.6288, allocations: 409.7 kB / 371.7 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.6289, allocations: 88.89 kB / 371.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.629, allocations: 7.938 kB / 371.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.6293, allocations: 240 / 371.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.6293, allocations: 10.55 kB / 371.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.6294, allocations: 9.562 kB / 371.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.6295, allocations: 108.8 kB / 372 MB, free: 19.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.6295, allocations: 0 / 372 MB, free: 19.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006973/0.6302, allocations: 41.88 kB / 372 MB, free: 19.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001/0.6312, allocations: 1.075 MB / 373.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.6316, allocations: 96.95 kB / 373.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6317, allocations: 1.25 kB / 373.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.6318, allocations: 31.56 kB / 373.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.6324, allocations: 18.81 kB / 373.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.6345, allocations: 0.6161 MB / 373.8 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.635, allocations: 0.7326 MB / 374.6 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.6352, allocations: 14.67 kB / 374.6 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.6353, allocations: 47.05 kB / 374.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6353, allocations: 0 / 374.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07754/0.7129, allocations: 2.423 MB / 377 MB, free: 17.18 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002837/0.7132, allocations: 153.2 kB / 377.2 MB, free: 16.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.454/4.167, allocations: 0 / 377.2 MB, free: 16.99 MB / 314.7 MB "" Variables in the reference:time,mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v Variables in the result:constant1.k,constant1.y,constant2.k,constant2.y,constant3.k,constant3.y,der(mass1.s),der(mass1.v),der(mass2.s),der(mass2.v),der(mass3.s),der(mass3.v),fixed.flange.f,fixed.flange.s,fixed.s0,force1.f,force1.flange.f,force1.flange.s,force1.s,force1.s_support,force1.useSupport,force2.f,force2.flange.f,force2.flange.s,force2.s,force2.s_support,force2.useSupport,force3.f,force3.flange.f,force3.flange.s,force3.s,force3.s_support,force3.support.f,force3.support.s,force3.useSupport,mass1.L,mass1.a,mass1.flange_a.f,mass1.flange_a.s,mass1.flange_b.f,mass1.flange_b.s,mass1.m,mass1.s,mass1.stateSelect,mass1.v,mass2.L,mass2.a,mass2.flange_a.f,mass2.flange_a.s,mass2.flange_b.f,mass2.flange_b.s,mass2.m,mass2.s,mass2.stateSelect,mass2.v,mass3.L,mass3.a,mass3.flange_a.f,mass3.flange_a.s,mass3.flange_b.f,mass3.flange_b.s,mass3.m,mass3.s,mass3.stateSelect,mass3.v,time