Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.652/2.652, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.677e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4242, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.5907, allocations: 89.06 MB / 471.4 MB, free: 3.34 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5911, allocations: 63.97 kB / 471.4 MB, free: 3.277 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.06762/0.6587, allocations: 15.54 MB / 487 MB, free: 3.688 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6588, allocations: 0 / 487 MB, free: 3.688 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001143/0.6589, allocations: 23.94 kB / 487 MB, free: 3.664 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002891/0.6618, allocations: 1.051 MB / 488 MB, free: 2.566 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.6619, allocations: 12.03 kB / 488 MB, free: 2.555 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.6621, allocations: 102.5 kB / 488.1 MB, free: 2.445 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.6625, allocations: 126.5 kB / 488.3 MB, free: 2.32 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.6643, allocations: 0.6405 MB / 488.9 MB, free: 1.633 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.6644, allocations: 49.31 kB / 489 MB, free: 1.586 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.6645, allocations: 60 kB / 489 MB, free: 1.527 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.6662, allocations: 0.6645 MB / 489.7 MB, free: 0.8047 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.6663, allocations: 4 kB / 489.7 MB, free: 0.8008 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.732e-05/0.6664, allocations: 20 kB / 489.7 MB, free: 0.7812 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.6664, allocations: 20 kB / 489.7 MB, free: 0.7617 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.6676, allocations: 435.5 kB / 490.1 MB, free: 344 kB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006232/0.6739, allocations: 2.784 MB / 492.9 MB, free: 13.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.6757, allocations: 0.5383 MB / 493.5 MB, free: 12.88 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.6764, allocations: 227.5 kB / 493.7 MB, free: 12.64 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.6765, allocations: 4 kB / 493.7 MB, free: 12.64 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.6766, allocations: 51.5 kB / 493.7 MB, free: 12.58 MB / 426.8 MB Notification: Performance of pre-optimization done (n=52): time 3.556e-06/0.6766, allocations: 0 / 493.7 MB, free: 12.58 MB / 426.8 MB Notification: Performance of matching and sorting (n=52): time 0.001579/0.6782, allocations: 496.5 kB / 494.2 MB, free: 12.09 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.6784, allocations: 243.3 kB / 494.5 MB, free: 11.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.6797, allocations: 0.6066 MB / 495.1 MB, free: 11.18 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.6799, allocations: 33.7 kB / 495.1 MB, free: 11.14 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.6804, allocations: 448.3 kB / 495.5 MB, free: 10.7 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.6806, allocations: 185.3 kB / 495.7 MB, free: 10.52 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.6807, allocations: 12 kB / 495.7 MB, free: 10.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6809, allocations: 329.9 kB / 496.1 MB, free: 10.18 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.6814, allocations: 161.1 kB / 496.2 MB, free: 10.02 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.6821, allocations: 299 kB / 496.5 MB, free: 9.676 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.6827, allocations: 194.9 kB / 496.7 MB, free: 9.488 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.6827, allocations: 4 kB / 496.7 MB, free: 9.484 MB / 426.8 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003548/0.6863, allocations: 0.8831 MB / 497.6 MB, free: 8.586 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004846/0.6868, allocations: 1.134 MB / 498.7 MB, free: 7.363 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.6868, allocations: 4 kB / 498.7 MB, free: 7.359 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.6884, allocations: 259.2 kB / 499 MB, free: 7.094 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6896, allocations: 135.8 kB / 499.1 MB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/0.6954, allocations: 3.574 MB / 0.4909 GB, free: 3.176 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.6965, allocations: 99.48 kB / 0.491 GB, free: 3.078 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.6966, allocations: 20 kB / 0.491 GB, free: 3.059 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6966, allocations: 6.344 kB / 0.491 GB, free: 3.055 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001962/0.6986, allocations: 0.5643 MB / 0.4916 GB, free: 2.488 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6986, allocations: 0 / 0.4916 GB, free: 2.488 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007169/0.6993, allocations: 121.6 kB / 0.4917 GB, free: 2.363 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7009, allocations: 180 kB / 0.4919 GB, free: 2.188 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004607/0.7055, allocations: 3.135 MB / 0.4949 GB, free: 14.79 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/0.7064, allocations: 79.47 kB / 0.495 GB, free: 14.71 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.7065, allocations: 20 kB / 0.495 GB, free: 14.69 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.7068, allocations: 136.8 kB / 0.4951 GB, free: 14.55 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.7071, allocations: 94.81 kB / 0.4952 GB, free: 14.45 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.7074, allocations: 99.5 kB / 0.4953 GB, free: 14.36 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.7074, allocations: 8 kB / 0.4953 GB, free: 14.35 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7074, allocations: 4 kB / 0.4953 GB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7075, allocations: 7.984 kB / 0.4954 GB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.7091, allocations: 0.7428 MB / 0.4961 GB, free: 13.54 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7091, allocations: 0 / 0.4961 GB, free: 13.54 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.7103, allocations: 123.8 kB / 0.4962 GB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.7103, allocations: 4 kB / 0.4962 GB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.7104, allocations: 15.98 kB / 0.4962 GB, free: 13.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.7104, allocations: 4.188 kB / 0.4962 GB, free: 13.4 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7104, allocations: 0 / 0.4962 GB, free: 13.4 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.7127, allocations: 1.09 MB / 0.4973 GB, free: 12.27 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.7132, allocations: 215.8 kB / 0.4975 GB, free: 12.04 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.7134, allocations: 12 kB / 0.4975 GB, free: 12.02 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.7143, allocations: 59.91 kB / 0.4976 GB, free: 11.96 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7145, allocations: 35.95 kB / 0.4976 GB, free: 11.93 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.7145, allocations: 8 kB / 0.4976 GB, free: 11.92 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0009502/0.7155, allocations: 491.1 kB / 0.4981 GB, free: 11.45 MB / 442.8 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7155, allocations: 0 / 0.4981 GB, free: 11.45 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001418/0.7169, allocations: 275.1 kB / 0.4983 GB, free: 11.18 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.002556/0.7195, allocations: 1.853 MB / 0.5001 GB, free: 9.281 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006007/0.7256, allocations: 1.468 MB / 0.5016 GB, free: 7.785 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.7256, allocations: 0 / 0.5016 GB, free: 7.785 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.7263, allocations: 216.9 kB / 0.5018 GB, free: 7.574 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.7283, allocations: 204.7 kB / 0.502 GB, free: 7.383 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.7327, allocations: 1.277 MB / 0.5032 GB, free: 6.047 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007919/0.7335, allocations: 1.002 MB / 0.5042 GB, free: 5.016 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001105/0.7347, allocations: 151.9 kB / 0.5043 GB, free: 4.867 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007097/0.7354, allocations: 323.3 kB / 0.5047 GB, free: 4.551 MB / 442.8 MB Notification: Performance of SimCode: time 1.303e-06/0.7354, allocations: 0 / 0.5047 GB, free: 4.551 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06905/0.8045, allocations: 19.52 MB / 0.5237 GB, free: 1.094 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003691/0.8049, allocations: 159.7 kB / 0.5239 GB, free: 0.8711 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.373/4.178, allocations: 0 / 0.5239 GB, free: 0.8711 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat