Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.436/3.436, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.736e-05, allocations: 4 kB / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4325, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2531/0.6857, allocations: 88.89 MB / 443.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004278/0.6862, allocations: 63.97 kB / 443.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09508/0.7813, allocations: 13.62 MB / 457 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.7813, allocations: 0 / 457 MB, free: 8.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.7815, allocations: 19.94 kB / 457 MB, free: 8.43 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003628/0.7851, allocations: 0.9037 MB / 457.9 MB, free: 7.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.7852, allocations: 12.03 kB / 457.9 MB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.7854, allocations: 66.52 kB / 458 MB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.7858, allocations: 90.91 kB / 458.1 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.7878, allocations: 0.511 MB / 458.6 MB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.7879, allocations: 20.78 kB / 458.6 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.7882, allocations: 43.84 kB / 458.6 MB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/0.7896, allocations: 313.5 kB / 459 MB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.791, allocations: 425.1 kB / 459.4 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.7911, allocations: 4 kB / 459.4 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.7912, allocations: 0 / 459.4 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.7912, allocations: 19.94 kB / 459.4 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007111/0.7983, allocations: 1.865 MB / 461.3 MB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.8, allocations: 454.2 kB / 461.7 MB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.8006, allocations: 182.5 kB / 461.9 MB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.8007, allocations: 4 kB / 461.9 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.8007, allocations: 34.56 kB / 461.9 MB, free: 3.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.837e-06/0.8008, allocations: 4 kB / 461.9 MB, free: 3.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.00268/0.8035, allocations: 0.7324 MB / 462.7 MB, free: 2.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.8036, allocations: 140.5 kB / 462.8 MB, free: 2.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.8047, allocations: 455.4 kB / 463.2 MB, free: 1.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.8048, allocations: 25.7 kB / 463.3 MB, free: 1.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.8052, allocations: 324.2 kB / 463.6 MB, free: 1.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.8056, allocations: 165.6 kB / 463.7 MB, free: 1.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.8056, allocations: 0 / 463.7 MB, free: 1.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.8059, allocations: 378.9 kB / 464.1 MB, free: 1.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.8067, allocations: 181.1 kB / 464.3 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.8075, allocations: 291.7 kB / 464.6 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.8082, allocations: 221.2 kB / 464.8 MB, free: 316 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.8083, allocations: 3.938 kB / 464.8 MB, free: 312 kB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.3973/1.206, allocations: 0.5548 MB / 465.3 MB, free: 95.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/1.206, allocations: 1.051 MB / 466.4 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.206, allocations: 5.719 kB / 466.4 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/1.206, allocations: 5.75 kB / 466.4 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.208, allocations: 147.8 kB / 466.5 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/1.208, allocations: 9.344 kB / 466.6 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.209, allocations: 81.19 kB / 466.6 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.21, allocations: 18.91 kB / 466.7 MB, free: 94.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.21, allocations: 6.75 kB / 466.7 MB, free: 94.28 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00206/1.212, allocations: 474.5 kB / 467.1 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.212, allocations: 2.656 kB / 467.1 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.212, allocations: 5.781 kB / 467.1 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.213, allocations: 142 kB / 467.3 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/1.213, allocations: 8.516 kB / 467.3 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.215, allocations: 80 kB / 467.4 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.215, allocations: 17.42 kB / 467.4 MB, free: 94.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0002629/1.215, allocations: 119.1 kB / 467.5 MB, free: 94.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/1.215, allocations: 69.48 kB / 467.6 MB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/1.216, allocations: 72.11 kB / 467.6 MB, free: 94.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.216, allocations: 9.797 kB / 467.6 MB, free: 94.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.216, allocations: 1.062 kB / 467.6 MB, free: 94.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.216, allocations: 3.016 kB / 467.6 MB, free: 94.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/1.218, allocations: 0.722 MB / 468.4 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/1.218, allocations: 1.641 kB / 468.4 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.22, allocations: 119.3 kB / 468.5 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/1.22, allocations: 4.844 kB / 468.5 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.22, allocations: 10.95 kB / 468.5 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/1.22, allocations: 2.031 kB / 468.5 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.22, allocations: 1.062 kB / 468.5 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/1.222, allocations: 0.943 MB / 469.4 MB, free: 93.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/1.223, allocations: 188.5 kB / 469.6 MB, free: 93.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/1.223, allocations: 5.766 kB / 469.6 MB, free: 93.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.225, allocations: 59.31 kB / 469.7 MB, free: 93.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.225, allocations: 36.8 kB / 469.7 MB, free: 93.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/1.225, allocations: 17.39 kB / 469.7 MB, free: 93.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008298/1.226, allocations: 349.9 kB / 470.1 MB, free: 93.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.226, allocations: 1 kB / 470.1 MB, free: 93.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001582/1.228, allocations: 162.7 kB / 470.2 MB, free: 93.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.002697/1.23, allocations: 1.643 MB / 471.9 MB, free: 92.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/1.233, allocations: 0.7154 MB / 472.6 MB, free: 92.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.233, allocations: 0 / 472.6 MB, free: 92.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006614/1.233, allocations: 208.8 kB / 472.8 MB, free: 92.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.235, allocations: 150.6 kB / 473 MB, free: 92.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/1.24, allocations: 1.275 MB / 474.2 MB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/1.241, allocations: 0.9543 MB / 475.2 MB, free: 91.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001498/1.242, allocations: 188.1 kB / 475.4 MB, free: 91.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/1.243, allocations: 227.6 kB / 475.6 MB, free: 91.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/1.243, allocations: 0 / 475.6 MB, free: 91.19 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08522/1.328, allocations: 13.1 MB / 488.7 MB, free: 85.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002356/1.329, allocations: 134.3 kB / 488.8 MB, free: 85.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.018/5.347, allocations: 0 / 488.8 MB, free: 85.7 MB / 394.7 MB "" Variables in the reference:time,criticalDamping.x[1],criticalDamping.x[2],derivative.x,firstOrder.y,integrator.y,limIntegrator.y,limPID.D.x,limPID.I.y,lowpassButterworth.x1[1],lowpassButterworth.x2[1],pI.x,pID.D.x,pID.I.y,secondOrder.y,secondOrder.yd,stateSpace.x[1],stateSpace.x[2],transferFunction.x_scaled[1] Variables in the result:const.k,const.y,criticalDamping.alpha,criticalDamping.f,criticalDamping.initType,criticalDamping.n,criticalDamping.normalized,criticalDamping.u,criticalDamping.w,criticalDamping.x[1],criticalDamping.x[2],criticalDamping.x_start[1],criticalDamping.x_start[2],criticalDamping.y,criticalDamping.y_start,der(criticalDamping.x[1]),der(criticalDamping.x[2]),der(der1.u),der(derivative.x),der(firstOrder.y),der(integrator.y),der(limIntegrator.y),der(limPID.D.x),der(limPID.I.y),der(lowpassButterworth.x1[1]),der(lowpassButterworth.x2[1]),der(pI.x),der(pID.D.x),der(pID.I.y),der(secondOrder.y),der(secondOrder.yd),der(stateSpace.x[1]),der(stateSpace.x[2]),der(transferFunction.x_scaled[1]),der1.u,der1.y,derivative.T,derivative.initType,derivative.k,derivative.u,derivative.x,derivative.x_start,derivative.y,derivative.y_start,derivative.zeroGain,firstOrder.T,firstOrder.initType,firstOrder.k,firstOrder.u,firstOrder.y,firstOrder.y_start,integrator.initType,integrator.k,integrator.u,integrator.y,integrator.y_start,limIntegrator.initType,limIntegrator.k,limIntegrator.limitsAtInit,limIntegrator.outMax,limIntegrator.outMin,limIntegrator.strict,limIntegrator.u,limIntegrator.y,limIntegrator.y_start,limPID.D.T,limPID.D.initType,limPID.D.k,limPID.D.u,limPID.D.x,limPID.D.x_start,limPID.D.y,limPID.D.y_start,limPID.D.zeroGain,limPID.I.initType,limPID.I.k,limPID.I.u,limPID.I.y,limPID.I.y_start,limPID.Nd,limPID.Ni,limPID.P.k,limPID.P.u,limPID.P.y,limPID.Td,limPID.Ti,limPID.addD.k1,limPID.addD.k2,limPID.addD.u1,limPID.addD.u2,limPID.addD.y,limPID.addI.k1,limPID.addI.k2,limPID.addI.k3,limPID.addI.u1,limPID.addI.u2,limPID.addI.u3,limPID.addI.y,limPID.addP.k1,limPID.addP.k2,limPID.addP.u1,limPID.addP.u2,limPID.addP.y,limPID.addPID.k1,limPID.addPID.k2,limPID.addPID.k3,limPID.addPID.u1,limPID.addPID.u2,limPID.addPID.u3,limPID.addPID.y,limPID.addSat.k1,limPID.addSat.k2,limPID.addSat.u1,limPID.addSat.u2,limPID.addSat.y,limPID.controlError,limPID.controllerType,limPID.gainPID.k,limPID.gainPID.u,limPID.gainPID.y,limPID.gainTrack.k,limPID.gainTrack.u,limPID.gainTrack.y,limPID.initType,limPID.k,limPID.limiter.limitsAtInit,limPID.limiter.strict,limPID.limiter.u,limPID.limiter.uMax,limPID.limiter.uMin,limPID.limiter.y,limPID.limitsAtInit,limPID.strict,limPID.u_m,limPID.u_s,limPID.wd,limPID.with_D,limPID.with_I,limPID.wp,limPID.xd_start,limPID.xi_start,limPID.y,limPID.yMax,limPID.yMin,limPID.y_start,lowpassButterworth.D[1],lowpassButterworth.T,lowpassButterworth.evenOrder,lowpassButterworth.f,lowpassButterworth.initType,lowpassButterworth.k1,lowpassButterworth.k2[1],lowpassButterworth.m,lowpassButterworth.n,lowpassButterworth.poleimag[1],lowpassButterworth.polereal[1],lowpassButterworth.realpol,lowpassButterworth.u,lowpassButterworth.w,lowpassButterworth.w0[1],lowpassButterworth.x1[1],lowpassButterworth.x1_start[1],lowpassButterworth.x2[1],lowpassButterworth.x2_start[1],lowpassButterworth.xr,lowpassButterworth.xr_start,lowpassButterworth.y,lowpassButterworth.y_start,lowpassButterworth.z[1],lowpassButterworth.z[2],pI.T,pI.initType,pI.k,pI.u,pI.x,pI.x_start,pI.y,pI.y_start,pID.Add.k1,pID.Add.k2,pID.Add.k3,pID.Add.u1,pID.Add.u2,pID.Add.u3,pID.Add.y,pID.D.T,pID.D.initType,pID.D.k,pID.D.u,pID.D.x,pID.D.x_start,pID.D.y,pID.D.y_start,pID.D.zeroGain,pID.Gain.k,pID.Gain.u,pID.Gain.y,pID.I.initType,pID.I.k,pID.I.u,pID.I.y,pID.I.y_start,pID.Nd,pID.P.k,pID.P.u,pID.P.y,pID.Td,pID.Ti,pID.initType,pID.k,pID.u,pID.xd_start,pID.xi_start,pID.y,pID.y_start,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,secondOrder.D,secondOrder.initType,secondOrder.k,secondOrder.u,secondOrder.w,secondOrder.y,secondOrder.y_start,secondOrder.yd,secondOrder.yd_start,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,stateSpace.A[1,1],stateSpace.A[1,2],stateSpace.A[2,1],stateSpace.A[2,2],stateSpace.B[1,1],stateSpace.B[2,1],stateSpace.C[1,1],stateSpace.C[1,2],stateSpace.D[1,1],stateSpace.initType,stateSpace.nin,stateSpace.nout,stateSpace.nx,stateSpace.ny,stateSpace.u[1],stateSpace.x[1],stateSpace.x[2],stateSpace.x_start[1],stateSpace.x_start[2],stateSpace.y[1],stateSpace.y_start[1],time,transferFunction.a[1],transferFunction.a[2],transferFunction.a_end,transferFunction.b[1],transferFunction.bb[1],transferFunction.bb[2],transferFunction.d,transferFunction.initType,transferFunction.na,transferFunction.nb,transferFunction.nx,transferFunction.u,transferFunction.x[1],transferFunction.x_scaled[1],transferFunction.x_start[1],transferFunction.y,transferFunction.y_start