Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.361e-05, allocations: 0 / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5623, allocations: 82.88 MB / 399.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5626, allocations: 64.59 kB / 399.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08699/0.6497, allocations: 14.47 MB / 413.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6497, allocations: 0 / 413.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.6498, allocations: 27.94 kB / 413.8 MB, free: 13.7 MB / 346.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.003697/0.6536, allocations: 0.9132 MB / 414.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.6536, allocations: 8.031 kB / 414.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.6541, allocations: 94.92 kB / 414.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.6562, allocations: 0.5266 MB / 415.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.6563, allocations: 15.94 kB / 415.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.6565, allocations: 43.14 kB / 415.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/0.6576, allocations: 307.9 kB / 415.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6587, allocations: 435.7 kB / 416.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.6587, allocations: 0 / 416.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.6588, allocations: 7.875 kB / 416.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6588, allocations: 15.95 kB / 416.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/0.6642, allocations: 1.887 MB / 418 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.6654, allocations: 450.2 kB / 418.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/0.6659, allocations: 183.1 kB / 418.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.6659, allocations: 4 kB / 418.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.666, allocations: 41.88 kB / 418.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.807e-06/0.666, allocations: 0 / 418.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002014/0.668, allocations: 0.7269 MB / 419.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.6682, allocations: 166.2 kB / 419.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.669, allocations: 458.8 kB / 420 MB, free: 8.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.6691, allocations: 25.7 kB / 420 MB, free: 8.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.6694, allocations: 317.7 kB / 420.3 MB, free: 8.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.6696, allocations: 162.8 kB / 420.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.6696, allocations: 0 / 420.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.6699, allocations: 382.2 kB / 420.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.6704, allocations: 185.1 kB / 421.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.6711, allocations: 292.7 kB / 421.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.6717, allocations: 221.2 kB / 421.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6717, allocations: 0 / 421.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001612/0.6733, allocations: 0.5608 MB / 422.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6734, allocations: 11.59 kB / 422.1 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6734, allocations: 4 kB / 422.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.6734, allocations: 7.984 kB / 422.1 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.6747, allocations: 156.1 kB / 422.3 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.6747, allocations: 4 kB / 422.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000981/0.6757, allocations: 83.56 kB / 422.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.6758, allocations: 20 kB / 422.4 MB, free: 5.938 MB / 346.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.0001864/0.676, allocations: 108.9 kB / 422.5 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001192/0.6772, allocations: 440.5 kB / 422.9 MB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.6774, allocations: 67.19 kB / 423 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.6777, allocations: 77.19 kB / 423.1 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.6777, allocations: 11.98 kB / 423.1 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6777, allocations: 0 / 423.1 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.6778, allocations: 7.938 kB / 423.1 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.6795, allocations: 0.7326 MB / 423.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.6795, allocations: 0 / 423.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.6808, allocations: 111.9 kB / 423.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/0.6809, allocations: 7.984 kB / 423.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.681, allocations: 8 kB / 423.9 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.681, allocations: 4 kB / 424 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.681, allocations: 3.938 kB / 424 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.6829, allocations: 0.9381 MB / 424.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.6833, allocations: 188.4 kB / 425.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.6835, allocations: 4 kB / 425.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6845, allocations: 59.94 kB / 425.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.6847, allocations: 39.89 kB / 425.2 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.6848, allocations: 12 kB / 425.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006521/0.6854, allocations: 359.2 kB / 425.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6854, allocations: 0 / 425.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007904/0.6862, allocations: 99.94 kB / 425.6 MB, free: 2.574 MB / 346.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.002341/0.6886, allocations: 1.632 MB / 427.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.6899, allocations: 443.5 kB / 427.7 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6899, allocations: 0 / 427.7 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.6905, allocations: 211.8 kB / 427.9 MB, free: 276 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.692, allocations: 149.3 kB / 428.1 MB, free: 132 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.696, allocations: 1.262 MB / 429.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/0.6968, allocations: 0.9489 MB / 430.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006814/0.6974, allocations: 100.5 kB / 430.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.698, allocations: 231.4 kB / 430.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6981, allocations: 4 kB / 430.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/0.7574, allocations: 11.35 MB / 441.9 MB, free: 2.184 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/0.7578, allocations: 121.8 kB / 442.1 MB, free: 1.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.497, allocations: 3.938 kB / 442.1 MB, free: 1.984 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat