Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.857e-05, allocations: 11.98 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4498, allocations: 54.84 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.6183, allocations: 89.56 MB / 449.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.6186, allocations: 63.97 kB / 449.5 MB, free: 7.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06681/0.6855, allocations: 13.7 MB / 463.2 MB, free: 9.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6855, allocations: 0 / 463.2 MB, free: 9.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.588e-05/0.6856, allocations: 23.94 kB / 463.2 MB, free: 9.566 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.002799/0.6884, allocations: 0.8959 MB / 464.1 MB, free: 8.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.6885, allocations: 8.031 kB / 464.1 MB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.6887, allocations: 87.08 kB / 464.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.6889, allocations: 86.97 kB / 464.3 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.6904, allocations: 0.5149 MB / 464.8 MB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.6904, allocations: 32.78 kB / 464.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6906, allocations: 55.86 kB / 464.9 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.6918, allocations: 478.5 kB / 465.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.6919, allocations: 2.531 kB / 465.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.692, allocations: 19.98 kB / 465.4 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.692, allocations: 12 kB / 465.4 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.693, allocations: 337 kB / 465.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/0.6989, allocations: 1.963 MB / 467.7 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.7003, allocations: 460 kB / 468.1 MB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.7009, allocations: 198.6 kB / 468.3 MB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/0.701, allocations: 8 kB / 468.3 MB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.701, allocations: 34.56 kB / 468.4 MB, free: 4.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.855e-06/0.701, allocations: 0 / 468.4 MB, free: 4.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002349/0.7034, allocations: 0.762 MB / 469.1 MB, free: 3.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.7035, allocations: 140.5 kB / 469.3 MB, free: 3.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.7046, allocations: 0.4918 MB / 469.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.7047, allocations: 37.7 kB / 469.8 MB, free: 2.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.7051, allocations: 324.4 kB / 470.1 MB, free: 2.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.7054, allocations: 165.5 kB / 470.3 MB, free: 2.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.7054, allocations: 16 kB / 470.3 MB, free: 2.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.7057, allocations: 378.8 kB / 470.7 MB, free: 1.812 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.7063, allocations: 193.1 kB / 470.9 MB, free: 1.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.707, allocations: 307.7 kB / 471.2 MB, free: 1.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.7077, allocations: 229.2 kB / 471.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7078, allocations: 0 / 471.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00181/0.7096, allocations: 0.5983 MB / 472 MB, free: 468 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005972/0.7102, allocations: 1.049 MB / 473 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.7102, allocations: 13.7 kB / 473 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.75e-05/0.7103, allocations: 7.953 kB / 473 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.7117, allocations: 151.8 kB / 473.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.7117, allocations: 7.938 kB / 473.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.7129, allocations: 95.53 kB / 473.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.7129, allocations: 20 kB / 473.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.713, allocations: 4 kB / 473.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/0.7145, allocations: 0.5115 MB / 473.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7146, allocations: 4 kB / 473.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7146, allocations: 4.047 kB / 473.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7158, allocations: 148.1 kB / 474 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.7159, allocations: 8 kB / 474 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.7169, allocations: 79.62 kB / 474.1 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.717, allocations: 20 kB / 474.1 MB, free: 14.27 MB / 410.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.0002432/0.7173, allocations: 138.7 kB / 474.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.7175, allocations: 67.16 kB / 474.3 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.7178, allocations: 81.42 kB / 474.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7178, allocations: 8 kB / 474.4 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.7178, allocations: 0 / 474.4 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.7179, allocations: 9.328 kB / 474.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.7197, allocations: 0.7868 MB / 475.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7198, allocations: 4 kB / 475.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.7212, allocations: 119.9 kB / 475.3 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.7212, allocations: 0 / 475.3 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/0.7213, allocations: 19.98 kB / 475.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.7214, allocations: 0 / 475.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7214, allocations: 4 kB / 475.3 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.7236, allocations: 0.9656 MB / 476.3 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.7242, allocations: 188.3 kB / 476.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.7243, allocations: 16 kB / 476.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.7254, allocations: 63.92 kB / 476.5 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.7256, allocations: 35.91 kB / 476.6 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.7257, allocations: 23.98 kB / 476.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008342/0.7266, allocations: 395.2 kB / 477 MB, free: 11.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.605e-06/0.7266, allocations: 3.938 kB / 477 MB, free: 11.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001215/0.7278, allocations: 195.9 kB / 477.2 MB, free: 11.06 MB / 410.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.002684/0.7305, allocations: 1.679 MB / 478.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.7328, allocations: 0.7501 MB / 479.6 MB, free: 8.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7328, allocations: 320 / 479.6 MB, free: 8.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.7335, allocations: 215.8 kB / 479.8 MB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.7349, allocations: 147.2 kB / 480 MB, free: 8.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.7393, allocations: 1.317 MB / 481.3 MB, free: 6.879 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.7401, allocations: 0.9507 MB / 482.2 MB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001239/0.7413, allocations: 186.6 kB / 482.4 MB, free: 5.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/0.7419, allocations: 227.4 kB / 482.6 MB, free: 5.492 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7419, allocations: 8 kB / 482.6 MB, free: 5.484 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07683/0.8187, allocations: 13.55 MB / 496.2 MB, free: 8.012 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/0.819, allocations: 138 kB / 496.3 MB, free: 7.785 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/3.73, allocations: 0 / 496.3 MB, free: 7.785 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat