Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.165e-05, allocations: 0 / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4263, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.6986, allocations: 95.6 MB / 477.9 MB, free: 12.89 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.6989, allocations: 71.95 kB / 478 MB, free: 12.82 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.08716/0.7861, allocations: 14.67 MB / 492.6 MB, free: 14.12 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7861, allocations: 0 / 492.6 MB, free: 14.12 MB / 426.8 MB Notification: Performance of Transformations before backend: time 9.594e-05/0.7862, allocations: 20 kB / 492.7 MB, free: 14.1 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003109/0.7894, allocations: 0.9541 MB / 493.6 MB, free: 13.1 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.7895, allocations: 12.03 kB / 493.6 MB, free: 13.09 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.7897, allocations: 86.52 kB / 493.7 MB, free: 13 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.7901, allocations: 90.92 kB / 493.8 MB, free: 12.91 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.7918, allocations: 0.5626 MB / 494.4 MB, free: 12.3 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.792, allocations: 37 kB / 494.4 MB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.7921, allocations: 51.98 kB / 494.4 MB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.7935, allocations: 0.5491 MB / 495 MB, free: 11.61 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.7936, allocations: 0 / 495 MB, free: 11.61 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.7937, allocations: 16 kB / 495 MB, free: 11.59 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.7937, allocations: 15.95 kB / 495 MB, free: 11.57 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.7949, allocations: 372.9 kB / 495.4 MB, free: 11.21 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006536/0.8014, allocations: 2.706 MB / 498.1 MB, free: 8.402 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.8029, allocations: 474.7 kB / 498.6 MB, free: 7.914 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.8034, allocations: 198.9 kB / 498.7 MB, free: 7.711 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.8035, allocations: 7.938 kB / 498.8 MB, free: 7.703 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.8036, allocations: 42.55 kB / 498.8 MB, free: 7.652 MB / 426.8 MB Notification: Performance of pre-optimization done (n=43): time 3.066e-06/0.8036, allocations: 0 / 498.8 MB, free: 7.652 MB / 426.8 MB Notification: Performance of matching and sorting (n=44): time 0.002426/0.806, allocations: 0.8038 MB / 499.6 MB, free: 6.836 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8062, allocations: 136.5 kB / 499.7 MB, free: 6.672 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.8074, allocations: 0.5468 MB / 0.4886 GB, free: 6.117 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.8075, allocations: 37.7 kB / 0.4886 GB, free: 6.074 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.8079, allocations: 352.1 kB / 0.4889 GB, free: 5.727 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.8082, allocations: 173.5 kB / 0.4891 GB, free: 5.555 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.8082, allocations: 12.09 kB / 0.4891 GB, free: 5.543 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8084, allocations: 334 kB / 0.4894 GB, free: 5.211 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.8091, allocations: 205.5 kB / 0.4896 GB, free: 5.008 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.8099, allocations: 361 kB / 0.49 GB, free: 4.586 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.8106, allocations: 256.6 kB / 0.4902 GB, free: 4.34 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.8107, allocations: 0 / 0.4902 GB, free: 4.34 MB / 426.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001926/0.8126, allocations: 0.6588 MB / 0.4909 GB, free: 3.676 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008269/0.8135, allocations: 1.746 MB / 0.4926 GB, free: 1.793 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.8135, allocations: 4.047 kB / 0.4926 GB, free: 1.789 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.646e-05/0.8135, allocations: 11.98 kB / 0.4926 GB, free: 1.777 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.815, allocations: 163.7 kB / 0.4927 GB, free: 1.617 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/0.8151, allocations: 15.98 kB / 0.4927 GB, free: 1.602 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8162, allocations: 91.62 kB / 0.4928 GB, free: 1.512 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.8163, allocations: 24 kB / 0.4929 GB, free: 1.488 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8163, allocations: 8 kB / 0.4929 GB, free: 1.48 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/0.818, allocations: 0.5668 MB / 0.4934 GB, free: 0.9141 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8181, allocations: 8.5 kB / 0.4934 GB, free: 0.9062 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.8181, allocations: 15.95 kB / 0.4934 GB, free: 0.8906 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.8195, allocations: 151.8 kB / 0.4936 GB, free: 0.7422 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.8195, allocations: 11.92 kB / 0.4936 GB, free: 0.7305 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.8207, allocations: 87.64 kB / 0.4937 GB, free: 0.6445 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/0.8208, allocations: 24 kB / 0.4937 GB, free: 0.6211 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.000258/0.821, allocations: 136.8 kB / 0.4938 GB, free: 492 kB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.8213, allocations: 79.05 kB / 0.4939 GB, free: 412 kB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.8216, allocations: 90.08 kB / 0.494 GB, free: 312 kB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.8216, allocations: 11.95 kB / 0.494 GB, free: 300 kB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.8216, allocations: 0 / 0.494 GB, free: 300 kB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.8217, allocations: 7.922 kB / 0.494 GB, free: 292 kB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.8237, allocations: 0.8141 MB / 0.4948 GB, free: 15.41 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.8238, allocations: 0 / 0.4948 GB, free: 15.41 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.8252, allocations: 115.9 kB / 0.4949 GB, free: 15.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.8252, allocations: 7.953 kB / 0.4949 GB, free: 15.29 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.8253, allocations: 15.98 kB / 0.4949 GB, free: 15.28 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.8254, allocations: 0 / 0.4949 GB, free: 15.28 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8254, allocations: 0 / 0.4949 GB, free: 15.28 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.8276, allocations: 1.004 MB / 0.4959 GB, free: 14.24 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/0.8282, allocations: 196.2 kB / 0.4961 GB, free: 14.03 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.8284, allocations: 15.98 kB / 0.4961 GB, free: 14.01 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.8295, allocations: 63.94 kB / 0.4962 GB, free: 13.95 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.8297, allocations: 35.94 kB / 0.4962 GB, free: 13.91 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.8297, allocations: 12 kB / 0.4962 GB, free: 13.9 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0009191/0.8307, allocations: 435.1 kB / 0.4966 GB, free: 13.48 MB / 442.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8307, allocations: 0 / 0.4966 GB, free: 13.48 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001306/0.832, allocations: 204 kB / 0.4968 GB, free: 13.29 MB / 442.8 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 (44): * Single equations (assignments): 44 * 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.002784/0.8348, allocations: 1.703 MB / 0.4985 GB, free: 11.55 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.8372, allocations: 0.796 MB / 0.4993 GB, free: 10.75 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.8373, allocations: 0 / 0.4993 GB, free: 10.75 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.838, allocations: 219.8 kB / 0.4995 GB, free: 10.54 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.8396, allocations: 167.5 kB / 0.4996 GB, free: 10.38 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.8444, allocations: 1.376 MB / 0.501 GB, free: 8.953 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.8452, allocations: 0.9706 MB / 0.5019 GB, free: 7.949 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001399/0.8466, allocations: 207.1 kB / 0.5021 GB, free: 7.746 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/0.8473, allocations: 255.3 kB / 0.5024 GB, free: 7.496 MB / 442.8 MB Notification: Performance of SimCode: time 1.363e-06/0.8473, allocations: 3.938 kB / 0.5024 GB, free: 7.492 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06403/0.9113, allocations: 14.61 MB / 0.5167 GB, free: 8.957 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/0.9117, allocations: 134 kB / 0.5168 GB, free: 8.734 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/4.188, allocations: 0 / 0.5168 GB, free: 8.734 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat