Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.393e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1805, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.7109, allocations: 89.16 MB / 499.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.7112, allocations: 63.97 kB / 499.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05219/0.7634, allocations: 11.43 MB / 0.499 GB, free: 3.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7635, allocations: 0 / 0.499 GB, free: 3.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.192e-05/0.7635, allocations: 19.94 kB / 0.499 GB, free: 3.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002772/0.7663, allocations: 0.8765 MB / 0.4999 GB, free: 2.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.7664, allocations: 12.03 kB / 0.4999 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.7666, allocations: 86.39 kB / 0.5 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.7669, allocations: 71.25 kB / 0.5001 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.768, allocations: 376.2 kB / 0.5004 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.7681, allocations: 36.95 kB / 0.5005 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.7684, allocations: 55.98 kB / 0.5005 GB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.7696, allocations: 482.7 kB / 0.501 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.7697, allocations: 0 / 0.501 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.7698, allocations: 20 kB / 0.501 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.7698, allocations: 16 kB / 0.501 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.7707, allocations: 267.8 kB / 0.5013 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005426/0.7761, allocations: 1.926 MB / 0.5031 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.7772, allocations: 446.3 kB / 0.5036 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.7778, allocations: 210 kB / 0.5038 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/0.7778, allocations: 16.91 kB / 0.5038 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.7779, allocations: 46.5 kB / 0.5038 GB, free: 14.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/0.7779, allocations: 0 / 0.5038 GB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.001205/0.7791, allocations: 357.2 kB / 0.5042 GB, free: 13.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.7793, allocations: 290.7 kB / 0.5044 GB, free: 13.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.7798, allocations: 298.9 kB / 0.5047 GB, free: 13.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.7799, allocations: 41.73 kB / 0.5048 GB, free: 12.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.7801, allocations: 256.2 kB / 0.505 GB, free: 12.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.7803, allocations: 165.6 kB / 0.5052 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.7804, allocations: 12 kB / 0.5052 GB, free: 12.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.7806, allocations: 354.8 kB / 0.5055 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.781, allocations: 125.1 kB / 0.5056 GB, free: 12.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.7816, allocations: 250.6 kB / 0.5059 GB, free: 11.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.782, allocations: 151.7 kB / 0.506 GB, free: 11.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.782, allocations: 0 / 0.506 GB, free: 11.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004094/0.7861, allocations: 0.8642 MB / 0.5069 GB, free: 10.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006097/0.7868, allocations: 1.312 MB / 0.5081 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7868, allocations: 4.562 kB / 0.5081 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/0.7892, allocations: 388.8 kB / 0.5085 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009448/0.7902, allocations: 103.8 kB / 0.5086 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009546/0.7998, allocations: 6.426 MB / 0.5149 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.8009, allocations: 115.7 kB / 0.515 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.801, allocations: 20 kB / 0.515 GB, free: 1.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.801, allocations: 7.938 kB / 0.515 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001978/0.803, allocations: 0.4931 MB / 0.5155 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.803, allocations: 4 kB / 0.5155 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008301/0.8039, allocations: 137.8 kB / 0.5156 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.8053, allocations: 187.8 kB / 0.5158 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.8109, allocations: 3.36 MB / 0.5191 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/0.8119, allocations: 104.2 kB / 0.5192 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.812, allocations: 16 kB / 0.5192 GB, free: 13.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.8122, allocations: 136.9 kB / 0.5194 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.8125, allocations: 51.39 kB / 0.5194 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.8138, allocations: 433.5 kB / 0.5198 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.8138, allocations: 7.984 kB / 0.5198 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8139, allocations: 7.938 kB / 0.5198 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.8139, allocations: 0 / 0.5198 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.8152, allocations: 493 kB / 0.5203 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8152, allocations: 0 / 0.5203 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.8166, allocations: 144 kB / 0.5204 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.8168, allocations: 24.84 kB / 0.5205 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.8168, allocations: 15.94 kB / 0.5205 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.8181, allocations: 1.309 MB / 0.5218 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8181, allocations: 4 kB / 0.5218 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.8199, allocations: 1.148 MB / 0.5229 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.8201, allocations: 124.4 kB / 0.523 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.973e-05/0.8202, allocations: 15.98 kB / 0.523 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.8215, allocations: 83.92 kB / 0.5231 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.8216, allocations: 47.89 kB / 0.5231 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.8217, allocations: 16 kB / 0.5232 GB, free: 8.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003783/0.8221, allocations: 233.2 kB / 0.5234 GB, free: 8.738 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8221, allocations: 0 / 0.5234 GB, free: 8.738 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001573/0.8237, allocations: 207.4 kB / 0.5236 GB, free: 8.535 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/0.8262, allocations: 2.135 MB / 0.5257 GB, free: 6.344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007129/0.8333, allocations: 1.565 MB / 0.5272 GB, free: 4.738 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.8333, allocations: 3.984 kB / 0.5272 GB, free: 4.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.834, allocations: 278.3 kB / 0.5275 GB, free: 4.453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.8353, allocations: 136.4 kB / 0.5276 GB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.839, allocations: 1.009 MB / 0.5286 GB, free: 3.254 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.8396, allocations: 0.8752 MB / 0.5294 GB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006175/0.8402, allocations: 81.23 kB / 0.5295 GB, free: 2.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.8406, allocations: 171.4 kB / 0.5297 GB, free: 2.102 MB / 442.7 MB Notification: Performance of SimCode: time 1.143e-06/0.8406, allocations: 0 / 0.5297 GB, free: 2.102 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09367/0.9343, allocations: 13.53 MB / 0.5429 GB, free: 4.723 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.9346, allocations: 170.3 kB / 0.543 GB, free: 4.504 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/3.951, allocations: 0 / 0.543 GB, free: 4.504 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat