Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ResetHoldIntegrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ResetHoldIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.607/2.607, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.963e-05/5.972e-05, allocations: 8 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6738, allocations: 86.99 MB / 497.4 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.6742, allocations: 67.95 kB / 497.4 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006984/0.6812, allocations: 1.632 MB / 499.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6812, allocations: 4 kB / 499.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.6812, allocations: 0 / 499.1 MB, free: 15.27 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005487/0.6818, allocations: 370.3 kB / 499.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6819, allocations: 8.031 kB / 499.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.6819, allocations: 42.55 kB / 499.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.682, allocations: 11.91 kB / 499.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.6822, allocations: 187.5 kB / 499.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.6823, allocations: 11.98 kB / 499.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.6823, allocations: 11.95 kB / 499.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.6825, allocations: 69.67 kB / 499.8 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6825, allocations: 0 / 499.8 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.6826, allocations: 11.98 kB / 499.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6826, allocations: 0 / 499.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.6827, allocations: 30.84 kB / 499.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.6835, allocations: 360.5 kB / 0.4884 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.6836, allocations: 46.58 kB / 0.4885 GB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.6837, allocations: 13.02 kB / 0.4885 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6837, allocations: 8 kB / 0.4885 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.6839, allocations: 67.38 kB / 0.4886 GB, free: 13.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.6839, allocations: 0 / 0.4886 GB, free: 13.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002647/0.6842, allocations: 73.58 kB / 0.4886 GB, free: 13.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.6842, allocations: 55.36 kB / 0.4887 GB, free: 13.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.6844, allocations: 132.9 kB / 0.4888 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.6844, allocations: 25.7 kB / 0.4888 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.6845, allocations: 104.1 kB / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.6845, allocations: 15.81 kB / 0.4889 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.6846, allocations: 0 / 0.4889 GB, free: 13.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6847, allocations: 322.8 kB / 0.4893 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.6848, allocations: 12 kB / 0.4893 GB, free: 13.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.6849, allocations: 38.52 kB / 0.4893 GB, free: 13.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/0.6849, allocations: 21.03 kB / 0.4893 GB, free: 13.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6849, allocations: 4 kB / 0.4893 GB, free: 13.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001943/0.6852, allocations: 93.42 kB / 0.4894 GB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6852, allocations: 4 kB / 0.4894 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6852, allocations: 0 / 0.4894 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6852, allocations: 4 kB / 0.4894 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.6853, allocations: 7.984 kB / 0.4894 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.6854, allocations: 4 kB / 0.4894 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.6855, allocations: 16.25 kB / 0.4894 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.6855, allocations: 8.062 kB / 0.4895 GB, free: 12.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u) * 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 8.948e-05/0.6856, allocations: 119.2 kB / 0.4896 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.6856, allocations: 11.91 kB / 0.4896 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.6857, allocations: 12.61 kB / 0.4896 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.6857, allocations: 4 kB / 0.4896 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6857, allocations: 0 / 0.4896 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6857, allocations: 0 / 0.4896 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.6862, allocations: 334.5 kB / 0.4899 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6862, allocations: 8 kB / 0.4899 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.6863, allocations: 0 / 0.4899 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.6863, allocations: 7.938 kB / 0.4899 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.6864, allocations: 0 / 0.4899 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6864, allocations: 0 / 0.4899 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6864, allocations: 3.953 kB / 0.4899 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.6867, allocations: 191.4 kB / 0.4901 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.6868, allocations: 85.05 kB / 0.4902 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.6868, allocations: 4.062 kB / 0.4902 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.6869, allocations: 15.98 kB / 0.4902 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.687, allocations: 15.92 kB / 0.4902 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.6871, allocations: 4 kB / 0.4902 GB, free: 11.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.326e-05/0.6872, allocations: 103.3 kB / 0.4903 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6872, allocations: 0 / 0.4903 GB, free: 11.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.6875, allocations: 20.19 kB / 0.4904 GB, free: 11.87 MB / 410.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 (fallingEdge.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_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.0006318/0.6881, allocations: 0.7247 MB / 0.4911 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.6883, allocations: 51.86 kB / 0.4911 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6884, allocations: 0 / 0.4911 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.6884, allocations: 16 kB / 0.4911 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.6888, allocations: 19.89 kB / 0.4911 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.6896, allocations: 200.9 kB / 0.4913 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.69, allocations: 0.6965 MB / 0.492 GB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.061e-05/0.6901, allocations: 8.422 kB / 0.492 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.6902, allocations: 31.42 kB / 0.4921 GB, free: 10.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6902, allocations: 4 kB / 0.4921 GB, free: 10.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.7167, allocations: 1.878 MB / 0.4939 GB, free: 8.234 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.7171, allocations: 148 kB / 0.494 GB, free: 8.008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.134, allocations: 0 / 0.494 GB, free: 8.008 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat does not exist to compare? outputFormat=mat