Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.437e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5064/0.6422, allocations: 91.63 MB / 0.4902 GB, free: 12.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.6425, allocations: 64.64 kB / 0.4903 GB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07572/0.7183, allocations: 15.67 MB / 0.5056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7183, allocations: 0 / 0.5056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.7184, allocations: 23.94 kB / 0.5056 GB, free: 12.61 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003506/0.722, allocations: 1.028 MB / 0.5066 GB, free: 11.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.722, allocations: 12.03 kB / 0.5066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002807/0.7223, allocations: 102.5 kB / 0.5067 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.7227, allocations: 94.88 kB / 0.5068 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.7247, allocations: 0.5937 MB / 0.5074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/0.7248, allocations: 40.94 kB / 0.5074 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.725, allocations: 52 kB / 0.5075 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.7265, allocations: 0.5687 MB / 0.508 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.7266, allocations: 3.938 kB / 0.508 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-05/0.7267, allocations: 27.95 kB / 0.5081 GB, free: 9.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.7267, allocations: 12 kB / 0.5081 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.7279, allocations: 349.9 kB / 0.5084 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.7334, allocations: 2.29 MB / 0.5107 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.7363, allocations: 0.6953 MB / 0.5113 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.737, allocations: 193.7 kB / 0.5115 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.249e-05/0.7371, allocations: 4 kB / 0.5115 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.7371, allocations: 46.55 kB / 0.5116 GB, free: 6.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 3.987e-06/0.7371, allocations: 0 / 0.5116 GB, free: 6.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.00148/0.7386, allocations: 437.5 kB / 0.512 GB, free: 5.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7387, allocations: 136.5 kB / 0.5121 GB, free: 5.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.7397, allocations: 495.7 kB / 0.5126 GB, free: 5.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/0.7398, allocations: 33.7 kB / 0.5126 GB, free: 5.086 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.7402, allocations: 360.8 kB / 0.513 GB, free: 4.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.7404, allocations: 157.6 kB / 0.5131 GB, free: 4.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.7405, allocations: 12 kB / 0.5131 GB, free: 4.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.7407, allocations: 390.7 kB / 0.5135 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.7412, allocations: 153.1 kB / 0.5136 GB, free: 4.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.7418, allocations: 255.7 kB / 0.5139 GB, free: 3.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.7424, allocations: 170 kB / 0.514 GB, free: 3.574 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/0.7424, allocations: 0 / 0.514 GB, free: 3.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001522/0.7439, allocations: 0.5107 MB / 0.5145 GB, free: 3.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004208/0.7444, allocations: 0.8788 MB / 0.5154 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7444, allocations: 4 kB / 0.5154 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.7445, allocations: 4 kB / 0.5154 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.7464, allocations: 203.7 kB / 0.5156 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.7465, allocations: 15.98 kB / 0.5156 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.7477, allocations: 119.5 kB / 0.5157 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.7478, allocations: 23.98 kB / 0.5158 GB, free: 1.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7478, allocations: 6.812 kB / 0.5158 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/0.749, allocations: 398.4 kB / 0.5161 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.749, allocations: 8.031 kB / 0.5162 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7491, allocations: 4 kB / 0.5162 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.7507, allocations: 171.8 kB / 0.5163 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.7507, allocations: 7.984 kB / 0.5163 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/0.7517, allocations: 87.64 kB / 0.5164 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.7518, allocations: 19.95 kB / 0.5164 GB, free: 1.062 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002763/0.7521, allocations: 132.9 kB / 0.5166 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.7523, allocations: 71.06 kB / 0.5166 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.7526, allocations: 78.73 kB / 0.5167 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.7526, allocations: 4 kB / 0.5167 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.7526, allocations: 4 kB / 0.5167 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.7527, allocations: 3.938 kB / 0.5167 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.7555, allocations: 1.154 MB / 0.5178 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.7556, allocations: 8 kB / 0.5178 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.7571, allocations: 155.8 kB / 0.518 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.7571, allocations: 4 kB / 0.518 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/0.7572, allocations: 15.98 kB / 0.518 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-06/0.7572, allocations: 3.953 kB / 0.518 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.7572, allocations: 4 kB / 0.518 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.7593, allocations: 0.853 MB / 0.5189 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.7598, allocations: 192 kB / 0.519 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.7599, allocations: 15.95 kB / 0.5191 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.761, allocations: 91.92 kB / 0.5191 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.7612, allocations: 39.94 kB / 0.5192 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.7613, allocations: 15.98 kB / 0.5192 GB, free: 14.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000722/0.762, allocations: 387.2 kB / 0.5196 GB, free: 13.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.762, allocations: 0 / 0.5196 GB, free: 13.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001191/0.7632, allocations: 223.3 kB / 0.5198 GB, free: 13.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.002458/0.7657, allocations: 1.486 MB / 0.5212 GB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.7678, allocations: 0.6362 MB / 0.5218 GB, free: 11.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7679, allocations: 1 kB / 0.5218 GB, free: 11.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.7685, allocations: 207.9 kB / 0.522 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.7702, allocations: 182.8 kB / 0.5222 GB, free: 11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/0.7756, allocations: 1.244 MB / 0.5234 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.7763, allocations: 0.9353 MB / 0.5243 GB, free: 8.742 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.7774, allocations: 135.4 kB / 0.5245 GB, free: 8.609 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/0.7781, allocations: 267.3 kB / 0.5247 GB, free: 8.348 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7781, allocations: 3.938 kB / 0.5247 GB, free: 8.344 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/0.832, allocations: 14.44 MB / 0.5388 GB, free: 10.06 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.8323, allocations: 138.2 kB / 0.539 GB, free: 9.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.394/4.226, allocations: 0 / 0.539 GB, free: 9.84 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat