Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.665e-05, allocations: 13.75 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 61.9 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4926/0.627, allocations: 89.95 MB / 0.4886 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.6272, allocations: 65 kB / 0.4887 GB, free: 13.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06581/0.6931, allocations: 15.31 MB / 0.5036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6931, allocations: 0 / 0.5036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.6933, allocations: 24 kB / 0.5036 GB, free: 14.56 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.002868/0.6961, allocations: 1.05 MB / 0.5047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6962, allocations: 8.031 kB / 0.5047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002483/0.6965, allocations: 106.5 kB / 0.5048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.6968, allocations: 114.6 kB / 0.5049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.6985, allocations: 0.6133 MB / 0.5055 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.6986, allocations: 49.31 kB / 0.5055 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.6988, allocations: 67.73 kB / 0.5056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.7005, allocations: 0.6739 MB / 0.5062 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.7005, allocations: 0 / 0.5062 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.7006, allocations: 27.95 kB / 0.5063 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.7007, allocations: 16 kB / 0.5063 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.702, allocations: 423.9 kB / 0.5067 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/0.708, allocations: 2.772 MB / 0.5094 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.7098, allocations: 0.5462 MB / 0.5099 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.7104, allocations: 228.4 kB / 0.5101 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.648e-05/0.7105, allocations: 12 kB / 0.5102 GB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.7105, allocations: 38.56 kB / 0.5102 GB, free: 7.527 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 3.316e-06/0.7105, allocations: 0 / 0.5102 GB, free: 7.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.001518/0.7121, allocations: 488.4 kB / 0.5107 GB, free: 7.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.7122, allocations: 247.3 kB / 0.5109 GB, free: 6.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.7134, allocations: 0.5908 MB / 0.5115 GB, free: 6.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.7135, allocations: 37.64 kB / 0.5115 GB, free: 6.105 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.714, allocations: 432.4 kB / 0.5119 GB, free: 5.676 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.7143, allocations: 189.3 kB / 0.5121 GB, free: 5.488 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.7143, allocations: 12 kB / 0.5121 GB, free: 5.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7145, allocations: 325.9 kB / 0.5124 GB, free: 5.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.715, allocations: 165.1 kB / 0.5126 GB, free: 4.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.7156, allocations: 295.1 kB / 0.5129 GB, free: 4.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.7162, allocations: 192.8 kB / 0.513 GB, free: 4.469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7162, allocations: 0 / 0.513 GB, free: 4.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003468/0.7197, allocations: 0.8896 MB / 0.5139 GB, free: 3.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004856/0.7202, allocations: 1.142 MB / 0.515 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.7202, allocations: 5.094 kB / 0.515 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.7218, allocations: 263.2 kB / 0.5153 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.723, allocations: 123.9 kB / 0.5154 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/0.7285, allocations: 3.586 MB / 0.5189 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7296, allocations: 91.55 kB / 0.519 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.7297, allocations: 20 kB / 0.519 GB, free: 14.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.7297, allocations: 4 kB / 0.519 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001937/0.7317, allocations: 0.5601 MB / 0.5196 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7317, allocations: 4 kB / 0.5196 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/0.7324, allocations: 125.9 kB / 0.5197 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.7339, allocations: 175.7 kB / 0.5199 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.7386, allocations: 3.128 MB / 0.5229 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/0.7395, allocations: 71.5 kB / 0.523 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.7396, allocations: 20 kB / 0.523 GB, free: 9.664 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.0002664/0.7398, allocations: 148.8 kB / 0.5231 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.7401, allocations: 86.88 kB / 0.5232 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.7404, allocations: 95.28 kB / 0.5233 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7404, allocations: 11.98 kB / 0.5233 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7404, allocations: 0 / 0.5233 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.7405, allocations: 7.984 kB / 0.5233 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.742, allocations: 0.7311 MB / 0.524 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.7421, allocations: 4 kB / 0.5241 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.7433, allocations: 123.9 kB / 0.5242 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.7433, allocations: 4 kB / 0.5242 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.7434, allocations: 12 kB / 0.5242 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/0.7434, allocations: 3.938 kB / 0.5242 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7434, allocations: 4.188 kB / 0.5242 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.7456, allocations: 1.086 MB / 0.5253 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.746, allocations: 203.9 kB / 0.5254 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.7462, allocations: 19.98 kB / 0.5255 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/0.7471, allocations: 55.97 kB / 0.5255 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.7472, allocations: 39.91 kB / 0.5256 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.7473, allocations: 19.92 kB / 0.5256 GB, free: 6.902 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009096/0.7482, allocations: 475.2 kB / 0.526 GB, free: 6.445 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7482, allocations: 0 / 0.526 GB, free: 6.445 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001418/0.7497, allocations: 275 kB / 0.5263 GB, free: 6.176 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.002524/0.7522, allocations: 1.853 MB / 0.5281 GB, free: 4.281 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006083/0.7583, allocations: 1.464 MB / 0.5295 GB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.7584, allocations: 4 kB / 0.5295 GB, free: 2.785 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.7592, allocations: 223.8 kB / 0.5297 GB, free: 2.566 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.7614, allocations: 204.9 kB / 0.5299 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.7662, allocations: 1.255 MB / 0.5312 GB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.767, allocations: 1.006 MB / 0.5322 GB, free: 24 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001045/0.7681, allocations: 147.7 kB / 0.5323 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/0.7688, allocations: 319.3 kB / 0.5326 GB, free: 15.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7688, allocations: 0 / 0.5326 GB, free: 15.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06423/0.833, allocations: 19.23 MB / 0.5514 GB, free: 12.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003346/0.8334, allocations: 156.2 kB / 0.5515 GB, free: 12.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/4.274, allocations: 0 / 0.5515 GB, free: 12.28 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat