Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.345/3.345, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.59e-05, allocations: 0 / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.443, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.6381, allocations: 89.38 MB / 443.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.6384, allocations: 71.91 kB / 443.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.53/1.168, allocations: 27.41 MB / 471.3 MB, free: 96.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.168, allocations: 3.25 kB / 471.3 MB, free: 96.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.913e-05/1.169, allocations: 20.03 kB / 471.3 MB, free: 96.73 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.003287/1.172, allocations: 0.9182 MB / 472.2 MB, free: 96.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.172, allocations: 15.09 kB / 472.2 MB, free: 96.19 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/1.172, allocations: 61.52 kB / 472.3 MB, free: 96.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/1.172, allocations: 81.69 kB / 472.4 MB, free: 96.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/1.174, allocations: 0.5406 MB / 472.9 MB, free: 95.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/1.175, allocations: 23.97 kB / 472.9 MB, free: 95.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/1.175, allocations: 34.62 kB / 473 MB, free: 95.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/1.176, allocations: 313.4 kB / 473.3 MB, free: 95.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/1.177, allocations: 418.2 kB / 473.7 MB, free: 95.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/1.177, allocations: 0 / 473.7 MB, free: 95.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/1.177, allocations: 3.969 kB / 473.7 MB, free: 95.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.177, allocations: 10.69 kB / 473.7 MB, free: 95.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/1.183, allocations: 1.839 MB / 475.5 MB, free: 95.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.184, allocations: 410 kB / 475.9 MB, free: 94.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/1.185, allocations: 187.6 kB / 476.1 MB, free: 94.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/1.185, allocations: 15.72 kB / 476.1 MB, free: 94.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/1.185, allocations: 34.56 kB / 476.2 MB, free: 94.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.938e-06/1.185, allocations: 0 / 476.2 MB, free: 94.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.00228/1.187, allocations: 0.7296 MB / 476.9 MB, free: 94.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/1.188, allocations: 107.4 kB / 477 MB, free: 94.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/1.188, allocations: 454.4 kB / 477.4 MB, free: 94.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.052e-05/1.189, allocations: 25.7 kB / 477.5 MB, free: 94.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/1.189, allocations: 316.2 kB / 477.8 MB, free: 93.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/1.189, allocations: 174.8 kB / 477.9 MB, free: 93.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/1.189, allocations: 0 / 477.9 MB, free: 93.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/1.189, allocations: 380.5 kB / 478.3 MB, free: 93.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/1.19, allocations: 184.2 kB / 478.5 MB, free: 93.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/1.191, allocations: 295.3 kB / 478.8 MB, free: 93.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/1.191, allocations: 227.4 kB / 479 MB, free: 93.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.191, allocations: 4 kB / 479 MB, free: 93.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00186/1.193, allocations: 0.5708 MB / 479.6 MB, free: 92.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/1.194, allocations: 1.053 MB / 480.6 MB, free: 91.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.194, allocations: 7.156 kB / 480.6 MB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/1.194, allocations: 14.83 kB / 480.7 MB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/1.196, allocations: 190.4 kB / 480.8 MB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.196, allocations: 7.812 kB / 480.9 MB, free: 91.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.197, allocations: 71.55 kB / 480.9 MB, free: 91.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.197, allocations: 20.84 kB / 480.9 MB, free: 91.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.197, allocations: 3.25 kB / 480.9 MB, free: 91.68 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/1.199, allocations: 491.9 kB / 481.4 MB, free: 91.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.199, allocations: 3.938 kB / 481.4 MB, free: 91.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.199, allocations: 11.14 kB / 481.4 MB, free: 91.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.201, allocations: 193.4 kB / 481.6 MB, free: 91.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.201, allocations: 6.844 kB / 481.6 MB, free: 91.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.203, allocations: 73.77 kB / 481.7 MB, free: 91.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.203, allocations: 21.09 kB / 481.7 MB, free: 91.48 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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0002306/1.203, allocations: 122.5 kB / 481.8 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/1.203, allocations: 66.12 kB / 481.9 MB, free: 91.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/1.204, allocations: 75.45 kB / 482 MB, free: 91.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.204, allocations: 3.969 kB / 482 MB, free: 91.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.204, allocations: 0 / 482 MB, free: 91.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.204, allocations: 10.69 kB / 482 MB, free: 91.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/1.206, allocations: 1.083 MB / 483.1 MB, free: 90.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.206, allocations: 0 / 483.1 MB, free: 90.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.208, allocations: 114 kB / 483.2 MB, free: 90.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/1.208, allocations: 6.844 kB / 483.2 MB, free: 90.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/1.208, allocations: 3.688 kB / 483.2 MB, free: 90.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.208, allocations: 3.969 kB / 483.2 MB, free: 90.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.208, allocations: 3.719 kB / 483.2 MB, free: 90.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/1.21, allocations: 0.9749 MB / 484.2 MB, free: 90.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/1.211, allocations: 196.4 kB / 484.4 MB, free: 89.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.211, allocations: 9.281 kB / 484.4 MB, free: 89.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.212, allocations: 57.8 kB / 484.4 MB, free: 89.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/1.213, allocations: 39.27 kB / 484.5 MB, free: 89.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/1.213, allocations: 10 kB / 484.5 MB, free: 89.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007174/1.213, allocations: 353 kB / 484.8 MB, free: 89.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.213, allocations: 0 / 484.8 MB, free: 89.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001483/1.215, allocations: 194 kB / 485 MB, free: 89.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.002655/1.218, allocations: 1.836 MB / 486.9 MB, free: 88.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002166/1.22, allocations: 0.7305 MB / 487.6 MB, free: 87.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.22, allocations: 4 kB / 487.6 MB, free: 87.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006687/1.221, allocations: 214.1 kB / 487.8 MB, free: 87.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.222, allocations: 156 kB / 488 MB, free: 87.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/1.227, allocations: 1.304 MB / 489.3 MB, free: 86.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/1.227, allocations: 0.95 MB / 490.2 MB, free: 85.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00154/1.229, allocations: 192.1 kB / 490.4 MB, free: 85.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/1.23, allocations: 226.7 kB / 490.6 MB, free: 85.04 MB / 394.7 MB Notification: Performance of SimCode: time 2.014e-06/1.23, allocations: 7.938 kB / 490.6 MB, free: 85.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1504/1.38, allocations: 13.86 MB / 0.4927 GB, free: 72.32 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002808/1.38, allocations: 139.3 kB / 0.4928 GB, free: 72.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.998/5.378, allocations: 0 / 0.4928 GB, free: 72.12 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