Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.009e-05/4.033e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 61.88 MB / 410.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5822/0.7185, allocations: 96.39 MB / 0.4949 GB, free: 7.707 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.7188, allocations: 67.97 kB / 0.4949 GB, free: 7.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07154/0.7904, allocations: 14.65 MB / 0.5092 GB, free: 8.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7904, allocations: 0 / 0.5092 GB, free: 8.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.7905, allocations: 24 kB / 0.5093 GB, free: 8.941 MB / 426.7 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.003112/0.7937, allocations: 0.9464 MB / 0.5102 GB, free: 7.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.7937, allocations: 8.031 kB / 0.5102 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002213/0.794, allocations: 82.53 kB / 0.5103 GB, free: 7.852 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.7943, allocations: 102.9 kB / 0.5104 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.796, allocations: 0.5509 MB / 0.5109 GB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.7961, allocations: 41 kB / 0.5109 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.7963, allocations: 55.91 kB / 0.511 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.7977, allocations: 0.5413 MB / 0.5115 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.7977, allocations: 0 / 0.5115 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/0.7978, allocations: 20 kB / 0.5115 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.7978, allocations: 16 kB / 0.5116 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.799, allocations: 364.8 kB / 0.5119 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/0.8054, allocations: 2.706 MB / 0.5145 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.8067, allocations: 472 kB / 0.515 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.8073, allocations: 199.2 kB / 0.5152 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.8074, allocations: 4 kB / 0.5152 GB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.8074, allocations: 38.59 kB / 0.5152 GB, free: 2.523 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.296e-06/0.8074, allocations: 4 kB / 0.5152 GB, free: 2.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002262/0.8097, allocations: 0.8018 MB / 0.516 GB, free: 1.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.8098, allocations: 140.5 kB / 0.5161 GB, free: 1.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.8109, allocations: 0.539 MB / 0.5167 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.074e-05/0.811, allocations: 37.7 kB / 0.5167 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.8114, allocations: 356 kB / 0.517 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.8117, allocations: 173.5 kB / 0.5172 GB, free: 436 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.8117, allocations: 16.09 kB / 0.5172 GB, free: 420 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8119, allocations: 330 kB / 0.5175 GB, free: 84 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.8126, allocations: 205.6 kB / 0.5177 GB, free: 15.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.8134, allocations: 361 kB / 0.5181 GB, free: 15.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.8141, allocations: 248.6 kB / 0.5183 GB, free: 15.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8141, allocations: 0 / 0.5183 GB, free: 15.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001857/0.816, allocations: 0.6641 MB / 0.519 GB, free: 14.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008113/0.8168, allocations: 1.746 MB / 0.5207 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.8169, allocations: 11.98 kB / 0.5207 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.8169, allocations: 8 kB / 0.5207 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.8183, allocations: 159.8 kB / 0.5208 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.8183, allocations: 8 kB / 0.5209 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.8194, allocations: 95.53 kB / 0.5209 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.8195, allocations: 28 kB / 0.521 GB, free: 12.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.8196, allocations: 2.812 kB / 0.521 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/0.8212, allocations: 0.567 MB / 0.5215 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8212, allocations: 8.094 kB / 0.5215 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8212, allocations: 8 kB / 0.5215 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.8225, allocations: 155.7 kB / 0.5217 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-05/0.8225, allocations: 11.98 kB / 0.5217 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.8236, allocations: 87.59 kB / 0.5218 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.8237, allocations: 24 kB / 0.5218 GB, free: 11.5 MB / 442.7 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.0002282/0.8239, allocations: 141.3 kB / 0.5219 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.8241, allocations: 79.05 kB / 0.522 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.8244, allocations: 89.94 kB / 0.5221 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.8245, allocations: 4 kB / 0.5221 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.8245, allocations: 4 kB / 0.5221 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.8245, allocations: 3.984 kB / 0.5221 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.8263, allocations: 0.8141 MB / 0.5229 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.8263, allocations: 4 kB / 0.5229 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.8277, allocations: 115.9 kB / 0.523 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.8278, allocations: 4 kB / 0.523 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.8279, allocations: 23.92 kB / 0.5231 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.8279, allocations: 4 kB / 0.5231 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.8279, allocations: 7.891 kB / 0.5231 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.83, allocations: 0.9805 MB / 0.524 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.8304, allocations: 208.2 kB / 0.5242 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.8306, allocations: 15.98 kB / 0.5242 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.8317, allocations: 67.94 kB / 0.5243 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.8319, allocations: 35.94 kB / 0.5243 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.832, allocations: 8 kB / 0.5243 GB, free: 8.789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000864/0.8329, allocations: 431.2 kB / 0.5248 GB, free: 8.375 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8329, allocations: 4 kB / 0.5248 GB, free: 8.371 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001216/0.8341, allocations: 204 kB / 0.525 GB, free: 8.172 MB / 442.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 (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.002573/0.8367, allocations: 1.686 MB / 0.5266 GB, free: 6.453 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.839, allocations: 0.8011 MB / 0.5274 GB, free: 5.652 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8391, allocations: 0 / 0.5274 GB, free: 5.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000641/0.8397, allocations: 219.5 kB / 0.5276 GB, free: 5.441 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.8413, allocations: 161.6 kB / 0.5277 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.8456, allocations: 1.375 MB / 0.5291 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.8464, allocations: 0.9667 MB / 0.53 GB, free: 2.859 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.8477, allocations: 203.2 kB / 0.5302 GB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.8483, allocations: 251.3 kB / 0.5305 GB, free: 2.414 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8483, allocations: 0 / 0.5305 GB, free: 2.414 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.9018, allocations: 14.54 MB / 0.5447 GB, free: 4.012 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.9022, allocations: 133 kB / 0.5448 GB, free: 3.793 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/3.928, allocations: 64 / 0.5448 GB, free: 3.793 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat