Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.879/2.879, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3e-05, allocations: 6.375 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5291/0.6367, allocations: 72.05 MB / 366.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.6371, allocations: 67.86 kB / 366.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02/0.6571, allocations: 3.663 MB / 370 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6571, allocations: 0 / 370 MB, free: 22.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.6572, allocations: 3.875 kB / 370 MB, free: 22.49 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001147/0.6583, allocations: 484.9 kB / 370.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.317e-05/0.6585, allocations: 9.094 kB / 370.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.6586, allocations: 52.11 kB / 370.6 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.6587, allocations: 28.86 kB / 370.6 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.6591, allocations: 222.7 kB / 370.8 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.6591, allocations: 10.89 kB / 370.8 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.6592, allocations: 18.72 kB / 370.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000475/0.6597, allocations: 111.1 kB / 371 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.6602, allocations: 175.4 kB / 371.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.6603, allocations: 0 / 371.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.6603, allocations: 1.312 kB / 371.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.6603, allocations: 5.094 kB / 371.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.6625, allocations: 0.7489 MB / 371.9 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.6632, allocations: 174.9 kB / 372.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.6635, allocations: 93.42 kB / 372.2 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.6636, allocations: 0 / 372.2 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.6636, allocations: 38.25 kB / 372.2 MB, free: 21.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.6637, allocations: 0 / 372.2 MB, free: 21.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001881/0.6655, allocations: 0.7225 MB / 372.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.6657, allocations: 80.98 kB / 373 MB, free: 20.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.6659, allocations: 145.8 kB / 373.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.6659, allocations: 25.7 kB / 373.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.666, allocations: 142.1 kB / 373.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/0.6661, allocations: 93.28 kB / 373.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.6662, allocations: 0 / 373.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6664, allocations: 334.2 kB / 373.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.6666, allocations: 44.53 kB / 373.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.6668, allocations: 91.75 kB / 373.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.667, allocations: 65.03 kB / 373.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.667, allocations: 7.953 kB / 373.9 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005931/0.6676, allocations: 191.9 kB / 374.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6677, allocations: 10.55 kB / 374.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6677, allocations: 0 / 374.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.6677, allocations: 3.875 kB / 374.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.6684, allocations: 65.3 kB / 374.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.6684, allocations: 3.812 kB / 374.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.6687, allocations: 14.56 kB / 374.2 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.6687, allocations: 11.66 kB / 374.2 MB, free: 19.88 MB / 314.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 (32): * Single equations (assignments): 32 * 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.000138/0.6689, allocations: 113.1 kB / 374.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.669, allocations: 19.44 kB / 374.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.6691, allocations: 27.02 kB / 374.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.6691, allocations: 3.875 kB / 374.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6692, allocations: 3.938 kB / 374.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.6692, allocations: 2.578 kB / 374.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.6705, allocations: 0.5198 MB / 374.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.6706, allocations: 0 / 374.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.6713, allocations: 62.7 kB / 375 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.6713, allocations: 3.75 kB / 375 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.6714, allocations: 4.094 kB / 375 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.6714, allocations: 3.875 kB / 375 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6714, allocations: 4 kB / 375 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.6722, allocations: 0.4921 MB / 375.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.6723, allocations: 96.61 kB / 375.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.6724, allocations: 2.859 kB / 375.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.6728, allocations: 11.7 kB / 375.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.6729, allocations: 21.3 kB / 375.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.6729, allocations: 11.66 kB / 375.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.6731, allocations: 113.9 kB / 375.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6731, allocations: 0 / 375.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006126/0.6737, allocations: 38.62 kB / 375.8 MB, free: 18.9 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001335/0.6751, allocations: 1.3 MB / 377.1 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.6756, allocations: 137.6 kB / 377.2 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6756, allocations: 7.938 kB / 377.2 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.6758, allocations: 77.28 kB / 377.3 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.6765, allocations: 32.64 kB / 377.3 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.6786, allocations: 0.5765 MB / 377.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.6791, allocations: 0.7511 MB / 378.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.6793, allocations: 19.08 kB / 378.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.6795, allocations: 70.38 kB / 378.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6795, allocations: 0 / 378.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06803/0.7475, allocations: 3.465 MB / 382.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003204/0.7479, allocations: 148.6 kB / 382.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.552/4.3, allocations: 0 / 382.3 MB, free: 16.11 MB / 314.7 MB "" Variables in the reference:time,damper1.s_rel,damper1.v_rel,mass1.s,mass1.v Variables in the result:damper1.d,damper1.f,damper1.flange_a.f,damper1.flange_a.s,damper1.flange_b.f,damper1.flange_b.s,damper1.lossPower,damper1.s_nominal,damper1.s_rel,damper1.stateSelect,damper1.useHeatPort,damper1.v_rel,der(damper1.flange_a.s),der(damper1.s_rel),der(damper1.v_rel),der(der(damper1.flange_a.s)),der(mass1.s),der(mass1.v),der(mass2.s),der(mass2.v),fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.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,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,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine2.y,spring1.c,spring1.f,spring1.flange_a.f,spring1.flange_a.s,spring1.flange_b.f,spring1.flange_b.s,spring1.s_rel,spring1.s_rel0,spring2.c,spring2.f,spring2.flange_a.f,spring2.flange_a.s,spring2.flange_b.f,spring2.flange_b.s,spring2.s_rel,spring2.s_rel0,time