Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_InverseModel",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.263/2.263, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.25e-05, allocations: 2.219 kB / 249.7 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.09969, allocations: 44.51 MB / 294.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5474, allocations: 71.13 MB / 365.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5477, allocations: 66.28 kB / 365.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.5587, allocations: 2.15 MB / 367.6 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5588, allocations: 0 / 367.6 MB, free: 22.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.5588, allocations: 3.781 kB / 367.6 MB, free: 22.76 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000557/0.5594, allocations: 387 kB / 368 MB, free: 22.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.5594, allocations: 12.8 kB / 368 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.5595, allocations: 37.09 kB / 368 MB, free: 22.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.5596, allocations: 15.44 kB / 368 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.5599, allocations: 203.2 kB / 368.2 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5599, allocations: 3.875 kB / 368.2 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.56, allocations: 3.875 kB / 368.2 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.5601, allocations: 26.84 kB / 368.3 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.5603, allocations: 66.64 kB / 368.3 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5604, allocations: 7.875 kB / 368.3 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.5604, allocations: 0 / 368.3 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.5604, allocations: 0 / 368.3 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009652/0.5614, allocations: 384.2 kB / 368.7 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.5616, allocations: 51.23 kB / 368.8 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.5618, allocations: 25.42 kB / 368.8 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.5618, allocations: 3.984 kB / 368.8 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.5618, allocations: 34.34 kB / 368.8 MB, free: 21.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 3.176e-06/0.5619, allocations: 0 / 368.8 MB, free: 21.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003429/0.5622, allocations: 70.08 kB / 368.9 MB, free: 21.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.5623, allocations: 59.16 kB / 369 MB, free: 21.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.5625, allocations: 120.7 kB / 369.1 MB, free: 21.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.5625, allocations: 25.7 kB / 369.1 MB, free: 21.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.5626, allocations: 109 kB / 369.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.5626, allocations: 15.47 kB / 369.2 MB, free: 21.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.5627, allocations: 0 / 369.2 MB, free: 21.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.5628, allocations: 330.3 kB / 369.5 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.5629, allocations: 11.16 kB / 369.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.5629, allocations: 15.09 kB / 369.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.563, allocations: 21.62 kB / 369.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5631, allocations: 0 / 369.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002842/0.5634, allocations: 73.92 kB / 369.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.5634, allocations: 3.781 kB / 369.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5634, allocations: 0 / 369.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5635, allocations: 3.938 kB / 369.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.564, allocations: 46.72 kB / 369.7 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.5641, allocations: 3.953 kB / 369.7 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.5642, allocations: 9.938 kB / 369.7 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.5643, allocations: 7.75 kB / 369.7 MB, free: 20.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001492/0.5644, allocations: 104.8 kB / 369.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.5645, allocations: 8 kB / 369.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.5646, allocations: 14.45 kB / 369.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5646, allocations: 3.938 kB / 369.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5646, allocations: 0 / 369.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.5647, allocations: 3.953 kB / 369.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.5651, allocations: 171.3 kB / 370 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5651, allocations: 0 / 370 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.5655, allocations: 29.17 kB / 370.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.5655, allocations: 0 / 370.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.5655, allocations: 0 / 370.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5656, allocations: 0 / 370.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5656, allocations: 3.875 kB / 370.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.566, allocations: 184.8 kB / 370.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.5661, allocations: 87.39 kB / 370.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.5662, allocations: 64 / 370.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.5664, allocations: 7.875 kB / 370.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.5665, allocations: 6.547 kB / 370.4 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.5665, allocations: 0 / 370.4 MB, free: 20.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.5667, allocations: 108.1 kB / 370.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.5667, allocations: 0 / 370.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006468/0.5674, allocations: 15.66 kB / 370.5 MB, free: 20.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008905/0.5683, allocations: 0.7251 MB / 371.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.5685, allocations: 36.03 kB / 371.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5686, allocations: 3.719 kB / 371.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.5687, allocations: 15.56 kB / 371.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.5692, allocations: 21.06 kB / 371.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.5706, allocations: 221.6 kB / 371.5 MB, free: 19.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.5711, allocations: 0.7117 MB / 372.2 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.5713, allocations: 10.38 kB / 372.2 MB, free: 18.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5714, allocations: 27.44 kB / 372.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5714, allocations: 0 / 372.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07124/0.6427, allocations: 1.677 MB / 373.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002611/0.643, allocations: 131.8 kB / 374 MB, free: 18.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.875/3.518, allocations: 0 / 374 MB, free: 18.54 MB / 314.7 MB "" Variables in the reference:time,firstOrder1.y,firstOrder2.y Variables in the result:criticalDamping.alpha,criticalDamping.f,criticalDamping.initType,criticalDamping.n,criticalDamping.normalized,criticalDamping.u,criticalDamping.w,criticalDamping.x[1],criticalDamping.x_start[1],criticalDamping.y,criticalDamping.y_start,der(firstOrder1.y),der(firstOrder2.y),feedback.u1,feedback.u2,feedback.y,firstOrder1.T,firstOrder1.initType,firstOrder1.k,firstOrder1.u,firstOrder1.y,firstOrder1.y_start,firstOrder2.T,firstOrder2.initType,firstOrder2.k,firstOrder2.u,firstOrder2.y,firstOrder2.y_start,inverseBlockConstraints.u1,inverseBlockConstraints.u2,inverseBlockConstraints.y1,inverseBlockConstraints.y2,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time