Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous_InitialState",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.172/3.172, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.483e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4905, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.6939, allocations: 89.29 MB / 443.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6943, allocations: 63.97 kB / 443.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6868/1.381, allocations: 26.08 MB / 469.8 MB, free: 96.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.381, allocations: 0 / 469.8 MB, free: 96.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001038/1.381, allocations: 19.27 kB / 469.9 MB, free: 96.83 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.003542/1.385, allocations: 0.9015 MB / 470.8 MB, free: 96.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.385, allocations: 9.406 kB / 470.8 MB, free: 96.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/1.385, allocations: 60.72 kB / 470.8 MB, free: 96.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/1.385, allocations: 89.62 kB / 470.9 MB, free: 96.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/1.387, allocations: 0.5128 MB / 471.4 MB, free: 95.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/1.387, allocations: 22.61 kB / 471.5 MB, free: 95.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.388, allocations: 39.22 kB / 471.5 MB, free: 95.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001244/1.389, allocations: 318.5 kB / 471.8 MB, free: 95.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/1.39, allocations: 419.2 kB / 472.2 MB, free: 95.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/1.39, allocations: 3.703 kB / 472.2 MB, free: 95.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/1.39, allocations: 3.031 kB / 472.2 MB, free: 95.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/1.39, allocations: 8.312 kB / 472.2 MB, free: 95.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006522/1.397, allocations: 1.888 MB / 474.1 MB, free: 95.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/1.398, allocations: 445 kB / 474.6 MB, free: 95.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/1.399, allocations: 190.1 kB / 474.7 MB, free: 95.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/1.399, allocations: 6.469 kB / 474.7 MB, free: 95.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.399, allocations: 40.34 kB / 474.8 MB, free: 95.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.509e-06/1.399, allocations: 0 / 474.8 MB, free: 95.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002469/1.402, allocations: 0.7313 MB / 475.5 MB, free: 94.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.402, allocations: 136.2 kB / 475.6 MB, free: 94.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009326/1.403, allocations: 453.4 kB / 476.1 MB, free: 94.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/1.403, allocations: 29.55 kB / 476.1 MB, free: 94.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/1.403, allocations: 316.5 kB / 476.4 MB, free: 94.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/1.403, allocations: 163.5 kB / 476.6 MB, free: 93.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/1.403, allocations: 6.812 kB / 476.6 MB, free: 93.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/1.403, allocations: 384.5 kB / 477 MB, free: 93.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/1.404, allocations: 185.3 kB / 477.2 MB, free: 93.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/1.405, allocations: 289.5 kB / 477.4 MB, free: 93.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/1.406, allocations: 215.6 kB / 477.6 MB, free: 93.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.406, allocations: 0 / 477.6 MB, free: 93.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001805/1.407, allocations: 0.5654 MB / 478.2 MB, free: 93.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002414/1.408, allocations: 1.051 MB / 479.3 MB, free: 91.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.408, allocations: 7.938 kB / 479.3 MB, free: 91.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/1.408, allocations: 7.266 kB / 479.3 MB, free: 91.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.409, allocations: 149.2 kB / 479.4 MB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.409, allocations: 7.5 kB / 479.4 MB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.411, allocations: 75.97 kB / 479.5 MB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/1.411, allocations: 23.09 kB / 479.5 MB, free: 91.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.411, allocations: 3.938 kB / 479.5 MB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/1.413, allocations: 477.8 kB / 480 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.413, allocations: 3.156 kB / 480 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.413, allocations: 3.875 kB / 480 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.414, allocations: 145.3 kB / 480.1 MB, free: 91.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.414, allocations: 7.25 kB / 480.2 MB, free: 91.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.415, allocations: 80.7 kB / 480.2 MB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/1.416, allocations: 18.25 kB / 480.2 MB, free: 91.71 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.0002157/1.416, allocations: 112.8 kB / 480.4 MB, free: 91.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/1.416, allocations: 70.81 kB / 480.4 MB, free: 91.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/1.416, allocations: 73.59 kB / 480.5 MB, free: 91.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.416, allocations: 6.156 kB / 480.5 MB, free: 91.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.416, allocations: 3.891 kB / 480.5 MB, free: 91.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.416, allocations: 0 / 480.5 MB, free: 91.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/1.418, allocations: 0.7296 MB / 481.2 MB, free: 91.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.418, allocations: 0 / 481.2 MB, free: 91.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/1.42, allocations: 110.1 kB / 481.3 MB, free: 91.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/1.42, allocations: 11.03 kB / 481.4 MB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/1.42, allocations: 11 kB / 481.4 MB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.42, allocations: 0 / 481.4 MB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.42, allocations: 3.375 kB / 481.4 MB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/1.422, allocations: 0.9392 MB / 482.3 MB, free: 90.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/1.423, allocations: 192.7 kB / 482.5 MB, free: 90.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/1.423, allocations: 10.97 kB / 482.5 MB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.424, allocations: 55 kB / 482.6 MB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/1.425, allocations: 42.12 kB / 482.6 MB, free: 90.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/1.425, allocations: 11.38 kB / 482.6 MB, free: 90.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006779/1.425, allocations: 355 kB / 483 MB, free: 90.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.425, allocations: 0 / 483 MB, free: 90.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001338/1.427, allocations: 165.3 kB / 483.1 MB, free: 90.12 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.002345/1.429, allocations: 1.634 MB / 484.8 MB, free: 88.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/1.431, allocations: 0.7229 MB / 485.5 MB, free: 88.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.431, allocations: 0 / 485.5 MB, free: 88.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006282/1.432, allocations: 214.9 kB / 485.7 MB, free: 88.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.434, allocations: 144.6 kB / 485.8 MB, free: 88.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/1.438, allocations: 1.28 MB / 487.1 MB, free: 87.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/1.439, allocations: 0.9501 MB / 488.1 MB, free: 86.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001394/1.44, allocations: 187.4 kB / 488.2 MB, free: 86.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/1.441, allocations: 225 kB / 488.5 MB, free: 86.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/1.441, allocations: 0 / 488.5 MB, free: 86.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/1.509, allocations: 13.11 MB / 0.4898 GB, free: 75.29 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003114/1.509, allocations: 146.1 kB / 0.49 GB, free: 75.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.721/5.231, allocations: 4 kB / 0.49 GB, free: 75.08 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