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.25/2.25, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.624e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3926, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.5526, allocations: 89.55 MB / 449.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.5529, allocations: 63.97 kB / 449.5 MB, free: 7.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0646/0.6175, allocations: 13.71 MB / 463.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6175, allocations: 0 / 463.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.741e-05/0.6176, allocations: 23.94 kB / 463.2 MB, free: 9.551 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.002569/0.6202, allocations: 0.8959 MB / 464.1 MB, free: 8.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6203, allocations: 12.03 kB / 464.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.6204, allocations: 76.59 kB / 464.2 MB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.6206, allocations: 86.97 kB / 464.3 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.622, allocations: 0.5149 MB / 464.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/0.6221, allocations: 36.72 kB / 464.8 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.6222, allocations: 55.86 kB / 464.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.6234, allocations: 488 kB / 465.3 MB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.6235, allocations: 4 kB / 465.3 MB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.6236, allocations: 16 kB / 465.4 MB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.6236, allocations: 8 kB / 465.4 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/0.6246, allocations: 338 kB / 465.7 MB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005155/0.6298, allocations: 1.963 MB / 467.7 MB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.6311, allocations: 472.6 kB / 468.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.6316, allocations: 197.6 kB / 468.3 MB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.6317, allocations: 8.094 kB / 468.3 MB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.6318, allocations: 43.31 kB / 468.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.605e-06/0.6318, allocations: 0 / 468.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002042/0.6338, allocations: 0.7581 MB / 469.1 MB, free: 3.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.6339, allocations: 141.6 kB / 469.3 MB, free: 3.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.6348, allocations: 0.4958 MB / 469.8 MB, free: 2.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.6349, allocations: 33.7 kB / 469.8 MB, free: 2.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.6352, allocations: 324.3 kB / 470.1 MB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.6355, allocations: 169.5 kB / 470.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.6355, allocations: 12 kB / 470.3 MB, free: 2.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.6357, allocations: 378.8 kB / 470.7 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.6363, allocations: 197.1 kB / 470.8 MB, free: 1.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.637, allocations: 301 kB / 471.1 MB, free: 1.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.6376, allocations: 233.2 kB / 471.4 MB, free: 1.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6377, allocations: 0 / 471.4 MB, free: 1.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001609/0.6393, allocations: 0.6101 MB / 472 MB, free: 420 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.6397, allocations: 1.053 MB / 473 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6398, allocations: 0.9375 kB / 473 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.6398, allocations: 15.89 kB / 473.1 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.6411, allocations: 147.8 kB / 473.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.6411, allocations: 11.98 kB / 473.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/0.642, allocations: 91.53 kB / 473.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.6421, allocations: 20 kB / 473.3 MB, free: 15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.6421, allocations: 0 / 473.3 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001428/0.6436, allocations: 0.5233 MB / 473.8 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6436, allocations: 4 kB / 473.8 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6436, allocations: 4 kB / 473.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.6448, allocations: 140.5 kB / 474 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.6448, allocations: 11.98 kB / 474 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.6457, allocations: 83.75 kB / 474.1 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.6458, allocations: 20 kB / 474.1 MB, free: 14.21 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.0001875/0.646, allocations: 138.7 kB / 474.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.6462, allocations: 67.16 kB / 474.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.6465, allocations: 85.41 kB / 474.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.6465, allocations: 9.031 kB / 474.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6465, allocations: 0 / 474.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.6465, allocations: 0 / 474.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.6482, allocations: 0.7945 MB / 475.2 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.6482, allocations: 4 kB / 475.2 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.6495, allocations: 115.9 kB / 475.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.6495, allocations: 4 kB / 475.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.6496, allocations: 12 kB / 475.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.6496, allocations: 4 kB / 475.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6496, allocations: 0 / 475.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.6516, allocations: 0.9744 MB / 476.3 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.652, allocations: 193.7 kB / 476.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.6521, allocations: 16 kB / 476.5 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.6531, allocations: 59.94 kB / 476.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6533, allocations: 39.89 kB / 476.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.6534, allocations: 12 kB / 476.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006981/0.6541, allocations: 407.2 kB / 477 MB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6541, allocations: 0 / 477 MB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001018/0.6551, allocations: 191.9 kB / 477.2 MB, free: 11.01 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.002356/0.6575, allocations: 1.675 MB / 478.9 MB, free: 9.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.6596, allocations: 0.758 MB / 479.6 MB, free: 8.531 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6596, allocations: 256 / 479.6 MB, free: 8.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.6602, allocations: 223.8 kB / 479.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6615, allocations: 154.7 kB / 480 MB, free: 8.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.6653, allocations: 1.319 MB / 481.3 MB, free: 6.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.6659, allocations: 0.9507 MB / 482.3 MB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.6671, allocations: 182.6 kB / 482.4 MB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.6676, allocations: 231.3 kB / 482.7 MB, free: 5.414 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6676, allocations: 4 kB / 482.7 MB, free: 5.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/0.7194, allocations: 13.6 MB / 496.3 MB, free: 7.875 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.7197, allocations: 143.3 kB / 496.4 MB, free: 7.645 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/3.599, allocations: 0 / 496.4 MB, free: 7.645 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