Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.648e-05, allocations: 4 kB / 347 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3657, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5001, allocations: 87.32 MB / 496.2 MB, free: 3.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.5003, allocations: 67.95 kB / 496.2 MB, free: 3.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01243/0.5127, allocations: 2.904 MB / 499.1 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.5128, allocations: 0 / 499.1 MB, free: 384 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.5128, allocations: 4 kB / 499.1 MB, free: 380 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.0007744/0.5136, allocations: 426.1 kB / 499.5 MB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5137, allocations: 12.03 kB / 499.6 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.5137, allocations: 7.906 kB / 499.6 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.5141, allocations: 204.5 kB / 499.8 MB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.5142, allocations: 16 kB / 499.8 MB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.5142, allocations: 4 kB / 499.8 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.5144, allocations: 85.45 kB / 499.9 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5144, allocations: 3.984 kB / 499.9 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.5145, allocations: 8 kB / 499.9 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.5145, allocations: 0 / 499.9 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.5146, allocations: 32 kB / 499.9 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.5154, allocations: 384.5 kB / 0.4886 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.5155, allocations: 46.58 kB / 0.4886 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.5156, allocations: 25.02 kB / 0.4886 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.5156, allocations: 0 / 0.4886 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.5158, allocations: 71.44 kB / 0.4887 GB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.557e-06/0.5158, allocations: 3.938 kB / 0.4887 GB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002259/0.5161, allocations: 77.5 kB / 0.4888 GB, free: 14.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.5161, allocations: 51.41 kB / 0.4888 GB, free: 14.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.5163, allocations: 137.2 kB / 0.489 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.5164, allocations: 29.7 kB / 0.489 GB, free: 14.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.5165, allocations: 170.7 kB / 0.4891 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.5165, allocations: 27.78 kB / 0.4892 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.5165, allocations: 4 kB / 0.4892 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5167, allocations: 310.8 kB / 0.4895 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.5168, allocations: 20 kB / 0.4895 GB, free: 14.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.5169, allocations: 37.7 kB / 0.4895 GB, free: 14.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.5169, allocations: 23.94 kB / 0.4896 GB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.517, allocations: 0 / 0.4896 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.5172, allocations: 77.62 kB / 0.4896 GB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5172, allocations: 4 kB / 0.4896 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.366e-06/0.5172, allocations: 0 / 0.4896 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5172, allocations: 0 / 0.4896 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.5174, allocations: 19.98 kB / 0.4896 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.484e-06/0.5174, allocations: 0 / 0.4896 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.5175, allocations: 23.92 kB / 0.4897 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.5176, allocations: 11.95 kB / 0.4897 GB, free: 13.85 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 9.382e-05/0.5177, allocations: 105 kB / 0.4898 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.5177, allocations: 7.906 kB / 0.4898 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.5178, allocations: 20.61 kB / 0.4898 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.483e-06/0.5178, allocations: 7.875 kB / 0.4898 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.634e-06/0.5178, allocations: 4 kB / 0.4898 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-06/0.5178, allocations: 0 / 0.4898 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.5183, allocations: 358.5 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5183, allocations: 288 / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5185, allocations: 11.98 kB / 0.4902 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.5185, allocations: 4 kB / 0.4902 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5185, allocations: 3.938 kB / 0.4902 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.372e-06/0.5185, allocations: 0 / 0.4902 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.67e-06/0.5185, allocations: 4 kB / 0.4902 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.5189, allocations: 199.3 kB / 0.4904 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.519, allocations: 89.05 kB / 0.4905 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.519, allocations: 0 / 0.4905 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.5192, allocations: 28.03 kB / 0.4905 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.5193, allocations: 15.98 kB / 0.4905 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5193, allocations: 4 kB / 0.4905 GB, free: 12.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.5194, allocations: 114 kB / 0.4906 GB, free: 12.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.5194, allocations: 0 / 0.4906 GB, free: 12.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000336/0.5198, allocations: 20 kB / 0.4906 GB, free: 12.77 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.0001437/0.5199, allocations: 107.2 kB / 0.4907 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.5201, allocations: 47.94 kB / 0.4908 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.907e-06/0.5201, allocations: 4.062 kB / 0.4908 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-05/0.5202, allocations: 24 kB / 0.4908 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.5205, allocations: 19.67 kB / 0.4908 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.521, allocations: 180.8 kB / 0.491 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.5214, allocations: 0.7004 MB / 0.4917 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.5215, allocations: 15.44 kB / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.288e-06/0.5215, allocations: 0 / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of Templates: time 0.003425/0.5249, allocations: 1.298 MB / 0.493 GB, free: 10.32 MB / 426.7 MB