Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.317e-05/4.318e-05, allocations: 9.828 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/0.6277, allocations: 89.95 MB / 0.4886 GB, free: 14.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.628, allocations: 67.91 kB / 0.4886 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0678/0.6959, allocations: 15.31 MB / 0.5036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6959, allocations: 0 / 0.5036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.696, allocations: 24 kB / 0.5036 GB, free: 14.71 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002803/0.6988, allocations: 1.051 MB / 0.5046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.6989, allocations: 8.031 kB / 0.5047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003034/0.6993, allocations: 106.5 kB / 0.5048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.6996, allocations: 114.6 kB / 0.5049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.7011, allocations: 0.6094 MB / 0.5055 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.7012, allocations: 49.25 kB / 0.5055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.7014, allocations: 67.91 kB / 0.5056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.703, allocations: 0.6595 MB / 0.5062 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.703, allocations: 3.938 kB / 0.5062 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.7031, allocations: 31.95 kB / 0.5062 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.7032, allocations: 19.98 kB / 0.5063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.7044, allocations: 427.8 kB / 0.5067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005837/0.7102, allocations: 2.772 MB / 0.5094 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.712, allocations: 0.5545 MB / 0.5099 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.7126, allocations: 220.4 kB / 0.5101 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.7127, allocations: 23.91 kB / 0.5102 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.7128, allocations: 38.56 kB / 0.5102 GB, free: 7.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 3.276e-06/0.7128, allocations: 0 / 0.5102 GB, free: 7.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.001567/0.7143, allocations: 488.4 kB / 0.5107 GB, free: 7.176 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.7145, allocations: 247.3 kB / 0.5109 GB, free: 6.879 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.7158, allocations: 0.5869 MB / 0.5115 GB, free: 6.285 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.716, allocations: 41.64 kB / 0.5115 GB, free: 6.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.7165, allocations: 432.4 kB / 0.5119 GB, free: 5.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.7167, allocations: 181.3 kB / 0.5121 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.7168, allocations: 12 kB / 0.5121 GB, free: 5.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.717, allocations: 333.9 kB / 0.5124 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.7175, allocations: 161.1 kB / 0.5126 GB, free: 5.129 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.7182, allocations: 291.1 kB / 0.5129 GB, free: 4.797 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.7187, allocations: 196.8 kB / 0.513 GB, free: 4.605 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.7188, allocations: 4 kB / 0.513 GB, free: 4.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003573/0.7223, allocations: 0.8937 MB / 0.5139 GB, free: 3.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004893/0.7229, allocations: 1.13 MB / 0.515 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7229, allocations: 4 kB / 0.515 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.7245, allocations: 259.3 kB / 0.5153 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.7256, allocations: 131.8 kB / 0.5154 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005657/0.7313, allocations: 3.582 MB / 0.5189 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.7324, allocations: 87.56 kB / 0.519 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.7325, allocations: 20.38 kB / 0.519 GB, free: 14.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.7325, allocations: 4 kB / 0.519 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/0.7345, allocations: 0.564 MB / 0.5196 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7345, allocations: 0 / 0.5196 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/0.7353, allocations: 129.9 kB / 0.5197 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.7368, allocations: 175.8 kB / 0.5198 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.7416, allocations: 3.135 MB / 0.5229 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.7425, allocations: 71.44 kB / 0.523 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.7426, allocations: 20 kB / 0.523 GB, free: 9.797 MB / 442.7 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.0003068/0.7429, allocations: 148.8 kB / 0.5231 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.7432, allocations: 90.88 kB / 0.5232 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.7435, allocations: 95.28 kB / 0.5233 GB, free: 9.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.7435, allocations: 8 kB / 0.5233 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.7436, allocations: 0 / 0.5233 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7436, allocations: 3.984 kB / 0.5233 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.7453, allocations: 0.7389 MB / 0.524 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.7453, allocations: 0 / 0.524 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.7465, allocations: 123.9 kB / 0.5242 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.7466, allocations: 0 / 0.5242 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.7466, allocations: 15.94 kB / 0.5242 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.7467, allocations: 4 kB / 0.5242 GB, free: 8.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7467, allocations: 3.984 kB / 0.5242 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.7488, allocations: 1.082 MB / 0.5252 GB, free: 7.391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.7492, allocations: 211.9 kB / 0.5254 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.7494, allocations: 12 kB / 0.5255 GB, free: 7.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009291/0.7503, allocations: 59.95 kB / 0.5255 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.7505, allocations: 39.91 kB / 0.5256 GB, free: 7.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.7505, allocations: 8 kB / 0.5256 GB, free: 7.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008867/0.7514, allocations: 479.2 kB / 0.526 GB, free: 6.586 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7514, allocations: 0 / 0.526 GB, free: 6.586 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001362/0.7528, allocations: 275 kB / 0.5263 GB, free: 6.316 MB / 442.7 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.002602/0.7554, allocations: 1.853 MB / 0.5281 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006077/0.7615, allocations: 1.464 MB / 0.5295 GB, free: 2.926 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.7616, allocations: 0 / 0.5295 GB, free: 2.926 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006804/0.7623, allocations: 227.8 kB / 0.5297 GB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.7643, allocations: 209.1 kB / 0.5299 GB, free: 2.504 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.7685, allocations: 1.255 MB / 0.5312 GB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.7694, allocations: 1.01 MB / 0.5321 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009739/0.7704, allocations: 135.8 kB / 0.5323 GB, free: 20 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007147/0.7711, allocations: 319.6 kB / 0.5326 GB, free: 15.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7711, allocations: 0 / 0.5326 GB, free: 15.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07316/0.8443, allocations: 19.23 MB / 0.5514 GB, free: 12.64 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.8446, allocations: 164.2 kB / 0.5515 GB, free: 12.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/4.13, allocations: 4 kB / 0.5515 GB, free: 12.41 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat