Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.667/2.667, allocations: 270 MB / 283.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.204e-05, allocations: 0 / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4345, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5998, allocations: 87.32 MB / 497.7 MB, free: 3.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.6001, allocations: 63.97 kB / 497.7 MB, free: 3.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.6151, allocations: 2.92 MB / 0.4889 GB, free: 168 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6151, allocations: 0 / 0.4889 GB, free: 168 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.6152, allocations: 4 kB / 0.4889 GB, free: 164 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009462/0.6161, allocations: 430.2 kB / 0.4893 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.6162, allocations: 12.03 kB / 0.4894 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.498e-05/0.6163, allocations: 34.56 kB / 0.4894 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.6163, allocations: 11.91 kB / 0.4894 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.6168, allocations: 204.3 kB / 0.4896 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.6168, allocations: 8 kB / 0.4896 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.6169, allocations: 7.953 kB / 0.4896 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.6171, allocations: 81.61 kB / 0.4897 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6172, allocations: 4 kB / 0.4897 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.6172, allocations: 4 kB / 0.4897 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6172, allocations: 3.938 kB / 0.4897 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.6174, allocations: 31.98 kB / 0.4897 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.6183, allocations: 376.6 kB / 0.4901 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.6185, allocations: 59.33 kB / 0.4901 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.6185, allocations: 25.02 kB / 0.4902 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.6186, allocations: 0 / 0.4902 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.6188, allocations: 75.34 kB / 0.4902 GB, free: 14.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.6188, allocations: 3.938 kB / 0.4902 GB, free: 14.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.00026/0.6191, allocations: 69.59 kB / 0.4903 GB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.6191, allocations: 67.3 kB / 0.4904 GB, free: 14.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.6193, allocations: 129.5 kB / 0.4905 GB, free: 14.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.6194, allocations: 29.7 kB / 0.4905 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.6195, allocations: 104.2 kB / 0.4906 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.6195, allocations: 23.88 kB / 0.4906 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.6195, allocations: 4 kB / 0.4906 GB, free: 14.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6197, allocations: 318.8 kB / 0.491 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.6198, allocations: 20 kB / 0.491 GB, free: 13.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.6199, allocations: 33.72 kB / 0.491 GB, free: 13.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.734e-05/0.6199, allocations: 15.98 kB / 0.491 GB, free: 13.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6199, allocations: 0 / 0.491 GB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.6202, allocations: 85.53 kB / 0.4911 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6202, allocations: 8.031 kB / 0.4911 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6202, allocations: 0 / 0.4911 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6202, allocations: 0 / 0.4911 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.6204, allocations: 23.92 kB / 0.4911 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6205, allocations: 0 / 0.4911 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.6206, allocations: 23.94 kB / 0.4912 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.6207, allocations: 8 kB / 0.4912 GB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001038/0.6208, allocations: 109 kB / 0.4913 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.6208, allocations: 11.81 kB / 0.4913 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.6209, allocations: 8.906 kB / 0.4913 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6209, allocations: 7.984 kB / 0.4913 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6209, allocations: 0 / 0.4913 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6209, allocations: 3.938 kB / 0.4913 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.6215, allocations: 362.4 kB / 0.4916 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6216, allocations: 4 kB / 0.4916 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.6217, allocations: 11.98 kB / 0.4917 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6218, allocations: 0 / 0.4917 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6218, allocations: 4 kB / 0.4917 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.6218, allocations: 0 / 0.4917 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.6218, allocations: 7.953 kB / 0.4917 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.6222, allocations: 203.4 kB / 0.4919 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.6223, allocations: 88.94 kB / 0.4919 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.6223, allocations: 4.031 kB / 0.492 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.6227, allocations: 19.98 kB / 0.492 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.6228, allocations: 15.97 kB / 0.492 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.6229, allocations: 7.953 kB / 0.492 GB, free: 12.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.623, allocations: 114.5 kB / 0.4921 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6231, allocations: 0 / 0.4921 GB, free: 12.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00035/0.6234, allocations: 20 kB / 0.4921 GB, free: 12.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007225/0.6242, allocations: 0.7282 MB / 0.4928 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.6244, allocations: 51.92 kB / 0.4929 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6244, allocations: 4.125 kB / 0.4929 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.6245, allocations: 28 kB / 0.4929 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.6249, allocations: 15.67 kB / 0.4929 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.6256, allocations: 188.8 kB / 0.4931 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.626, allocations: 0.7043 MB / 0.4938 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.6261, allocations: 12.56 kB / 0.4938 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.6262, allocations: 35.36 kB / 0.4938 GB, free: 10.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6262, allocations: 0 / 0.4938 GB, free: 10.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.6517, allocations: 2.172 MB / 0.496 GB, free: 8.633 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/0.6521, allocations: 146.2 kB / 0.4961 GB, free: 8.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.156, allocations: 0 / 0.4961 GB, free: 8.41 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat does not exist to compare? outputFormat=mat